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.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008003, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006227/0.006227, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.473/1.473, allocations: 252 MB / 0.5105 GB, free: 4.578 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.0005811/0.0005811, allocations: 12 kB / 0.6249 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5452, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009977/0.5553, allocations: 9.602 MB / 0.7381 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.5608, allocations: 3.179 MB / 0.7412 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.5616, allocations: 35.75 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.5621, allocations: 178.7 kB / 0.7414 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.5635, allocations: 0.712 MB / 0.7421 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.5649, allocations: 0.6309 MB / 0.7427 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00414/0.5691, allocations: 4.474 MB / 0.7471 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/0.5743, allocations: 3.152 MB / 0.7502 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.5765, allocations: 0.93 MB / 0.7511 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.5788, allocations: 1.449 MB / 0.7525 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.5791, allocations: 116 kB / 0.7526 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.5802, allocations: 463.2 kB / 0.753 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.5813, allocations: 0.9197 MB / 0.7539 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.5826, allocations: 0.9657 MB / 0.7549 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.5866, allocations: 3.516 MB / 0.7583 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5866, allocations: 3.938 kB / 0.7583 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5866, allocations: 0 / 0.7583 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.765e-05/0.5867, allocations: 4 kB / 0.7583 GB, free: 12.79 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003795/0.5905, allocations: 1.76 MB / 0.76 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5906, allocations: 12.03 kB / 0.7601 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.5998, allocations: 1.317 MB / 0.7613 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.6032, allocations: 1.251 MB / 0.7626 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.6033, allocations: 115.4 kB / 0.7627 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.6037, allocations: 148.2 kB / 0.7628 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.6095, allocations: 3.441 MB / 0.7662 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.6095, allocations: 7.938 kB / 0.7662 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.6097, allocations: 59.97 kB / 0.7662 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.61, allocations: 211.1 kB / 0.7664 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.6146, allocations: 3.127 MB / 0.7695 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.6319, allocations: 13.58 MB / 0.7828 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.6343, allocations: 1.724 MB / 0.7844 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.6363, allocations: 1.436 MB / 0.7858 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.6364, allocations: 16.98 kB / 0.7859 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6364, allocations: 43.56 kB / 0.7859 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.387e-06/0.6364, allocations: 0 / 0.7859 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183): time 0.1483/0.7847, allocations: 35.96 MB / 0.821 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.7848, allocations: 73.41 kB / 0.8211 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7863, allocations: 1.05 MB / 0.8221 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003801/0.7867, allocations: 57.7 kB / 0.8222 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/0.7873, allocations: 0.7872 MB / 0.8229 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006814/0.788, allocations: 0.6239 MB / 0.8235 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.7883, allocations: 153.6 kB / 0.8237 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.7884, allocations: 309.1 kB / 0.824 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.7911, allocations: 1.928 MB / 0.8259 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/0.7941, allocations: 2.285 MB / 0.8281 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005822/0.7999, allocations: 4.388 MB / 0.8324 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.7999, allocations: 4 kB / 0.8324 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02086/0.8208, allocations: 9.015 MB / 0.8412 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.8209, allocations: 15.92 kB / 0.8412 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.8209, allocations: 12.66 kB / 0.8412 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.8382, allocations: 4.978 MB / 0.8461 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.8392, allocations: 187.7 kB / 0.8463 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05331/0.8926, allocations: 35.16 MB / 0.8806 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.895, allocations: 95.89 kB / 0.8807 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/0.8954, allocations: 72 kB / 0.8808 GB, free: 13.25 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001644/0.897, allocations: 0.7979 MB / 0.8815 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.8974, allocations: 138.3 kB / 0.8817 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/0.9173, allocations: 8.898 MB / 0.8904 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.9174, allocations: 16 kB / 0.8904 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.788e-05/0.9175, allocations: 28 kB / 0.8904 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.9176, allocations: 15.95 kB / 0.8904 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/0.9463, allocations: 13.26 MB / 0.9034 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-05/0.9464, allocations: 4 kB / 0.9034 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.9469, allocations: 115.9 kB / 0.9035 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/0.9644, allocations: 4.767 MB / 0.9081 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/0.9648, allocations: 36 kB / 0.9082 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5823/1.547, allocations: 31.44 MB / 0.9389 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.547, allocations: 9.312 kB / 0.9389 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.564, allocations: 8.402 MB / 0.9471 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.566, allocations: 0.6124 MB / 0.9477 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/1.566, allocations: 36 kB / 0.9477 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.567, allocations: 99.48 kB / 0.9478 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/1.568, allocations: 153.7 kB / 0.948 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.569, allocations: 48 kB / 0.948 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008631/1.569, allocations: 0.7421 MB / 0.9487 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.569, allocations: 3.969 kB / 0.9487 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003182/1.573, allocations: 0.9922 MB / 0.9497 GB, free: 145.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000291/1.573, allocations: 144.2 kB / 0.9498 GB, free: 145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008378/1.581, allocations: 5.835 MB / 0.9555 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.581, allocations: 3.969 kB / 0.9555 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007384/1.589, allocations: 3.79 MB / 0.9592 GB, free: 135.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/1.591, allocations: 233.7 kB / 0.9595 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/1.597, allocations: 5.807 MB / 0.9651 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.599, allocations: 1.863 MB / 0.967 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008009/1.6, allocations: 351.4 kB / 0.9673 GB, free: 127 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.6, allocations: 59.44 kB / 0.9673 GB, free: 127 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/1.6, allocations: 0 / 0.9673 GB, free: 127 MB / 0.7169 GB Notification: Performance of Templates: time 0.06706/1.667, allocations: 55.43 MB / 1.021 GB, free: 71.72 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: