Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 176.9 kB / 361.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 93.45 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.84e-05, allocations: 4 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6149, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.8304, allocations: 191 MB / 1.151 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.8308, allocations: 99.23 kB / 1.151 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1701/1.001, allocations: 63.44 MB / 1.213 GB, free: 12.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.001, allocations: 0 / 1.213 GB, free: 12.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.093e-05/1.001, allocations: 32 kB / 1.213 GB, free: 12.77 MB / 0.823 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.002837/1.004, allocations: 1.561 MB / 1.215 GB, free: 11.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.004, allocations: 8.031 kB / 1.215 GB, free: 11.15 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/1.006, allocations: 498.5 kB / 1.215 GB, free: 10.66 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/1.008, allocations: 1.159 MB / 1.216 GB, free: 9.461 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/1.008, allocations: 48 kB / 1.216 GB, free: 9.414 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/1.009, allocations: 88 kB / 1.216 GB, free: 9.328 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00281/1.011, allocations: 1.767 MB / 1.218 GB, free: 7.559 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.015, allocations: 2.214 MB / 1.22 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/1.015, allocations: 3.938 kB / 1.22 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.015, allocations: 4 kB / 1.22 GB, free: 5.273 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/1.015, allocations: 83.06 kB / 1.22 GB, free: 5.191 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/1.026, allocations: 10.12 MB / 1.23 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/1.027, allocations: 0.5492 MB / 1.231 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/1.027, allocations: 364.5 kB / 1.231 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/1.027, allocations: 92.08 kB / 1.231 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/1.028, allocations: 34.56 kB / 1.231 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/1.028, allocations: 4 kB / 1.231 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.00799/1.036, allocations: 3.151 MB / 1.234 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.036, allocations: 85.53 kB / 1.234 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/1.037, allocations: 0.7219 MB / 1.235 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/1.037, allocations: 25.7 kB / 1.235 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/1.037, allocations: 0.7615 MB / 1.236 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/1.037, allocations: 181.4 kB / 1.236 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/1.037, allocations: 4 kB / 1.236 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.038, allocations: 382.8 kB / 1.236 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/1.038, allocations: 0.5765 MB / 1.237 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.039, allocations: 0.9339 MB / 1.238 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.041, allocations: 0.8411 MB / 1.239 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.041, allocations: 4 kB / 1.239 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006139/1.047, allocations: 2.586 MB / 1.241 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001633/1.048, allocations: 4.521 MB / 1.246 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.048, allocations: 12.06 kB / 1.246 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004284/1.053, allocations: 1.092 MB / 1.247 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/1.054, allocations: 223.6 kB / 1.247 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/1.062, allocations: 6.534 MB / 1.253 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.063, allocations: 147.6 kB / 1.253 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/1.063, allocations: 44 kB / 1.253 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/1.063, allocations: 5.25 kB / 1.253 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/1.065, allocations: 1.275 MB / 1.255 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.065, allocations: 12.03 kB / 1.255 GB, free: 136 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.065, allocations: 20 kB / 1.255 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4315/1.497, allocations: 277 kB / 1.255 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-05/1.497, allocations: 24.53 kB / 1.255 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/1.498, allocations: 101.6 kB / 1.255 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/1.498, allocations: 43.27 kB / 1.255 GB, free: 214.8 MB / 0.8542 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 () * 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.0002512/1.498, allocations: 135.4 kB / 1.255 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/1.498, allocations: 79.55 kB / 1.255 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006286/1.504, allocations: 2.263 MB / 1.258 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.504, allocations: 6.625 kB / 1.258 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.504, allocations: 1.875 kB / 1.258 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.504, allocations: 4.391 kB / 1.258 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008054/1.513, allocations: 3.886 MB / 1.261 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.513, allocations: 2.688 kB / 1.261 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/1.513, allocations: 102.6 kB / 1.261 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004355/1.517, allocations: 1.352 MB / 1.263 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/1.517, allocations: 2.875 kB / 1.263 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009087/1.527, allocations: 9.104 MB / 1.272 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.527, allocations: 4.656 kB / 1.272 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/1.532, allocations: 2.335 MB / 1.274 GB, free: 209 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/1.532, allocations: 272.1 kB / 1.274 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.533, allocations: 7.344 kB / 1.274 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/1.534, allocations: 158 kB / 1.274 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/1.534, allocations: 48.22 kB / 1.274 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/1.534, allocations: 15.88 kB / 1.274 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000979/1.535, allocations: 0.5578 MB / 1.275 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.535, allocations: 1.859 kB / 1.275 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002203/1.537, allocations: 0.5463 MB / 1.275 GB, free: 208.8 MB / 0.8542 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 () * 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.0004003/1.538, allocations: 175.5 kB / 1.276 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003628/1.541, allocations: 2.352 MB / 1.278 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.541, allocations: 4.344 kB / 1.278 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.543, allocations: 1.182 MB / 1.279 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/1.544, allocations: 184.5 kB / 1.279 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/1.548, allocations: 2.358 MB / 1.282 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.549, allocations: 1.642 MB / 1.283 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001571/1.551, allocations: 0.5855 MB / 1.284 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.551, allocations: 50.05 kB / 1.284 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/1.551, allocations: 5.031 kB / 1.284 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.03119/1.582, allocations: 19.07 MB / 1.302 GB, free: 206.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)