Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008746, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006821/0.006821, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005603, allocations: 17.78 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2952, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01862/0.3138, allocations: 11.28 MB / 0.7989 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3259, allocations: 5.28 MB / 0.8041 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.3273, allocations: 31.88 kB / 0.8041 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3287, allocations: 314.1 kB / 0.8044 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.3308, allocations: 0.5798 MB / 0.805 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.3331, allocations: 0.6394 MB / 0.8056 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005391/0.3385, allocations: 3.589 MB / 0.8091 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008722/0.3473, allocations: 4.108 MB / 0.8131 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.3498, allocations: 0.7667 MB / 0.8139 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.353, allocations: 1.028 MB / 0.8149 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.3535, allocations: 88 kB / 0.8149 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3552, allocations: 439.2 kB / 0.8154 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3564, allocations: 0.7209 MB / 0.8161 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.3579, allocations: 0.8142 MB / 0.8169 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.3625, allocations: 3.361 MB / 0.8201 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3625, allocations: 0 / 0.8201 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3625, allocations: 4 kB / 0.8201 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.018e-05/0.3626, allocations: 0 / 0.8201 GB, free: 10.39 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004895/0.3675, allocations: 1.601 MB / 0.8217 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.3676, allocations: 8.031 kB / 0.8217 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.3714, allocations: 454.5 kB / 0.8221 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.3744, allocations: 1.097 MB / 0.8232 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.3745, allocations: 111.5 kB / 0.8233 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004322/0.3749, allocations: 160.1 kB / 0.8235 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.3825, allocations: 2.739 MB / 0.8262 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.461e-05/0.3826, allocations: 3.906 kB / 0.8262 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.383, allocations: 67.98 kB / 0.8262 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004419/0.3834, allocations: 150.9 kB / 0.8264 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006507/0.39, allocations: 2.284 MB / 0.8286 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.4094, allocations: 10.45 MB / 0.8388 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4107, allocations: 0.5647 MB / 0.8394 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.4113, allocations: 384.6 kB / 0.8397 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4114, allocations: 89.05 kB / 0.8398 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4115, allocations: 42.48 kB / 0.8398 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 3.206e-06/0.4115, allocations: 0 / 0.8398 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.02091/0.4324, allocations: 5.753 MB / 0.8455 GB, free: 15.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.4325, allocations: 63.78 kB / 0.8455 GB, free: 15.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.434, allocations: 0.8711 MB / 0.8464 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.4341, allocations: 37.7 kB / 0.8464 GB, free: 14.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.4348, allocations: 0.7615 MB / 0.8472 GB, free: 13.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.4351, allocations: 185.4 kB / 0.8473 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4352, allocations: 77.67 kB / 0.8474 GB, free: 13.26 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4354, allocations: 394.8 kB / 0.8478 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.4365, allocations: 0.6265 MB / 0.8484 GB, free: 12.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.4381, allocations: 0.9865 MB / 0.8494 GB, free: 11.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.4405, allocations: 1.643 MB / 0.851 GB, free: 9.281 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4405, allocations: 4 kB / 0.851 GB, free: 9.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009696/0.4502, allocations: 3.139 MB / 0.854 GB, free: 6.117 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005882/0.4508, allocations: 435 kB / 0.8544 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.4509, allocations: 16 kB / 0.8545 GB, free: 5.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008658/0.4596, allocations: 1.751 MB / 0.8562 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4608, allocations: 219.7 kB / 0.8564 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.4762, allocations: 9.919 MB / 0.8661 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4778, allocations: 163.8 kB / 0.8662 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.478, allocations: 47.98 kB / 0.8663 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.478, allocations: 6.969 kB / 0.8663 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007796/0.4858, allocations: 2.575 MB / 0.8688 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.052e-05/0.4859, allocations: 15.97 kB / 0.8688 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/0.4911, allocations: 1.161 MB / 0.8699 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4923, allocations: 243.6 kB / 0.8702 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/0.5005, allocations: 5.43 MB / 0.8755 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5022, allocations: 135.9 kB / 0.8756 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.5024, allocations: 44 kB / 0.8756 GB, free: 14.99 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001881/0.5043, allocations: 0.8407 MB / 0.8765 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5046, allocations: 79 kB / 0.8765 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/0.5131, allocations: 2.61 MB / 0.8791 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5131, allocations: 4 kB / 0.8791 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5131, allocations: 4 kB / 0.8791 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.5132, allocations: 3.984 kB / 0.8791 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.5254, allocations: 4.515 MB / 0.8835 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.5254, allocations: 8.062 kB / 0.8835 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.5259, allocations: 91.86 kB / 0.8836 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007252/0.5332, allocations: 1.603 MB / 0.8852 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.5333, allocations: 12 kB / 0.8852 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.5465, allocations: 9.465 MB / 0.8944 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5465, allocations: 11.97 kB / 0.8944 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008335/0.5549, allocations: 2.574 MB / 0.897 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.5556, allocations: 279.9 kB / 0.8972 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.5559, allocations: 11.98 kB / 0.8972 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.557, allocations: 127.7 kB / 0.8974 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/0.5573, allocations: 51.92 kB / 0.8974 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.5574, allocations: 16 kB / 0.8974 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001187/0.5586, allocations: 0.6277 MB / 0.898 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5586, allocations: 0 / 0.898 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00277/0.5614, allocations: 0.582 MB / 0.8986 GB, free: 6.707 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.5617, allocations: 127.2 kB / 0.8987 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005752/0.5674, allocations: 3.086 MB / 0.9017 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5675, allocations: 0 / 0.9017 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.5695, allocations: 1.183 MB / 0.9029 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.5711, allocations: 229.7 kB / 0.9031 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/0.5774, allocations: 3.683 MB / 0.9067 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/0.5793, allocations: 1.618 MB / 0.9083 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001448/0.5807, allocations: 494.4 kB / 0.9088 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.581, allocations: 55.42 kB / 0.9088 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.606e-06/0.581, allocations: 0 / 0.9088 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.4862/1.067, allocations: 23.21 MB / 0.9315 GB, free: 125.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: