Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 387.1 MB / 399.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 173 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008733, allocations: 99.25 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.995e-05, allocations: 2.109 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9194/1.157, allocations: 178.5 MB / 1.387 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.158, allocations: 95.88 kB / 1.387 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.068/1.226, allocations: 31.16 MB / 1.417 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.226, allocations: 0 / 1.417 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.137e-05/1.226, allocations: 12 kB / 1.417 GB, free: 10.7 MB / 0.8386 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.0014/1.227, allocations: 0.7502 MB / 1.418 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.227, allocations: 12.03 kB / 1.418 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.229, allocations: 179.1 kB / 1.418 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/1.229, allocations: 384.4 kB / 1.419 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/1.229, allocations: 26.56 kB / 1.419 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.229, allocations: 49.28 kB / 1.419 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.231, allocations: 0.7732 MB / 1.419 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.231, allocations: 0 / 1.419 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/1.231, allocations: 29.67 kB / 1.419 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/1.231, allocations: 47.81 kB / 1.419 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.232, allocations: 0.5939 MB / 1.42 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/1.237, allocations: 4.488 MB / 1.424 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.238, allocations: 0.5723 MB / 1.425 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/1.238, allocations: 261.9 kB / 1.425 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/1.238, allocations: 8 kB / 1.425 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.238, allocations: 38.25 kB / 1.425 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/1.238, allocations: 0 / 1.425 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.001151/1.239, allocations: 0.6411 MB / 1.426 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.239, allocations: 85.11 kB / 1.426 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/1.24, allocations: 298.7 kB / 1.426 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/1.24, allocations: 41.05 kB / 1.426 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.24, allocations: 285.9 kB / 1.427 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.24, allocations: 139.7 kB / 1.427 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/1.24, allocations: 7.438 kB / 1.427 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.24, allocations: 355.9 kB / 1.427 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/1.241, allocations: 221 kB / 1.427 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/1.241, allocations: 438.6 kB / 1.428 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/1.242, allocations: 291.5 kB / 1.428 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.242, allocations: 3.938 kB / 1.428 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001027/1.243, allocations: 0.7135 MB / 1.429 GB, free: 52 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009924/1.244, allocations: 2.609 MB / 1.431 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.244, allocations: 8 kB / 1.431 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.244, allocations: 8 kB / 1.431 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/1.244, allocations: 179.4 kB / 1.431 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/1.244, allocations: 12 kB / 1.431 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/1.245, allocations: 82.17 kB / 1.431 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/1.245, allocations: 35.19 kB / 1.431 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.245, allocations: 4.938 kB / 1.431 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007597/1.246, allocations: 0.5436 MB / 1.432 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.246, allocations: 8 kB / 1.432 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/1.246, allocations: 8 kB / 1.432 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/1.246, allocations: 159 kB / 1.432 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.247, allocations: 12 kB / 1.432 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/1.247, allocations: 70.12 kB / 1.432 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.247, allocations: 23.75 kB / 1.432 GB, free: 12.32 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.247, allocations: 144.3 kB / 1.432 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.247, allocations: 51.42 kB / 1.432 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009968/1.248, allocations: 0.581 MB / 1.433 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.248, allocations: 12.03 kB / 1.433 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.248, allocations: 0 / 1.433 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.248, allocations: 3.984 kB / 1.433 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/1.25, allocations: 1.376 MB / 1.434 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.25, allocations: 0 / 1.434 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/1.251, allocations: 155.4 kB / 1.435 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.251, allocations: 4 kB / 1.435 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/1.251, allocations: 11.81 kB / 1.435 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.251, allocations: 4.156 kB / 1.435 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.251, allocations: 8 kB / 1.435 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/1.252, allocations: 0.8101 MB / 1.435 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/1.252, allocations: 169 kB / 1.436 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/1.252, allocations: 10.94 kB / 1.436 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/1.253, allocations: 63.67 kB / 1.436 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.253, allocations: 39.47 kB / 1.436 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/1.253, allocations: 11.12 kB / 1.436 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002558/1.253, allocations: 244.6 kB / 1.436 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.144e-06/1.253, allocations: 4 kB / 1.436 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008411/1.254, allocations: 210.2 kB / 1.436 GB, free: 8.941 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001993/1.254, allocations: 122.5 kB / 1.436 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.256, allocations: 0.8521 MB / 1.437 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.256, allocations: 0 / 1.437 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/1.256, allocations: 263.5 kB / 1.437 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/1.257, allocations: 108.4 kB / 1.437 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/1.259, allocations: 0.8065 MB / 1.438 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/1.259, allocations: 0.8932 MB / 1.439 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007065/1.26, allocations: 220 kB / 1.439 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/1.26, allocations: 42.8 kB / 1.439 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of SimCode: time 1.714e-06/1.26, allocations: 0 / 1.439 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of Templates: time 0.01195/1.272, allocations: 6.474 MB / 1.446 GB, free: 15.61 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)