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_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007714/0.007714, allocations: 102 kB / 15.73 MB, free: 6.438 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.001429/0.001429, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.555/1.555, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001431/0.001431, allocations: 77.77 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3017, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04047/0.3422, allocations: 34.71 MB / 0.8619 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.3623, allocations: 11.64 MB / 0.8733 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.366, allocations: 159.2 kB / 0.8735 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.3778, allocations: 4.247 MB / 0.8776 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008037/0.3859, allocations: 2.092 MB / 0.8797 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008453/0.3944, allocations: 2.397 MB / 0.882 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01287/0.4073, allocations: 8.475 MB / 0.8903 GB, free: 292 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/0.4287, allocations: 11.12 MB / 0.9011 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007517/0.4362, allocations: 3.806 MB / 0.9048 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7094/1.146, allocations: 4.175 MB / 0.9089 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005019/1.151, allocations: 0.7797 MB / 0.9097 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008551/1.159, allocations: 2.025 MB / 0.9117 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.008243/1.168, allocations: 3.054 MB / 0.9146 GB, free: 24.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01526/1.183, allocations: 3.398 MB / 0.918 GB, free: 24.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.03407/1.217, allocations: 11.99 MB / 0.9297 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.217, allocations: 0 / 0.9297 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/1.217, allocations: 1.781 kB / 0.9297 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007144/1.218, allocations: 0 / 0.9297 GB, free: 23.41 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.03554/1.253, allocations: 5.802 MB / 0.9353 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/1.253, allocations: 12.73 kB / 0.9353 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.265, allocations: 1.059 MB / 0.9364 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/1.278, allocations: 3.448 MB / 0.9397 GB, free: 20.36 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009986/1.279, allocations: 417.9 kB / 0.9401 GB, free: 20.35 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005325/1.285, allocations: 0.5383 MB / 0.9407 GB, free: 20.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/1.325, allocations: 9.072 MB / 0.9495 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006888/1.326, allocations: 42.73 kB / 0.9496 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004573/1.331, allocations: 233.8 kB / 0.9498 GB, free: 16.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005815/1.331, allocations: 349.3 kB / 0.9501 GB, free: 16.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/1.352, allocations: 6.829 MB / 0.9568 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/1.418, allocations: 39.79 MB / 0.9957 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/1.423, allocations: 3.109 MB / 0.9987 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/1.426, allocations: 1.988 MB / 1.001 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/1.426, allocations: 19.25 kB / 1.001 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/1.426, allocations: 48.28 kB / 1.001 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.378e-06/1.426, allocations: 3.594 kB / 1.001 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02876/1.455, allocations: 9.977 MB / 1.01 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/1.455, allocations: 69.41 kB / 1.011 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/1.458, allocations: 1.53 MB / 1.012 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/1.458, allocations: 49.7 kB / 1.012 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.46, allocations: 2.258 MB / 1.014 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007033/1.461, allocations: 0.6254 MB / 1.015 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006692/1.461, allocations: 411.3 kB / 1.015 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.461, allocations: 313.1 kB / 1.016 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.463, allocations: 1.172 MB / 1.017 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/1.466, allocations: 1.886 MB / 1.019 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/1.47, allocations: 3.369 MB / 1.022 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.47, allocations: 8 kB / 1.022 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008265/1.478, allocations: 4.583 MB / 1.026 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.478, allocations: 16.03 kB / 1.026 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.478, allocations: 24 kB / 1.026 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/1.482, allocations: 1.587 MB / 1.028 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.483, allocations: 350.2 kB / 1.028 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02484/1.508, allocations: 18.58 MB / 1.046 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.511, allocations: 123.9 kB / 1.047 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/1.511, allocations: 96 kB / 1.047 GB, free: 5.492 MB / 0.795 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004572/1.516, allocations: 1.892 MB / 1.048 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005736/1.516, allocations: 225.3 kB / 1.049 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007744/1.524, allocations: 4.096 MB / 1.053 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.524, allocations: 16 kB / 1.053 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-05/1.524, allocations: 19.98 kB / 1.053 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/1.524, allocations: 7.969 kB / 1.053 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02672/1.551, allocations: 9.469 MB / 1.062 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.551, allocations: 4 kB / 1.062 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.552, allocations: 179.2 kB / 1.062 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/1.558, allocations: 1.358 MB / 1.063 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/1.558, allocations: 36 kB / 1.063 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03367/1.592, allocations: 17.35 MB / 1.08 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/1.592, allocations: 8 kB / 1.08 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.603, allocations: 4.068 MB / 1.084 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.605, allocations: 0.5257 MB / 1.085 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/1.606, allocations: 36 kB / 1.085 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.607, allocations: 83.89 kB / 1.085 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007832/1.608, allocations: 169.1 kB / 1.085 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.608, allocations: 48 kB / 1.085 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002192/1.61, allocations: 1.008 MB / 1.086 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.61, allocations: 3.844 kB / 1.086 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005693/1.616, allocations: 0.9844 MB / 1.087 GB, free: 11.25 MB / 0.8419 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/1.616, allocations: 146.4 kB / 1.087 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.626, allocations: 4.305 MB / 1.092 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.626, allocations: 4 kB / 1.092 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006321/1.633, allocations: 2.654 MB / 1.094 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00567/1.638, allocations: 0.7895 MB / 1.095 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/1.664, allocations: 8.59 MB / 1.103 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007241/1.671, allocations: 3.573 MB / 1.107 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002793/1.674, allocations: 467.9 kB / 1.107 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/1.675, allocations: 115.4 kB / 1.107 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of SimCode: time 1.934e-06/1.675, allocations: 3.469 kB / 1.107 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.09119/1.766, allocations: 44.61 MB / 1.151 GB, free: 10.56 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)