Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.558/1.558, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001215/0.001215, allocations: 172.8 kB / 366.7 MB, free: 1.656 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.722/1.722, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.000906/0.0009063, allocations: 92.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.663e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6974/0.6974, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.927, allocations: 193 MB / 1.162 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.9273, allocations: 101.2 kB / 1.162 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.173/1.1, allocations: 72.07 MB / 1.232 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.1, allocations: 0 / 1.232 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001426/1.101, allocations: 36 kB / 1.232 GB, free: 12.39 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006343/1.107, allocations: 1.683 MB / 1.234 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/1.107, allocations: 12.03 kB / 1.234 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/1.111, allocations: 0.6573 MB / 1.235 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/1.114, allocations: 1.25 MB / 1.236 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/1.114, allocations: 48 kB / 1.236 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/1.114, allocations: 99.94 kB / 1.236 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003805/1.118, allocations: 1.939 MB / 1.238 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/1.122, allocations: 2.376 MB / 1.24 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/1.122, allocations: 3.938 kB / 1.24 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.123, allocations: 4 kB / 1.24 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.123, allocations: 91.22 kB / 1.24 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/1.135, allocations: 10.52 MB / 1.25 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.137, allocations: 0.7298 MB / 1.251 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/1.137, allocations: 0.4974 MB / 1.252 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/1.137, allocations: 93.47 kB / 1.252 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/1.137, allocations: 38.94 kB / 1.252 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 2.735e-06/1.137, allocations: 4 kB / 1.252 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.01032/1.148, allocations: 4.366 MB / 1.256 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/1.148, allocations: 85.89 kB / 1.256 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.149, allocations: 0.7571 MB / 1.257 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/1.149, allocations: 29.7 kB / 1.257 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/1.149, allocations: 0.7774 MB / 1.258 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/1.15, allocations: 244.4 kB / 1.258 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/1.15, allocations: 0 / 1.258 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.15, allocations: 398.8 kB / 1.258 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4678/1.618, allocations: 0.7332 MB / 1.259 GB, free: 211 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.62, allocations: 1.093 MB / 1.26 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.622, allocations: 1.075 MB / 1.261 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/1.622, allocations: 3.781 kB / 1.261 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.008567/1.631, allocations: 3.243 MB / 1.264 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.632, allocations: 4.272 MB / 1.268 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/1.632, allocations: 10.72 kB / 1.268 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.637, allocations: 1.4 MB / 1.27 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.638, allocations: 227.1 kB / 1.27 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.651, allocations: 7.015 MB / 1.277 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.653, allocations: 170.7 kB / 1.277 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.653, allocations: 46.8 kB / 1.277 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.653, allocations: 7.219 kB / 1.277 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/1.656, allocations: 1.675 MB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/1.656, allocations: 10 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.656, allocations: 18.19 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.658, allocations: 345.2 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.758e-05/1.658, allocations: 27.84 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/1.659, allocations: 118.7 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.659, allocations: 45.67 kB / 1.279 GB, free: 204.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003186/1.659, allocations: 138.8 kB / 1.279 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/1.659, allocations: 86.83 kB / 1.28 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007415/1.667, allocations: 2.995 MB / 1.282 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.667, allocations: 10.44 kB / 1.282 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.667, allocations: 3 kB / 1.282 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.667, allocations: 9.234 kB / 1.282 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.679, allocations: 5.29 MB / 1.288 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.679, allocations: 2.562 kB / 1.288 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/1.68, allocations: 111.5 kB / 1.288 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/1.685, allocations: 1.613 MB / 1.289 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/1.686, allocations: 2.688 kB / 1.289 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.699, allocations: 9.166 MB / 1.298 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/1.699, allocations: 4.797 kB / 1.298 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/1.707, allocations: 2.982 MB / 1.301 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009941/1.708, allocations: 329.5 kB / 1.301 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.708, allocations: 3.031 kB / 1.301 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.709, allocations: 168.5 kB / 1.302 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.71, allocations: 70.56 kB / 1.302 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/1.71, allocations: 23.38 kB / 1.302 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001014/1.711, allocations: 0.587 MB / 1.302 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.711, allocations: 3.5 kB / 1.302 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003177/1.714, allocations: 0.6332 MB / 1.303 GB, free: 197.7 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004197/1.715, allocations: 164.8 kB / 1.303 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005278/1.72, allocations: 2.915 MB / 1.306 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.72, allocations: 1.156 kB / 1.306 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/1.722, allocations: 1.334 MB / 1.307 GB, free: 196 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.724, allocations: 210.4 kB / 1.307 GB, free: 196 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/1.73, allocations: 2.805 MB / 1.31 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.732, allocations: 1.746 MB / 1.312 GB, free: 194 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001798/1.734, allocations: 0.6311 MB / 1.313 GB, free: 194 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.734, allocations: 54.19 kB / 1.313 GB, free: 194 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/1.734, allocations: 0 / 1.313 GB, free: 194 MB / 0.8542 GB Notification: Performance of Templates: time 0.03423/1.768, allocations: 24.33 MB / 1.336 GB, free: 193 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)