Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009701, allocations: 90.98 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005777/0.005777, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.0006101, allocations: 20 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5983, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04085/0.6393, allocations: 36.6 MB / 0.7645 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.6597, allocations: 10.97 MB / 0.7752 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005143/0.6649, allocations: 131.2 kB / 0.7753 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.6687, allocations: 0.783 MB / 0.7761 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007586/0.6764, allocations: 2.084 MB / 0.7781 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.682, allocations: 1.787 MB / 0.7799 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.6974, allocations: 13.18 MB / 0.7927 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02304/0.7205, allocations: 14.43 MB / 0.8068 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007078/0.7277, allocations: 2.848 MB / 0.8096 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008109/0.7358, allocations: 3.866 MB / 0.8134 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.7375, allocations: 344 kB / 0.8137 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/0.7417, allocations: 1.326 MB / 0.815 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00428/0.746, allocations: 2.529 MB / 0.8175 GB, free: 76 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007811/0.7538, allocations: 2.964 MB / 0.8204 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.7711, allocations: 11.68 MB / 0.8318 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.7712, allocations: 0 / 0.8318 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.406e-06/0.7712, allocations: 0 / 0.8318 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.00053/0.7717, allocations: 0 / 0.8318 GB, free: 1.367 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01577/0.7875, allocations: 5.086 MB / 0.8367 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7876, allocations: 12.03 kB / 0.8368 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/0.7947, allocations: 1.067 MB / 0.8378 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009477/0.8042, allocations: 3.419 MB / 0.8411 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/0.805, allocations: 423.8 kB / 0.8415 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003502/0.8085, allocations: 0.5433 MB / 0.8421 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.8365, allocations: 9.385 MB / 0.8512 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/0.8369, allocations: 27.66 kB / 0.8513 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.839, allocations: 244 kB / 0.8515 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007663/0.8398, allocations: 422.9 kB / 0.8519 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/0.8616, allocations: 7.12 MB / 0.8589 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09428/0.956, allocations: 41.38 MB / 0.8993 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.9655, allocations: 3.119 MB / 0.9023 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005051/0.9706, allocations: 2.121 MB / 0.9044 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.9708, allocations: 26 kB / 0.9044 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.939e-05/0.9709, allocations: 60.56 kB / 0.9045 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.958e-06/0.9709, allocations: 0 / 0.9045 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.4965/1.467, allocations: 10.61 MB / 0.9148 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.467, allocations: 78.62 kB / 0.9149 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/1.472, allocations: 2.004 MB / 0.9169 GB, free: 158.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/1.472, allocations: 64.14 kB / 0.9169 GB, free: 158 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.474, allocations: 2.406 MB / 0.9193 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/1.474, allocations: 0.7306 MB / 0.92 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/1.474, allocations: 212.5 kB / 0.9202 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/1.475, allocations: 301.1 kB / 0.9205 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.477, allocations: 1.375 MB / 0.9218 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/1.479, allocations: 2.109 MB / 0.9239 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/1.483, allocations: 3.761 MB / 0.9275 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.483, allocations: 7.812 kB / 0.9275 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008577/1.492, allocations: 5.069 MB / 0.9325 GB, free: 149 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/1.492, allocations: 19.67 kB / 0.9325 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.492, allocations: 24.94 kB / 0.9325 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/1.495, allocations: 1.569 MB / 0.9341 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.497, allocations: 464.1 kB / 0.9345 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/1.514, allocations: 17.11 MB / 0.9512 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/1.516, allocations: 155.8 kB / 0.9514 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.517, allocations: 104 kB / 0.9515 GB, free: 134.2 MB / 0.7169 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003345/1.52, allocations: 1.941 MB / 0.9534 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/1.521, allocations: 288.5 kB / 0.9536 GB, free: 132 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006188/1.527, allocations: 4.451 MB / 0.958 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.527, allocations: 24 kB / 0.958 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.527, allocations: 20 kB / 0.958 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/1.527, allocations: 11.95 kB / 0.958 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/1.54, allocations: 9.665 MB / 0.9675 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.54, allocations: 4.062 kB / 0.9675 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/1.541, allocations: 235.6 kB / 0.9677 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/1.544, allocations: 1.418 MB / 0.9691 GB, free: 116 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.544, allocations: 43.47 kB / 0.9691 GB, free: 116 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/1.562, allocations: 17.11 MB / 0.9858 GB, free: 98.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.562, allocations: 4 kB / 0.9859 GB, free: 98.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006943/1.569, allocations: 4.548 MB / 0.9903 GB, free: 93.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.571, allocations: 0.642 MB / 0.9909 GB, free: 93.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/1.571, allocations: 36 kB / 0.991 GB, free: 93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.572, allocations: 119.8 kB / 0.9911 GB, free: 92.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/1.573, allocations: 181.6 kB / 0.9912 GB, free: 92.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.573, allocations: 63.94 kB / 0.9913 GB, free: 92.65 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001548/1.574, allocations: 1.319 MB / 0.9926 GB, free: 91.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.3e-07/1.574, allocations: 0 / 0.9926 GB, free: 91.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003533/1.578, allocations: 1.137 MB / 0.9937 GB, free: 90.18 MB / 0.7169 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/1.578, allocations: 164.7 kB / 0.9939 GB, free: 90.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006104/1.584, allocations: 4.697 MB / 0.9984 GB, free: 85.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.584, allocations: 4.25 kB / 0.9985 GB, free: 85.26 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/1.588, allocations: 2.924 MB / 1.001 GB, free: 82.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005173/1.593, allocations: 0.8285 MB / 1.002 GB, free: 81.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.607, allocations: 11.77 MB / 1.014 GB, free: 69.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/1.611, allocations: 3.686 MB / 1.017 GB, free: 65.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002202/1.613, allocations: 0.5556 MB / 1.018 GB, free: 65.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.613, allocations: 151.4 kB / 1.018 GB, free: 65.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/1.613, allocations: 3.938 kB / 1.018 GB, free: 65.19 MB / 0.7169 GB Notification: Performance of Templates: time 0.07349/1.687, allocations: 50.16 MB / 1.067 GB, free: 15.73 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: