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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 109.2 kB / 16.36 MB, free: 6.344 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.00222/0.00222, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.516/1.516, 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 9.1.2-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.88 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005996/0.3212, allocations: 4.342 MB / 0.9554 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004394/0.3256, allocations: 2.653 MB / 0.958 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.3259, allocations: 11.94 kB / 0.958 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.3272, allocations: 382.2 kB / 0.9583 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.328, allocations: 390.2 kB / 0.9587 GB, free: 272 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3293, allocations: 0.5107 MB / 0.9592 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.3302, allocations: 0.7281 MB / 0.9599 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.3308, allocations: 371.5 kB / 0.9603 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.3312, allocations: 271 kB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.3317, allocations: 346.8 kB / 0.9609 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.3317, allocations: 40 kB / 0.9609 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.3324, allocations: 315.3 kB / 0.9612 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3326, allocations: 199.4 kB / 0.9614 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.3328, allocations: 258.7 kB / 0.9616 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.3335, allocations: 0.7514 MB / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3335, allocations: 0 / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3336, allocations: 0 / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3336, allocations: 3.938 kB / 0.9624 GB, free: 12.49 MB / 0.7481 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.001551/0.3351, allocations: 0.8301 MB / 0.9632 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3352, allocations: 19.97 kB / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.336, allocations: 144.1 kB / 0.9633 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.3366, allocations: 379 kB / 0.9637 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3366, allocations: 37.36 kB / 0.9637 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.3367, allocations: 44.36 kB / 0.9638 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3379, allocations: 0.8285 MB / 0.9646 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3379, allocations: 4 kB / 0.9646 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.3379, allocations: 23.98 kB / 0.9646 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.338, allocations: 60.97 kB / 0.9647 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3392, allocations: 0.6711 MB / 0.9653 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.3437, allocations: 4.48 MB / 0.9697 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.345, allocations: 0.6069 MB / 0.9703 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.3455, allocations: 309.4 kB / 0.9706 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3455, allocations: 7.984 kB / 0.9706 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3456, allocations: 46.36 kB / 0.9706 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.3456, allocations: 4 kB / 0.9706 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.001934/0.3475, allocations: 0.9394 MB / 0.9716 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3476, allocations: 89.3 kB / 0.9717 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.348, allocations: 353.5 kB / 0.972 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.348, allocations: 33.7 kB / 0.972 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3482, allocations: 279.9 kB / 0.9723 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.3484, allocations: 130 kB / 0.9724 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3486, allocations: 114.1 kB / 0.9725 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3487, allocations: 350.7 kB / 0.9729 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.3492, allocations: 278.9 kB / 0.9731 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.3499, allocations: 476 kB / 0.9736 GB, free: 304 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3511, allocations: 0.7819 MB / 0.9743 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3511, allocations: 4 kB / 0.9743 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001418/0.3525, allocations: 0.7896 MB / 0.9751 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.3526, allocations: 11.98 kB / 0.9751 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3526, allocations: 8 kB / 0.9751 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.3526, allocations: 8 kB / 0.9751 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.3534, allocations: 167.7 kB / 0.9753 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.3534, allocations: 11.94 kB / 0.9753 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.3539, allocations: 75.67 kB / 0.9754 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.3539, allocations: 31.98 kB / 0.9754 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006601/0.3546, allocations: 367.1 kB / 0.9758 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000602/0.3552, allocations: 439.6 kB / 0.9762 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/0.3563, allocations: 0.6807 MB / 0.9768 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.3563, allocations: 3.938 kB / 0.9769 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001217/0.3575, allocations: 0.6891 MB / 0.9775 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3576, allocations: 8 kB / 0.9775 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3576, allocations: 8.875 kB / 0.9775 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3576, allocations: 8 kB / 0.9775 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.3581, allocations: 155.8 kB / 0.9777 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.3582, allocations: 15.94 kB / 0.9777 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.3586, allocations: 63.66 kB / 0.9778 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3586, allocations: 28 kB / 0.9778 GB, free: 11.65 MB / 0.7637 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.0002179/0.3588, allocations: 220 kB / 0.978 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3589, allocations: 43.44 kB / 0.9781 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.3603, allocations: 0.65 MB / 0.9787 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3603, allocations: 4 kB / 0.9787 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3603, allocations: 0 / 0.9787 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3603, allocations: 0 / 0.9787 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.3627, allocations: 1.457 MB / 0.9801 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3627, allocations: 0 / 0.9801 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007146/0.3634, allocations: 147.8 kB / 0.9803 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.3635, allocations: 7.984 kB / 0.9803 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3635, allocations: 11.94 kB / 0.9803 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.3635, allocations: 4 kB / 0.9803 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3635, allocations: 8 kB / 0.9803 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3647, allocations: 0.8035 MB / 0.9811 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.365, allocations: 160.5 kB / 0.9812 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.365, allocations: 19.78 kB / 0.9812 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.3655, allocations: 55.92 kB / 0.9813 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.3656, allocations: 31.95 kB / 0.9813 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3656, allocations: 16 kB / 0.9813 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002618/0.3659, allocations: 251.2 kB / 0.9816 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3659, allocations: 0 / 0.9816 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008474/0.3667, allocations: 196 kB / 0.9818 GB, free: 7.449 MB / 0.7637 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.0001499/0.3669, allocations: 111.7 kB / 0.9819 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.3687, allocations: 0.9712 MB / 0.9828 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3687, allocations: 0 / 0.9828 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.3693, allocations: 308.1 kB / 0.9831 GB, free: 6.062 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.3701, allocations: 127.4 kB / 0.9832 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3719, allocations: 1.036 MB / 0.9842 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3723, allocations: 0.8794 MB / 0.9851 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004957/0.3728, allocations: 200.1 kB / 0.9853 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.373, allocations: 47.36 kB / 0.9853 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of SimCode: time 4.6e-07/0.373, allocations: 0 / 0.9853 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of Templates: time 0.01134/0.3844, allocations: 6.691 MB / 0.9919 GB, free: 13.07 MB / 0.7794 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 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)