Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 303.7 MB, free: 8.18 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.001039/0.001039, allocations: 182.2 kB / 372.3 MB, free: 10.09 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.847/1.847, allocations: 205.4 MB / 0.631 GB, free: 9.824 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.0008689/0.0008688, allocations: 102.9 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 12.47 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 115.3 MB / 0.9801 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01093/0.2436, allocations: 13.23 MB / 0.9931 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.2558, allocations: 9.698 MB / 1.003 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2575, allocations: 51.62 kB / 1.003 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009383/0.2584, allocations: 281.8 kB / 1.003 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.2634, allocations: 1.527 MB / 1.004 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.2653, allocations: 0.5636 MB / 1.005 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.2691, allocations: 2.925 MB / 1.008 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/0.2725, allocations: 1.953 MB / 1.01 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.2747, allocations: 1.289 MB / 1.011 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2761, allocations: 1.051 MB / 1.012 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.2763, allocations: 68 kB / 1.012 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2779, allocations: 0.8226 MB / 1.013 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000473/0.2784, allocations: 0.4944 MB / 1.013 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009357/0.2794, allocations: 0.8139 MB / 1.014 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.2822, allocations: 2.143 MB / 1.016 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.2822, allocations: 0 / 1.016 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.889e-06/0.2823, allocations: 0 / 1.016 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.541e-05/0.2824, allocations: 0 / 1.016 GB, free: 6.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004802/0.2872, allocations: 1.842 MB / 1.018 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.2873, allocations: 8.031 kB / 1.018 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.2989, allocations: 2.175 MB / 1.02 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.3017, allocations: 1.217 MB / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.3018, allocations: 82.69 kB / 1.021 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.3021, allocations: 120.1 kB / 1.021 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005717/0.3078, allocations: 2.694 MB / 1.024 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3079, allocations: 7.938 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.308, allocations: 51.98 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006271/0.3087, allocations: 194.1 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007484/0.3162, allocations: 2.83 MB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.3311, allocations: 10.57 MB / 1.037 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006605/0.3378, allocations: 2.379 MB / 1.04 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.3409, allocations: 1.292 MB / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.716e-05/0.341, allocations: 13 kB / 1.041 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.341, allocations: 51.55 kB / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 2.775e-06/0.3411, allocations: 0 / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.0578/0.3989, allocations: 16.52 MB / 1.057 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.399, allocations: 68.72 kB / 1.057 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.4009, allocations: 1.16 MB / 1.058 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.4011, allocations: 49.7 kB / 1.058 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/0.4017, allocations: 0.7436 MB / 1.059 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.4023, allocations: 0.5121 MB / 1.06 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4024, allocations: 32 kB / 1.06 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4026, allocations: 369.8 kB / 1.06 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.4062, allocations: 1.522 MB / 1.062 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/0.4099, allocations: 1.811 MB / 1.063 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/0.4173, allocations: 3.397 MB / 1.067 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.4174, allocations: 4 kB / 1.067 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.5626/0.98, allocations: 5.295 MB / 1.072 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/0.9801, allocations: 7.922 kB / 1.072 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.9801, allocations: 7.188 kB / 1.072 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.9909, allocations: 1.893 MB / 1.074 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.9932, allocations: 425.4 kB / 1.074 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02714/1.02, allocations: 22.14 MB / 1.096 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/1.023, allocations: 318.5 kB / 1.096 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/1.023, allocations: 66.53 kB / 1.096 GB, free: 69.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000871/1.024, allocations: 466.8 kB / 1.097 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.025, allocations: 175.2 kB / 1.097 GB, free: 68.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.038, allocations: 5.351 MB / 1.102 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.038, allocations: 14.25 kB / 1.102 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/1.038, allocations: 18.69 kB / 1.102 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.038, allocations: 12.23 kB / 1.102 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.054, allocations: 7.452 MB / 1.109 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.054, allocations: 3.656 kB / 1.109 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.055, allocations: 368.9 kB / 1.11 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006204/1.062, allocations: 1.695 MB / 1.111 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.062, allocations: 46.8 kB / 1.111 GB, free: 62.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/1.086, allocations: 21.35 MB / 1.132 GB, free: 45.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/1.086, allocations: 7.031 kB / 1.132 GB, free: 45.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.099, allocations: 4.916 MB / 1.137 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.1, allocations: 498.2 kB / 1.137 GB, free: 42.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/1.1, allocations: 27.5 kB / 1.137 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.102, allocations: 331.6 kB / 1.138 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/1.103, allocations: 145.2 kB / 1.138 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.103, allocations: 58.44 kB / 1.138 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009781/1.104, allocations: 0.7807 MB / 1.139 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.139 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002272/1.106, allocations: 0.6531 MB / 1.139 GB, free: 41.45 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000294/1.106, allocations: 149.4 kB / 1.139 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.117, allocations: 5.185 MB / 1.145 GB, free: 36.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.117, allocations: 480 / 1.145 GB, free: 36.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006598/1.123, allocations: 3.369 MB / 1.148 GB, free: 32.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/1.127, allocations: 0.5108 MB / 1.148 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/1.134, allocations: 4.862 MB / 1.153 GB, free: 27.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/1.135, allocations: 1.564 MB / 1.155 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001671/1.137, allocations: 382.4 kB / 1.155 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/1.137, allocations: 111.4 kB / 1.155 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.137, allocations: 0 / 1.155 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.06099/1.198, allocations: 41.76 MB / 1.196 GB, free: 15.97 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)