Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.881/2.881, allocations: 287.5 MB / 302.5 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 173.1 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.28 kB / 0.743 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004924, allocations: 16.39 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.293, allocations: 191.6 MB / 1.166 GB, free: 8.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.294, allocations: 102 kB / 1.166 GB, free: 8.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2657/1.56, allocations: 64.03 MB / 1.228 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.552e-06/1.56, allocations: 0 / 1.228 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000136/1.56, allocations: 35.94 kB / 1.228 GB, free: 1.926 MB / 0.7448 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.006445/1.566, allocations: 1.664 MB / 1.23 GB, free: 316 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.566, allocations: 12.02 kB / 1.23 GB, free: 304 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00467/1.571, allocations: 499.6 kB / 1.23 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/1.575, allocations: 1.156 MB / 1.231 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/1.575, allocations: 113.5 kB / 1.232 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007079/1.576, allocations: 153.2 kB / 1.232 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/1.584, allocations: 2.478 MB / 1.234 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/1.584, allocations: 11.83 kB / 1.234 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/1.584, allocations: 62.56 kB / 1.234 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/1.585, allocations: 89.81 kB / 1.234 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/1.591, allocations: 2.038 MB / 1.236 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/1.614, allocations: 10.51 MB / 1.246 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/1.616, allocations: 0.5841 MB / 1.247 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/1.617, allocations: 89.09 kB / 1.247 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.617, allocations: 38.56 kB / 1.247 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/1.617, allocations: 0 / 1.247 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.03231/1.649, allocations: 5.713 MB / 1.253 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/1.649, allocations: 81.55 kB / 1.253 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.651, allocations: 0.8117 MB / 1.254 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/1.651, allocations: 37.7 kB / 1.254 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/1.652, allocations: 0.7577 MB / 1.254 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/1.653, allocations: 185.4 kB / 1.255 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/1.653, allocations: 20 kB / 1.255 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002977/1.653, allocations: 398.7 kB / 1.255 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.655, allocations: 0.6343 MB / 1.256 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/1.657, allocations: 1.011 MB / 1.257 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/1.66, allocations: 0.8062 MB / 1.257 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.66, allocations: 8 kB / 1.257 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0137/1.674, allocations: 2.94 MB / 1.26 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002346/1.676, allocations: 4.537 MB / 1.265 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/1.676, allocations: 8 kB / 1.265 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/1.688, allocations: 1.56 MB / 1.266 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.689, allocations: 227.5 kB / 1.266 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.705, allocations: 7.116 MB / 1.273 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.707, allocations: 159.7 kB / 1.274 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.707, allocations: 47.98 kB / 1.274 GB, free: 3.051 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.707, allocations: 4 kB / 1.274 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/1.718, allocations: 2.403 MB / 1.276 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/1.718, allocations: 12 kB / 1.276 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007555/1.726, allocations: 0.9967 MB / 1.277 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.728, allocations: 263.6 kB / 1.277 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/1.741, allocations: 5.595 MB / 1.283 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.743, allocations: 139.8 kB / 1.283 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.743, allocations: 43.98 kB / 1.283 GB, free: 9.32 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002032/1.745, allocations: 0.8362 MB / 1.284 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/1.745, allocations: 79.06 kB / 1.284 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.757, allocations: 2.473 MB / 1.286 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.757, allocations: 8 kB / 1.286 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.757, allocations: 0 / 1.286 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.757, allocations: 0 / 1.286 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.774, allocations: 4.298 MB / 1.29 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.774, allocations: 4 kB / 1.29 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/1.775, allocations: 99.86 kB / 1.29 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.786, allocations: 1.509 MB / 1.292 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.786, allocations: 12 kB / 1.292 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.807, allocations: 9.93 MB / 1.302 GB, free: 5.387 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/1.808, allocations: 7.922 kB / 1.302 GB, free: 5.379 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.82, allocations: 2.521 MB / 1.304 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/1.821, allocations: 288 kB / 1.304 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.821, allocations: 12 kB / 1.304 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.822, allocations: 119.8 kB / 1.304 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.823, allocations: 51.64 kB / 1.305 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/1.823, allocations: 16 kB / 1.305 GB, free: 2.258 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001459/1.824, allocations: 0.6434 MB / 1.305 GB, free: 1.621 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.71e-07/1.824, allocations: 0 / 1.305 GB, free: 1.621 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002985/1.827, allocations: 0.6055 MB / 1.306 GB, free: 1.016 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004821/1.828, allocations: 179.3 kB / 1.306 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009684/1.837, allocations: 3.081 MB / 1.309 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.838, allocations: 0 / 1.309 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.841, allocations: 1.288 MB / 1.31 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.843, allocations: 204.7 kB / 1.31 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.854, allocations: 3.534 MB / 1.314 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/1.859, allocations: 1.645 MB / 1.315 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003681/1.863, allocations: 490.4 kB / 1.316 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/1.863, allocations: 59.42 kB / 1.316 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of SimCode: time 1.263e-06/1.863, allocations: 0 / 1.316 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of Templates: time 0.08956/1.953, allocations: 22.28 MB / 1.338 GB, free: 180 kB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)