Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 108.2 kB / 16.41 MB, free: 6.027 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.00185/0.00185, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 60.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9174, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.00591/0.9234, allocations: 4.336 MB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004398/0.9278, allocations: 2.813 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.9281, allocations: 11.94 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.9292, allocations: 375 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009802/0.9302, allocations: 422.1 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.9314, allocations: 0.5173 MB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.9323, allocations: 0.728 MB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.9328, allocations: 375.4 kB / 1.177 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.9332, allocations: 275 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.9337, allocations: 350.7 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.9338, allocations: 40 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.9344, allocations: 347.3 kB / 1.178 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.9346, allocations: 195.5 kB / 1.178 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.9348, allocations: 270.6 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.9356, allocations: 0.7686 MB / 1.179 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9356, allocations: 3.938 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9356, allocations: 0 / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.9357, allocations: 0 / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001566/0.9372, allocations: 0.8379 MB / 1.18 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9373, allocations: 8.922 kB / 1.18 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.9388, allocations: 216 kB / 1.18 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.9394, allocations: 379.1 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.9395, allocations: 33.36 kB / 1.18 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.9396, allocations: 48.27 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.941, allocations: 0.8675 MB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.941, allocations: 3.938 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.9411, allocations: 16 kB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/0.9412, allocations: 64.95 kB / 1.181 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.9427, allocations: 0.7179 MB / 1.182 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.947, allocations: 4.531 MB / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.9486, allocations: 0.6572 MB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.9493, allocations: 333.3 kB / 1.187 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.9493, allocations: 7.938 kB / 1.187 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9493, allocations: 38.56 kB / 1.187 GB, free: 14.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.9493, allocations: 4 kB / 1.187 GB, free: 14.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.002373/0.9517, allocations: 0.9969 MB / 1.188 GB, free: 13.74 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.9518, allocations: 84.97 kB / 1.188 GB, free: 13.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.9521, allocations: 353.5 kB / 1.189 GB, free: 13.28 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.9522, allocations: 33.7 kB / 1.189 GB, free: 13.24 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.9524, allocations: 287.8 kB / 1.189 GB, free: 12.96 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.9525, allocations: 137.9 kB / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.9527, allocations: 114.1 kB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9528, allocations: 354.7 kB / 1.19 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.9535, allocations: 294.9 kB / 1.19 GB, free: 12.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/0.9542, allocations: 0.4921 MB / 1.19 GB, free: 11.47 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.9557, allocations: 0.8148 MB / 1.191 GB, free: 10.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9557, allocations: 4 kB / 1.191 GB, free: 10.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001656/0.9574, allocations: 0.8279 MB / 1.192 GB, free: 9.727 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.9574, allocations: 8 kB / 1.192 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9574, allocations: 4.812 kB / 1.192 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.9574, allocations: 12 kB / 1.192 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.9583, allocations: 175.7 kB / 1.192 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.9583, allocations: 19.92 kB / 1.192 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.9589, allocations: 71.77 kB / 1.192 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.9589, allocations: 31.92 kB / 1.192 GB, free: 9.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000707/0.9597, allocations: 389 kB / 1.193 GB, free: 9.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006816/0.9603, allocations: 455.6 kB / 1.193 GB, free: 8.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001347/0.9617, allocations: 0.712 MB / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.9617, allocations: 3.938 kB / 1.194 GB, free: 7.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001708/0.9635, allocations: 0.7247 MB / 1.194 GB, free: 6.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.9635, allocations: 8 kB / 1.194 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9635, allocations: 8 kB / 1.195 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9636, allocations: 12 kB / 1.195 GB, free: 6.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.9643, allocations: 164 kB / 1.195 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.9643, allocations: 19.98 kB / 1.195 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.9649, allocations: 71.69 kB / 1.195 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.9649, allocations: 24 kB / 1.195 GB, free: 6.629 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.9653, allocations: 227.9 kB / 1.195 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.9654, allocations: 39.53 kB / 1.195 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.967, allocations: 0.689 MB / 1.196 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.967, allocations: 8 kB / 1.196 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.967, allocations: 0 / 1.196 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.9671, allocations: 3.984 kB / 1.196 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.9696, allocations: 1.486 MB / 1.197 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9696, allocations: 0 / 1.197 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.9704, allocations: 155.7 kB / 1.197 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.9704, allocations: 4 kB / 1.197 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.9705, allocations: 11.94 kB / 1.197 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.9705, allocations: 4 kB / 1.197 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9705, allocations: 0 / 1.197 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.9718, allocations: 0.815 MB / 1.198 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.9721, allocations: 172.4 kB / 1.198 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.9721, allocations: 15.94 kB / 1.198 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.9727, allocations: 63.92 kB / 1.198 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.9728, allocations: 27.95 kB / 1.198 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.9728, allocations: 16 kB / 1.198 GB, free: 2.754 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003492/0.9732, allocations: 271.1 kB / 1.199 GB, free: 2.496 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9732, allocations: 0 / 1.199 GB, free: 2.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009022/0.9741, allocations: 200 kB / 1.199 GB, free: 2.301 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.9742, allocations: 115.2 kB / 1.199 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.9764, allocations: 1.01 MB / 1.2 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.9764, allocations: 0 / 1.2 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.977, allocations: 307.7 kB / 1.2 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.9779, allocations: 140.6 kB / 1.2 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.98, allocations: 1.091 MB / 1.201 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.9805, allocations: 0.8755 MB / 1.202 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.9808, allocations: 47.42 kB / 1.202 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 9.82e-07/0.9808, allocations: 0 / 1.202 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.0109/0.9917, allocations: 7.105 MB / 1.209 GB, free: 7.566 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)