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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001355/0.001355, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001288/0.001289, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 60.44 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.007144/0.3326, allocations: 4.332 MB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.3374, allocations: 2.672 MB / 1.026 GB, free: 2.836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.338, allocations: 11.94 kB / 1.026 GB, free: 2.824 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.3394, allocations: 366.8 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3407, allocations: 398.2 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3422, allocations: 0.5157 MB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3432, allocations: 0.7204 MB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.3439, allocations: 363.5 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.3444, allocations: 283 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.3451, allocations: 346.8 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.3452, allocations: 40 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006189/0.3459, allocations: 315.3 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.3461, allocations: 203.4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.3465, allocations: 258.6 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.3474, allocations: 0.7397 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3474, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3474, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3474, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 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.00136/0.3488, allocations: 0.8301 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3488, allocations: 12.92 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/0.3496, allocations: 152 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.3502, allocations: 375.1 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.3502, allocations: 33.36 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.3503, allocations: 48.3 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3514, allocations: 0.8372 MB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3515, allocations: 3.938 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.3515, allocations: 23.98 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.3516, allocations: 56.97 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3528, allocations: 0.675 MB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.3566, allocations: 4.477 MB / 1.037 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.3578, allocations: 0.6026 MB / 1.038 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3584, allocations: 301.5 kB / 1.038 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3584, allocations: 11.98 kB / 1.038 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3584, allocations: 34.56 kB / 1.038 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 1.874e-06/0.3584, allocations: 0 / 1.038 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.002103/0.3606, allocations: 0.9538 MB / 1.039 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.3606, allocations: 85.05 kB / 1.039 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.3611, allocations: 349.5 kB / 1.04 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.3611, allocations: 41.64 kB / 1.04 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.3613, allocations: 279.9 kB / 1.04 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3615, allocations: 134 kB / 1.04 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.3617, allocations: 118 kB / 1.04 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3619, allocations: 350.7 kB / 1.041 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.3624, allocations: 278.9 kB / 1.041 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.3631, allocations: 484 kB / 1.041 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.3645, allocations: 0.7795 MB / 1.042 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.3645, allocations: 4 kB / 1.042 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001491/0.366, allocations: 0.786 MB / 1.043 GB, free: 460 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.366, allocations: 7.984 kB / 1.043 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.366, allocations: 8 kB / 1.043 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.3661, allocations: 16 kB / 1.043 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.3668, allocations: 163.7 kB / 1.043 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.3668, allocations: 19.92 kB / 1.043 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.3673, allocations: 67.77 kB / 1.043 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.3674, allocations: 27.98 kB / 1.043 GB, free: 148 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006557/0.3681, allocations: 365.8 kB / 1.043 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005789/0.3687, allocations: 443.6 kB / 1.044 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009842/0.3697, allocations: 0.6768 MB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.3697, allocations: 3.938 kB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001212/0.3709, allocations: 0.6855 MB / 1.045 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3709, allocations: 8 kB / 1.045 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3709, allocations: 8 kB / 1.045 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.371, allocations: 12 kB / 1.045 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.3715, allocations: 152.3 kB / 1.045 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.3715, allocations: 19.94 kB / 1.045 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.372, allocations: 67.72 kB / 1.045 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.372, allocations: 24 kB / 1.045 GB, free: 13.48 MB / 0.8262 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.0001704/0.3722, allocations: 216 kB / 1.046 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.3723, allocations: 51.44 kB / 1.046 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.3735, allocations: 0.646 MB / 1.046 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3735, allocations: 4 kB / 1.046 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3736, allocations: 0 / 1.046 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3736, allocations: 48 / 1.046 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.3759, allocations: 1.466 MB / 1.048 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3759, allocations: 8.219 kB / 1.048 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.3766, allocations: 143.8 kB / 1.048 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3766, allocations: 0 / 1.048 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.3766, allocations: 11.94 kB / 1.048 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3767, allocations: 7.938 kB / 1.048 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3767, allocations: 4 kB / 1.048 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3778, allocations: 0.8109 MB / 1.049 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.378, allocations: 156.5 kB / 1.049 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.3781, allocations: 27.78 kB / 1.049 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3785, allocations: 47.92 kB / 1.049 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3786, allocations: 35.89 kB / 1.049 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3787, allocations: 16 kB / 1.049 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002475/0.3789, allocations: 255.2 kB / 1.049 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3789, allocations: 0 / 1.049 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008146/0.3797, allocations: 192 kB / 1.049 GB, free: 9.262 MB / 0.8262 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.0001605/0.3799, allocations: 111.2 kB / 1.05 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.3817, allocations: 0.9778 MB / 1.051 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3817, allocations: 0 / 1.051 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.3823, allocations: 300.9 kB / 1.051 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.383, allocations: 130.6 kB / 1.051 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3849, allocations: 1.017 MB / 1.052 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3854, allocations: 0.8872 MB / 1.053 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005103/0.3859, allocations: 200.1 kB / 1.053 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.3861, allocations: 39.42 kB / 1.053 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.3861, allocations: 0 / 1.053 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.01272/0.3988, allocations: 6.687 MB / 1.06 GB, free: 14.91 MB / 0.8419 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 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)