Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.00107/0.00107, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 462.7 MB / 0.7371 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003618, allocations: 11.44 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005903/0.3231, allocations: 3.983 MB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.328, allocations: 2.801 MB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.3284, allocations: 11.94 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.3288, allocations: 71.42 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.33, allocations: 390.4 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3315, allocations: 479.1 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3329, allocations: 1.017 MB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3339, allocations: 0.5121 MB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005062/0.3345, allocations: 227 kB / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007483/0.3352, allocations: 338.8 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3353, allocations: 16 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.3363, allocations: 423.1 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.3366, allocations: 175.5 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.337, allocations: 268.3 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.3379, allocations: 0.5574 MB / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.338, allocations: 0 / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.338, allocations: 0 / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.338, allocations: 0 / 1.07 GB, free: 9.723 MB / 0.8262 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.001786/0.3398, allocations: 0.7639 MB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3399, allocations: 15.97 kB / 1.071 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.3416, allocations: 216 kB / 1.071 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.3423, allocations: 371 kB / 1.072 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.3423, allocations: 33.36 kB / 1.072 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3424, allocations: 36.38 kB / 1.072 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3442, allocations: 0.8792 MB / 1.073 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3442, allocations: 11.92 kB / 1.073 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.3443, allocations: 23.98 kB / 1.073 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.51e-05/0.3444, allocations: 60.97 kB / 1.073 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3461, allocations: 0.7491 MB / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005201/0.3513, allocations: 4.535 MB / 1.078 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.3531, allocations: 0.6728 MB / 1.078 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.3539, allocations: 341.3 kB / 1.079 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.3539, allocations: 11.98 kB / 1.079 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.354, allocations: 42.55 kB / 1.079 GB, free: 432 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 2.896e-06/0.354, allocations: 0 / 1.079 GB, free: 432 kB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.00265/0.3566, allocations: 1.046 MB / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.3567, allocations: 85.05 kB / 1.08 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.3572, allocations: 357.5 kB / 1.08 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.3572, allocations: 37.64 kB / 1.08 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.3574, allocations: 275.9 kB / 1.081 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3576, allocations: 142 kB / 1.081 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3577, allocations: 49.69 kB / 1.081 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3579, allocations: 350.7 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.3586, allocations: 304.9 kB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.3594, allocations: 0.5078 MB / 1.082 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.361, allocations: 0.842 MB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.361, allocations: 0 / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001852/0.3629, allocations: 0.8637 MB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.3631, allocations: 287.3 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3632, allocations: 8 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.3632, allocations: 8 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.3641, allocations: 191.7 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.3641, allocations: 11.94 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/0.3648, allocations: 91.69 kB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.3648, allocations: 32 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3649, allocations: 4 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/0.3664, allocations: 0.6862 MB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3664, allocations: 4 kB / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3665, allocations: 12 kB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.3672, allocations: 172.4 kB / 1.085 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3672, allocations: 11.94 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.3677, allocations: 83.62 kB / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.3678, allocations: 31.98 kB / 1.085 GB, free: 9.625 MB / 0.8419 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.000392/0.3682, allocations: 284.8 kB / 1.085 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.3683, allocations: 43.47 kB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3701, allocations: 0.7319 MB / 1.086 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3701, allocations: 4 kB / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3701, allocations: 0 / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3701, allocations: 0 / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.373, allocations: 1.515 MB / 1.088 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.373, allocations: 0 / 1.088 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/0.3739, allocations: 156 kB / 1.088 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3739, allocations: 7.984 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3739, allocations: 8 kB / 1.088 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.3739, allocations: 7.938 kB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3739, allocations: 7.938 kB / 1.088 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3755, allocations: 0.8539 MB / 1.089 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.3758, allocations: 172.4 kB / 1.089 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.3759, allocations: 12 kB / 1.089 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.3764, allocations: 67.91 kB / 1.089 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3766, allocations: 35.83 kB / 1.089 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.3766, allocations: 16 kB / 1.089 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004102/0.377, allocations: 267.1 kB / 1.089 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.377, allocations: 0 / 1.089 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009496/0.378, allocations: 204 kB / 1.089 GB, free: 5.109 MB / 0.8419 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.0001661/0.3782, allocations: 115.1 kB / 1.089 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.3806, allocations: 1.058 MB / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3806, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.3813, allocations: 324.2 kB / 1.091 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3824, allocations: 117.4 kB / 1.091 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3848, allocations: 1.332 MB / 1.092 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.3854, allocations: 0.8796 MB / 1.093 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.3857, allocations: 47.42 kB / 1.093 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/0.3857, allocations: 0 / 1.093 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of Templates: time 0.01263/0.3983, allocations: 6.981 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)