Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009917, allocations: 97.64 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.009033/0.009033, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003682, allocations: 9.938 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3773, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01354/0.3909, allocations: 10.54 MB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.4025, allocations: 5.782 MB / 1.09 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.404, allocations: 43.69 kB / 1.09 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.4047, allocations: 249.9 kB / 1.09 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.4079, allocations: 1.062 MB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.4105, allocations: 0.7479 MB / 1.092 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.4142, allocations: 2.856 MB / 1.095 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/0.4185, allocations: 2.344 MB / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.4199, allocations: 0.6921 MB / 1.098 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.4211, allocations: 0.8557 MB / 1.099 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.4212, allocations: 60 kB / 1.099 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.4239, allocations: 1.438 MB / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.4244, allocations: 470.5 kB / 1.101 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.4252, allocations: 0.728 MB / 1.101 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.4286, allocations: 2.414 MB / 1.104 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.4286, allocations: 0 / 1.104 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4286, allocations: 0 / 1.104 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.4286, allocations: 4 kB / 1.104 GB, free: 9.133 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002716/0.4313, allocations: 1.6 MB / 1.105 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4314, allocations: 8.031 kB / 1.105 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.4359, allocations: 0.6815 MB / 1.106 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.4375, allocations: 0.9107 MB / 1.107 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.4376, allocations: 90.91 kB / 1.107 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.4378, allocations: 128.3 kB / 1.107 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/0.4412, allocations: 2.206 MB / 1.109 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.4412, allocations: 15.88 kB / 1.109 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4414, allocations: 55.98 kB / 1.109 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/0.4417, allocations: 162.3 kB / 1.109 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/0.4448, allocations: 1.875 MB / 1.111 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.4596, allocations: 12.48 MB / 1.123 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.4642, allocations: 1.964 MB / 1.125 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.4652, allocations: 0.6089 MB / 1.126 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.4654, allocations: 106.1 kB / 1.126 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4655, allocations: 39.56 kB / 1.126 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.246e-06/0.4655, allocations: 0 / 1.126 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.007273/0.4728, allocations: 3.722 MB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4729, allocations: 64.41 kB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.4742, allocations: 0.9242 MB / 1.131 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.4743, allocations: 45.7 kB / 1.131 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/0.4749, allocations: 0.7198 MB / 1.131 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.4753, allocations: 386.6 kB / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.4755, allocations: 121.6 kB / 1.132 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4756, allocations: 305.1 kB / 1.132 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.4767, allocations: 0.6129 MB / 1.133 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.478, allocations: 1.109 MB / 1.134 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.4805, allocations: 1.828 MB / 1.136 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.4805, allocations: 8 kB / 1.136 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003646/0.4842, allocations: 2.096 MB / 1.138 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.4842, allocations: 15.94 kB / 1.138 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.4843, allocations: 16 kB / 1.138 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008559/0.4851, allocations: 263.3 kB / 1.138 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.4864, allocations: 367.4 kB / 1.138 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008976/0.4954, allocations: 10.78 MB / 1.149 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4968, allocations: 127.7 kB / 1.149 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.4971, allocations: 71.98 kB / 1.149 GB, free: 7.562 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008367/0.4979, allocations: 405.8 kB / 1.149 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.4982, allocations: 130.4 kB / 1.15 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.5013, allocations: 1.685 MB / 1.151 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5014, allocations: 12 kB / 1.151 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5014, allocations: 0 / 1.151 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5014, allocations: 7.969 kB / 1.151 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/0.5077, allocations: 3.292 MB / 1.154 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5077, allocations: 4 kB / 1.154 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.5086, allocations: 223.6 kB / 1.155 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007542/0.5093, allocations: 246.6 kB / 1.155 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5094, allocations: 28 kB / 1.155 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009344/0.5188, allocations: 10.75 MB / 1.165 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5188, allocations: 4 kB / 1.165 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.5221, allocations: 1.8 MB / 1.167 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.5228, allocations: 323.3 kB / 1.168 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.5231, allocations: 31.98 kB / 1.168 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.524, allocations: 91.88 kB / 1.168 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.5243, allocations: 100.6 kB / 1.168 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.5244, allocations: 36 kB / 1.168 GB, free: 3.008 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009835/0.5253, allocations: 0.6138 MB / 1.168 GB, free: 2.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5254, allocations: 0 / 1.168 GB, free: 2.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001754/0.5271, allocations: 400 kB / 1.169 GB, free: 1.996 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/0.5274, allocations: 139 kB / 1.169 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.5314, allocations: 2.489 MB / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5315, allocations: 256 / 1.171 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.5337, allocations: 1.64 MB / 1.173 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.5365, allocations: 332 kB / 1.173 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.5424, allocations: 3.39 MB / 1.177 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.5439, allocations: 1.327 MB / 1.178 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001293/0.5453, allocations: 359.3 kB / 1.178 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.5456, allocations: 95.42 kB / 1.178 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of SimCode: time 1.403e-06/0.5456, allocations: 0 / 1.178 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.03338/0.579, allocations: 16.21 MB / 1.194 GB, free: 7.832 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)