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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.813/1.813, allocations: 288.4 MB / 303.7 MB, free: 8.129 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.0009499/0.0009498, allocations: 172.5 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.489/1.489, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.000847/0.0008468, allocations: 89.45 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006161, allocations: 12 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3025, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02414/0.3267, allocations: 30.18 MB / 1.01 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.3488, allocations: 14.01 MB / 1.023 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/0.3523, allocations: 135.2 kB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.3548, allocations: 0.7054 MB / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.3625, allocations: 2.485 MB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.3678, allocations: 1.5 MB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01225/0.3801, allocations: 9.815 MB / 1.038 GB, free: 344 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.3982, allocations: 11.36 MB / 1.049 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.4044, allocations: 2.931 MB / 1.052 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006205/0.4106, allocations: 3.383 MB / 1.055 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001411/0.4121, allocations: 296 kB / 1.055 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.4168, allocations: 1.493 MB / 1.057 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003272/0.4201, allocations: 2.275 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005097/0.4252, allocations: 2.665 MB / 1.061 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.4646/0.8898, allocations: 9.188 MB / 1.07 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.8899, allocations: 1.359 kB / 1.07 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/0.8899, allocations: 0.9688 kB / 1.07 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004705/0.8903, allocations: 0.5938 kB / 1.07 GB, free: 29.17 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01713/0.9075, allocations: 4.83 MB / 1.075 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.9076, allocations: 9 kB / 1.075 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.9181, allocations: 1.145 MB / 1.076 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.9295, allocations: 3.321 MB / 1.079 GB, free: 26.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006739/0.9302, allocations: 373 kB / 1.08 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003217/0.9334, allocations: 497.1 kB / 1.08 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.9601, allocations: 7.971 MB / 1.088 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.9603, allocations: 20.2 kB / 1.088 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.9615, allocations: 216.3 kB / 1.088 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/0.9627, allocations: 438 kB / 1.089 GB, free: 25.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.9792, allocations: 6.05 MB / 1.095 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04803/1.027, allocations: 35.22 MB / 1.129 GB, free: 19.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/1.031, allocations: 2.022 MB / 1.131 GB, free: 19.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/1.033, allocations: 1.842 MB / 1.133 GB, free: 18.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/1.033, allocations: 18.94 kB / 1.133 GB, free: 18.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.033, allocations: 57.16 kB / 1.133 GB, free: 18.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.208e-06/1.033, allocations: 0 / 1.133 GB, free: 18.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1454/1.179, allocations: 39 MB / 1.171 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/1.179, allocations: 81.58 kB / 1.171 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005029/1.184, allocations: 2.266 MB / 1.173 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004844/1.184, allocations: 73.7 kB / 1.173 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.186, allocations: 2.276 MB / 1.176 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.188, allocations: 0.9351 MB / 1.176 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.188, allocations: 60 kB / 1.177 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002709/1.188, allocations: 428.1 kB / 1.177 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/1.192, allocations: 1.958 MB / 1.179 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/1.195, allocations: 2.59 MB / 1.181 GB, free: 268 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007369/1.203, allocations: 4.915 MB / 1.186 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/1.203, allocations: 11.94 kB / 1.186 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01597/1.219, allocations: 7.724 MB / 1.194 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.219, allocations: 12.97 kB / 1.194 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/1.219, allocations: 20 kB / 1.194 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009889/1.229, allocations: 3.205 MB / 1.197 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.231, allocations: 403 kB / 1.197 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04942/1.28, allocations: 31.1 MB / 1.228 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/1.287, allocations: 167.8 kB / 1.228 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009144/1.288, allocations: 108.2 kB / 1.228 GB, free: 15.83 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007189/1.295, allocations: 1.796 MB / 1.23 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.296, allocations: 339.5 kB / 1.23 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/1.317, allocations: 7.334 MB / 1.237 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/1.317, allocations: 32 kB / 1.237 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-05/1.317, allocations: 35.36 kB / 1.237 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/1.317, allocations: 15.95 kB / 1.237 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.346, allocations: 12.9 MB / 1.25 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/1.346, allocations: 8 kB / 1.25 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/1.347, allocations: 233.2 kB / 1.25 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008554/1.355, allocations: 2.848 MB / 1.253 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003072/1.356, allocations: 52 kB / 1.253 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04275/1.398, allocations: 29.91 MB / 1.282 GB, free: 7.676 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.398, allocations: 14.8 kB / 1.282 GB, free: 7.664 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.412, allocations: 6.861 MB / 1.289 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.415, allocations: 0.7876 MB / 1.29 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/1.415, allocations: 55.92 kB / 1.29 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.417, allocations: 171.8 kB / 1.29 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000913/1.418, allocations: 245.1 kB / 1.29 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.418, allocations: 79.66 kB / 1.29 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002191/1.42, allocations: 1.502 MB / 1.292 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.973e-06/1.42, allocations: 0 / 1.292 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004877/1.425, allocations: 1.353 MB / 1.293 GB, free: 12.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004053/1.426, allocations: 181.1 kB / 1.293 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.439, allocations: 6.911 MB / 1.3 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/1.439, allocations: 4 kB / 1.3 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.008391/1.447, allocations: 4.408 MB / 1.304 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007528/1.455, allocations: 1.01 MB / 1.305 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.475, allocations: 11.93 MB / 1.317 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/1.48, allocations: 3.639 MB / 1.32 GB, free: 292 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002562/1.483, allocations: 0.5556 MB / 1.321 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.483, allocations: 159.4 kB / 1.321 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/1.483, allocations: 0 / 1.321 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.1319/1.615, allocations: 72.25 MB / 1.392 GB, free: 8.199 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)