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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.7 MB, free: 8.184 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.001014/0.001014, allocations: 175 kB / 372.3 MB, free: 10.11 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.601/1.601, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0006771/0.0006771, allocations: 90.28 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 20.56 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2033, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02324/0.2266, allocations: 29.63 MB / 1.009 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.2419, allocations: 9.859 MB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.2446, allocations: 127.2 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2464, allocations: 0.6123 MB / 1.019 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.2512, allocations: 1.586 MB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.2559, allocations: 1.377 MB / 1.022 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009634/0.2655, allocations: 8.342 MB / 1.03 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01752/0.2831, allocations: 11.91 MB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.2873, allocations: 2.257 MB / 1.044 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.2916, allocations: 2.904 MB / 1.047 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.2922, allocations: 268 kB / 1.047 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.2957, allocations: 1.622 MB / 1.049 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.2979, allocations: 2.038 MB / 1.051 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.3008, allocations: 2.242 MB / 1.053 GB, free: 256 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.3096, allocations: 8.396 MB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3097, allocations: 0 / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3097, allocations: 0 / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003131/0.31, allocations: 0 / 1.061 GB, free: 7.832 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008189/0.3182, allocations: 4.019 MB / 1.065 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3182, allocations: 8.031 kB / 1.065 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.3232, allocations: 0.959 MB / 1.066 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4282/0.7514, allocations: 2.856 MB / 1.069 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005577/0.752, allocations: 347.2 kB / 1.069 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.7537, allocations: 465.1 kB / 1.07 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.7707, allocations: 7.635 MB / 1.077 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.7709, allocations: 23.88 kB / 1.077 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005892/0.7715, allocations: 200.6 kB / 1.077 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004425/0.7719, allocations: 313.2 kB / 1.078 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.7849, allocations: 5.672 MB / 1.083 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03939/0.8243, allocations: 35.14 MB / 1.118 GB, free: 45.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.8268, allocations: 2.16 MB / 1.12 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.8282, allocations: 1.264 MB / 1.121 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/0.8283, allocations: 16.16 kB / 1.121 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.8283, allocations: 44.31 kB / 1.121 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 2.886e-06/0.8283, allocations: 0 / 1.121 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.01289/0.8412, allocations: 7.098 MB / 1.128 GB, free: 38.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.8413, allocations: 70.38 kB / 1.128 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.8436, allocations: 1.468 MB / 1.129 GB, free: 37.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.8437, allocations: 46.23 kB / 1.129 GB, free: 37.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.8446, allocations: 2.01 MB / 1.131 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.845, allocations: 485.8 kB / 1.132 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.8451, allocations: 39.94 kB / 1.132 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.8452, allocations: 377.6 kB / 1.132 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.8466, allocations: 0.9046 MB / 1.133 GB, free: 34.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.8482, allocations: 1.593 MB / 1.135 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.8513, allocations: 2.724 MB / 1.137 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/0.8513, allocations: 5.781 kB / 1.137 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005922/0.8572, allocations: 3.512 MB / 1.141 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.8573, allocations: 15.34 kB / 1.141 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.8574, allocations: 25.69 kB / 1.141 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/0.8598, allocations: 0.9021 MB / 1.142 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.8611, allocations: 350 kB / 1.142 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.8758, allocations: 21.2 MB / 1.163 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.8775, allocations: 99.91 kB / 1.163 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.8777, allocations: 88 kB / 1.163 GB, free: 8.602 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 (185): * Single equations (assignments): 173 * 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,(3,77.8%) 5,(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.002555/0.8803, allocations: 1.613 MB / 1.165 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.8807, allocations: 209.6 kB / 1.165 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/0.8852, allocations: 2.981 MB / 1.168 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.8852, allocations: 15.94 kB / 1.168 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.8852, allocations: 12 kB / 1.168 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8853, allocations: 3.984 kB / 1.168 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.897, allocations: 7.327 MB / 1.175 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.8971, allocations: 4 kB / 1.175 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.8979, allocations: 175.7 kB / 1.175 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/0.9003, allocations: 0.8263 MB / 1.176 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.9004, allocations: 31.98 kB / 1.176 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.9188, allocations: 20.3 MB / 1.196 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.9188, allocations: 11.94 kB / 1.196 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.9242, allocations: 3.01 MB / 1.199 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.9252, allocations: 470.5 kB / 1.199 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.9257, allocations: 31.94 kB / 1.199 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.9266, allocations: 71.91 kB / 1.199 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.927, allocations: 120.7 kB / 1.199 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.9271, allocations: 39.94 kB / 1.199 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001406/0.9285, allocations: 0.9639 MB / 1.2 GB, free: 356 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9285, allocations: 0 / 1.2 GB, free: 356 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002815/0.9313, allocations: 0.7891 MB / 1.201 GB, free: 15.55 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 (91): * Single equations (assignments): 79 * 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%) 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%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/0.9316, allocations: 139 kB / 1.201 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005828/0.9374, allocations: 4.006 MB / 1.205 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9374, allocations: 0 / 1.205 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.9412, allocations: 2.74 MB / 1.208 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.9454, allocations: 0.6432 MB / 1.208 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.9585, allocations: 8.732 MB / 1.217 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/0.9624, allocations: 3.112 MB / 1.22 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001571/0.964, allocations: 454 kB / 1.22 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.9644, allocations: 115.4 kB / 1.221 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of SimCode: time 2.074e-06/0.9644, allocations: 0 / 1.221 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.06205/1.026, allocations: 33.52 MB / 1.253 GB, free: 10.09 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)