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.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 303.7 MB, free: 8.055 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.001009/0.001009, allocations: 177 kB / 372.3 MB, free: 10.12 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.715/1.715, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0008431/0.000843, allocations: 90.36 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 11.69 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02569/0.2449, allocations: 31.92 MB / 1.011 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.2626, allocations: 9.562 MB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004736/0.2674, allocations: 123.2 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.2702, allocations: 0.6782 MB / 1.021 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.2757, allocations: 1.753 MB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.2801, allocations: 1.207 MB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.015/0.2951, allocations: 8.932 MB / 1.033 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02287/0.318, allocations: 11.99 MB / 1.045 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006335/0.3244, allocations: 2.439 MB / 1.047 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006266/0.3307, allocations: 3.122 MB / 1.05 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.3325, allocations: 280 kB / 1.05 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/0.3374, allocations: 1.22 MB / 1.052 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004317/0.3417, allocations: 2.097 MB / 1.054 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006478/0.3482, allocations: 2.417 MB / 1.056 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.3591, allocations: 8.595 MB / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.3592, allocations: 0 / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.626e-06/0.3592, allocations: 0 / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000507/0.3597, allocations: 0 / 1.064 GB, free: 4.699 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.01342/0.3732, allocations: 4.36 MB / 1.069 GB, free: 276 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3732, allocations: 8.031 kB / 1.069 GB, free: 268 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5244/0.8976, allocations: 0.9619 MB / 1.07 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.9049, allocations: 2.993 MB / 1.073 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.9053, allocations: 360.7 kB / 1.073 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.9069, allocations: 465.3 kB / 1.073 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.9248, allocations: 7.866 MB / 1.081 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.9249, allocations: 20.73 kB / 1.081 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004989/0.9255, allocations: 215.2 kB / 1.081 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007029/0.9262, allocations: 369.4 kB / 1.082 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.941, allocations: 5.898 MB / 1.087 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0373/0.9783, allocations: 36.26 MB / 1.123 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.9816, allocations: 2.136 MB / 1.125 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.9839, allocations: 1.482 MB / 1.126 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.546e-05/0.984, allocations: 20.62 kB / 1.126 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.984, allocations: 56.34 kB / 1.126 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 5.04e-06/0.9841, allocations: 0 / 1.126 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01467/0.9987, allocations: 7.55 MB / 1.134 GB, free: 36.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.9988, allocations: 67.12 kB / 1.134 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.002, allocations: 1.843 MB / 1.136 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.002, allocations: 53.05 kB / 1.136 GB, free: 35.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.003, allocations: 2.13 MB / 1.138 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/1.004, allocations: 0.5592 MB / 1.138 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/1.004, allocations: 44.81 kB / 1.138 GB, free: 32.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.004, allocations: 392.7 kB / 1.139 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.005, allocations: 1.054 MB / 1.14 GB, free: 31.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.007, allocations: 1.757 MB / 1.141 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/1.011, allocations: 3.033 MB / 1.144 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.011, allocations: 7.875 kB / 1.144 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005871/1.017, allocations: 3.907 MB / 1.148 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/1.017, allocations: 17.88 kB / 1.148 GB, free: 25.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.017, allocations: 24 kB / 1.148 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/1.019, allocations: 0.9266 MB / 1.149 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.02, allocations: 419.3 kB / 1.15 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/1.034, allocations: 21.07 MB / 1.17 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.037, allocations: 123.9 kB / 1.17 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/1.037, allocations: 96 kB / 1.17 GB, free: 1.277 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.003173/1.04, allocations: 1.654 MB / 1.172 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.041, allocations: 249.1 kB / 1.172 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/1.046, allocations: 3.261 MB / 1.175 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.046, allocations: 16 kB / 1.175 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.046, allocations: 12 kB / 1.175 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.046, allocations: 7.969 kB / 1.175 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.059, allocations: 7.531 MB / 1.183 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.059, allocations: 11.94 kB / 1.183 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/1.06, allocations: 211.6 kB / 1.183 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/1.062, allocations: 0.8992 MB / 1.184 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.062, allocations: 35.75 kB / 1.184 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.082, allocations: 21.03 MB / 1.204 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.082, allocations: 11.94 kB / 1.204 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/1.088, allocations: 3.367 MB / 1.208 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.089, allocations: 0.5408 MB / 1.208 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/1.09, allocations: 28 kB / 1.208 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.091, allocations: 91.89 kB / 1.208 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.091, allocations: 141 kB / 1.209 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.091, allocations: 44 kB / 1.209 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001836/1.093, allocations: 1.205 MB / 1.21 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/1.093, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003451/1.097, allocations: 0.9102 MB / 1.211 GB, free: 6.102 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.0002956/1.097, allocations: 152.2 kB / 1.211 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006571/1.103, allocations: 4.412 MB / 1.215 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.103, allocations: 0 / 1.215 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/1.108, allocations: 2.999 MB / 1.218 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.113, allocations: 0.7591 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.13, allocations: 9.234 MB / 1.228 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/1.134, allocations: 3.207 MB / 1.231 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002293/1.136, allocations: 0.5293 MB / 1.231 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.136, allocations: 143.4 kB / 1.232 GB, free: 268 kB / 0.7448 GB Notification: Performance of SimCode: time 1.422e-06/1.136, allocations: 0 / 1.232 GB, free: 268 kB / 0.7448 GB Notification: Performance of Templates: time 0.07606/1.212, allocations: 40.29 MB / 1.271 GB, free: 8.492 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)