Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 191.1 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03102/0.3896, allocations: 26.44 MB / 1.093 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4058, allocations: 8.071 MB / 1.101 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.4095, allocations: 107.4 kB / 1.101 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007555/0.4171, allocations: 2.572 MB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.4231, allocations: 1.489 MB / 1.105 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.4288, allocations: 1.536 MB / 1.107 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.4414, allocations: 8.7 MB / 1.115 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/0.4555, allocations: 8.204 MB / 1.123 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.4602, allocations: 2.187 MB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005241/0.4654, allocations: 2.885 MB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001668/0.4671, allocations: 344 kB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4714, allocations: 1.334 MB / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.4752, allocations: 1.879 MB / 1.132 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.4805, allocations: 2.185 MB / 1.134 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4912, allocations: 7.922 MB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4913, allocations: 0 / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4913, allocations: 3.938 kB / 1.142 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003064/0.4916, allocations: 0 / 1.142 GB, free: 14.81 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01327/0.5049, allocations: 4.22 MB / 1.146 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5049, allocations: 11.97 kB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.5103, allocations: 0.8078 MB / 1.147 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005826/0.5161, allocations: 2.421 MB / 1.149 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.5165, allocations: 271.6 kB / 1.149 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.5181, allocations: 384.5 kB / 1.15 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.533, allocations: 5.992 MB / 1.155 GB, free: 344 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.5332, allocations: 19.78 kB / 1.155 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.5343, allocations: 160 kB / 1.156 GB, free: 164 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00069/0.5351, allocations: 282.9 kB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009849/0.5449, allocations: 4.524 MB / 1.16 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0355/0.5805, allocations: 27.66 MB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5823, allocations: 1.113 MB / 1.188 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.5838, allocations: 1.019 MB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.5839, allocations: 9 kB / 1.189 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.584, allocations: 51.56 kB / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.336e-06/0.584, allocations: 0 / 1.189 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02305/0.607, allocations: 9.677 MB / 1.199 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.6072, allocations: 64.72 kB / 1.199 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.61, allocations: 1.494 MB / 1.2 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.6102, allocations: 53.7 kB / 1.2 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.6115, allocations: 1.663 MB / 1.202 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.6121, allocations: 477.2 kB / 1.202 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.6127, allocations: 327.2 kB / 1.203 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6129, allocations: 309.1 kB / 1.203 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.6144, allocations: 0.9135 MB / 1.204 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.6163, allocations: 1.467 MB / 1.205 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/0.6199, allocations: 2.542 MB / 1.208 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.62, allocations: 4 kB / 1.208 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006358/0.6263, allocations: 3.294 MB / 1.211 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.6264, allocations: 14.34 kB / 1.211 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.6264, allocations: 16 kB / 1.211 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.6289, allocations: 0.7375 MB / 1.212 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.6305, allocations: 391.3 kB / 1.212 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.6464, allocations: 15.77 MB / 1.228 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.6482, allocations: 103.8 kB / 1.228 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/0.6486, allocations: 72 kB / 1.228 GB, free: 1.617 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002526/0.6511, allocations: 1.31 MB / 1.229 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005701/0.6517, allocations: 201.6 kB / 1.229 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/0.6572, allocations: 2.788 MB / 1.232 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6573, allocations: 12 kB / 1.232 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/0.6573, allocations: 8 kB / 1.232 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.6573, allocations: 7.969 kB / 1.232 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.6693, allocations: 6.221 MB / 1.238 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.6694, allocations: 8 kB / 1.238 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.6706, allocations: 231.6 kB / 1.238 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/0.6727, allocations: 0.6712 MB / 1.239 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.6729, allocations: 32 kB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6573/1.33, allocations: 15.5 MB / 1.254 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/1.33, allocations: 10.12 kB / 1.254 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006564/1.337, allocations: 4.004 MB / 1.258 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.338, allocations: 456.2 kB / 1.258 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/1.338, allocations: 40.48 kB / 1.259 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.34, allocations: 81.36 kB / 1.259 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.34, allocations: 114.8 kB / 1.259 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/1.34, allocations: 41.06 kB / 1.259 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001448/1.341, allocations: 0.9926 MB / 1.26 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.342, allocations: 1.875 kB / 1.26 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002536/1.344, allocations: 0.6853 MB / 1.26 GB, free: 156.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/1.344, allocations: 153.1 kB / 1.261 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005109/1.349, allocations: 3.508 MB / 1.264 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.349, allocations: 4.094 kB / 1.264 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/1.353, allocations: 2.288 MB / 1.266 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.356, allocations: 0.6128 MB / 1.267 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.37, allocations: 8.115 MB / 1.275 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/1.373, allocations: 2.672 MB / 1.277 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002038/1.375, allocations: 488.8 kB / 1.278 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/1.376, allocations: 117.7 kB / 1.278 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.376, allocations: 4 kB / 1.278 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.05649/1.432, allocations: 32.58 MB / 1.31 GB, free: 135.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)