Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.78/1.78, allocations: 287.5 MB / 302.6 MB, free: 8.328 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.0009059/0.000906, allocations: 182.7 kB / 371.2 MB, free: 10.84 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.6/1.6, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008827, allocations: 92.36 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 11.55 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02817/0.2916, allocations: 31.92 MB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.3102, allocations: 9.55 MB / 1.019 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/0.3147, allocations: 127.2 kB / 1.019 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.3181, allocations: 0.6782 MB / 1.02 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.3254, allocations: 1.636 MB / 1.022 GB, free: 156 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.3311, allocations: 1.151 MB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01277/0.3439, allocations: 8.932 MB / 1.031 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02138/0.3653, allocations: 11.98 MB / 1.043 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.3711, allocations: 2.432 MB / 1.046 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005897/0.377, allocations: 3.13 MB / 1.049 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.3781, allocations: 280 kB / 1.049 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.381, allocations: 0.6478 MB / 1.049 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/0.3838, allocations: 2.085 MB / 1.051 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.3859, allocations: 1.027 MB / 1.052 GB, free: 340 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.3968, allocations: 8.559 MB / 1.061 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3969, allocations: 4 kB / 1.061 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3969, allocations: 0 / 1.061 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004233/0.3973, allocations: 0 / 1.061 GB, free: 7.746 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0113/0.4086, allocations: 4.36 MB / 1.065 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4087, allocations: 8.031 kB / 1.065 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.4141, allocations: 0.9704 MB / 1.066 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5487/0.9628, allocations: 2.989 MB / 1.069 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.9634, allocations: 359.3 kB / 1.069 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/0.9653, allocations: 462.8 kB / 1.07 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.9857, allocations: 7.873 MB / 1.077 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.9859, allocations: 21.8 kB / 1.077 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005925/0.9865, allocations: 211.5 kB / 1.078 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008231/0.9874, allocations: 370 kB / 1.078 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.004, allocations: 5.898 MB / 1.084 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04742/1.052, allocations: 36.27 MB / 1.119 GB, free: 44.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/1.055, allocations: 2.136 MB / 1.121 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/1.057, allocations: 1.477 MB / 1.123 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/1.057, allocations: 17.12 kB / 1.123 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.058, allocations: 53.16 kB / 1.123 GB, free: 42.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.338e-06/1.058, allocations: 0 / 1.123 GB, free: 42.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01873/1.076, allocations: 7.558 MB / 1.13 GB, free: 37.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.076, allocations: 72.91 kB / 1.13 GB, free: 37.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/1.081, allocations: 1.842 MB / 1.132 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/1.081, allocations: 60.48 kB / 1.132 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.083, allocations: 2.126 MB / 1.134 GB, free: 34.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006298/1.083, allocations: 0.5538 MB / 1.135 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.084, allocations: 40.62 kB / 1.135 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.084, allocations: 393 kB / 1.135 GB, free: 33.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.086, allocations: 1.054 MB / 1.136 GB, free: 33.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/1.088, allocations: 1.756 MB / 1.138 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/1.093, allocations: 3.032 MB / 1.141 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.45e-05/1.093, allocations: 7.438 kB / 1.141 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00731/1.1, allocations: 3.903 MB / 1.145 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/1.101, allocations: 13.34 kB / 1.145 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/1.101, allocations: 26.89 kB / 1.145 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/1.103, allocations: 0.9364 MB / 1.146 GB, free: 26.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.104, allocations: 420.8 kB / 1.146 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/1.121, allocations: 21.08 MB / 1.167 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/1.124, allocations: 119.9 kB / 1.167 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/1.124, allocations: 96 kB / 1.167 GB, free: 4.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004225/1.128, allocations: 1.647 MB / 1.168 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009569/1.129, allocations: 264.9 kB / 1.169 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/1.135, allocations: 3.249 MB / 1.172 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/1.135, allocations: 16 kB / 1.172 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-05/1.135, allocations: 8 kB / 1.172 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/1.135, allocations: 7.969 kB / 1.172 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.152, allocations: 7.539 MB / 1.179 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.152, allocations: 4 kB / 1.179 GB, free: 7.676 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/1.153, allocations: 223.5 kB / 1.179 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/1.156, allocations: 0.892 MB / 1.18 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.156, allocations: 32 kB / 1.18 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.176, allocations: 21.03 MB / 1.201 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.176, allocations: 7.938 kB / 1.201 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/1.182, allocations: 3.377 MB / 1.204 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.183, allocations: 0.5292 MB / 1.205 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.183, allocations: 32 kB / 1.205 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.185, allocations: 91.89 kB / 1.205 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/1.185, allocations: 144.9 kB / 1.205 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.185, allocations: 44 kB / 1.205 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001863/1.187, allocations: 1.205 MB / 1.206 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.187, allocations: 4 kB / 1.206 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003546/1.191, allocations: 0.9023 MB / 1.207 GB, free: 9.418 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/1.191, allocations: 155 kB / 1.207 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006944/1.198, allocations: 4.411 MB / 1.212 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.198, allocations: 4 kB / 1.212 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004497/1.202, allocations: 2.997 MB / 1.214 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/1.208, allocations: 0.7583 MB / 1.215 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.226, allocations: 9.238 MB / 1.224 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/1.229, allocations: 3.211 MB / 1.227 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002344/1.232, allocations: 0.5293 MB / 1.228 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/1.232, allocations: 139.4 kB / 1.228 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/1.232, allocations: 0 / 1.228 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.07568/1.308, allocations: 39.72 MB / 1.267 GB, free: 12.41 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)