Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107.7 kB / 17.03 MB, free: 6.082 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.00123/0.00123, allocations: 196 kB / 17.98 MB, free: 5.16 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 60.12 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 76.14 MB / 0.5576 GB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00376/0.3609, allocations: 2.278 MB / 0.5598 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3621, allocations: 0.7919 MB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.3622, allocations: 2.5 kB / 0.5606 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.3627, allocations: 149.6 kB / 0.5607 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3629, allocations: 69.08 kB / 0.5608 GB, free: 34.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.3631, allocations: 45.39 kB / 0.5608 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3633, allocations: 170.1 kB / 0.561 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.3635, allocations: 97.61 kB / 0.5611 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3637, allocations: 62.78 kB / 0.5611 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3638, allocations: 76.41 kB / 0.5612 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3639, allocations: 12.56 kB / 0.5612 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.364, allocations: 53.92 kB / 0.5613 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.364, allocations: 34.78 kB / 0.5613 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.3641, allocations: 66.66 kB / 0.5614 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3644, allocations: 171.7 kB / 0.5615 GB, free: 34.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3644, allocations: 7.25 kB / 0.5615 GB, free: 34.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3644, allocations: 1.469 kB / 0.5615 GB, free: 34.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3644, allocations: 0 / 0.5615 GB, free: 34.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006182/0.365, allocations: 495.6 kB / 0.562 GB, free: 33.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3651, allocations: 9.656 kB / 0.562 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.3653, allocations: 27.22 kB / 0.562 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3655, allocations: 211.6 kB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.3656, allocations: 37.84 kB / 0.5623 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3656, allocations: 15.44 kB / 0.5623 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.3659, allocations: 151.7 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3659, allocations: 1.438 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3659, allocations: 2.016 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3659, allocations: 4.812 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3661, allocations: 86.53 kB / 0.5625 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.3669, allocations: 0.6417 MB / 0.5632 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.3671, allocations: 59.44 kB / 0.5632 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.3672, allocations: 29 kB / 0.5632 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3672, allocations: 3.938 kB / 0.5632 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3674, allocations: 147.8 kB / 0.5634 GB, free: 32.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3674, allocations: 0.5 kB / 0.5634 GB, free: 32.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003665/0.3678, allocations: 162.2 kB / 0.5635 GB, free: 32.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3679, allocations: 133.2 kB / 0.5637 GB, free: 32.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.368, allocations: 187.7 kB / 0.5638 GB, free: 32.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.368, allocations: 26.98 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.3681, allocations: 136.5 kB / 0.564 GB, free: 32.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.3681, allocations: 26.39 kB / 0.564 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.3682, allocations: 38.59 kB / 0.5641 GB, free: 32.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3683, allocations: 323.6 kB / 0.5644 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.3684, allocations: 39.53 kB / 0.5644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3685, allocations: 116 kB / 0.5645 GB, free: 31.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3687, allocations: 232.6 kB / 0.5647 GB, free: 31.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3687, allocations: 1.062 kB / 0.5647 GB, free: 31.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003378/0.369, allocations: 242.7 kB / 0.565 GB, free: 31.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.3691, allocations: 60.11 kB / 0.565 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3691, allocations: 6.375 kB / 0.565 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3691, allocations: 5.219 kB / 0.565 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3693, allocations: 31.27 kB / 0.5651 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3693, allocations: 5.609 kB / 0.5651 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3694, allocations: 30.78 kB / 0.5651 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3694, allocations: 8.609 kB / 0.5651 GB, free: 31.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001018/0.3696, allocations: 165 kB / 0.5653 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3696, allocations: 18.22 kB / 0.5653 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3696, allocations: 17.75 kB / 0.5653 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3696, allocations: 3.516 kB / 0.5653 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3696, allocations: 1.375 kB / 0.5653 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3697, allocations: 1.5 kB / 0.5653 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3698, allocations: 213 kB / 0.5655 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3698, allocations: 2.281 kB / 0.5655 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3699, allocations: 10.64 kB / 0.5655 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3699, allocations: 3.938 kB / 0.5655 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3699, allocations: 10.83 kB / 0.5655 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.37, allocations: 1.531 kB / 0.5655 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.37, allocations: 4.641 kB / 0.5655 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.3703, allocations: 222.2 kB / 0.5658 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.3704, allocations: 86.09 kB / 0.5658 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3704, allocations: 10.72 kB / 0.5659 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.3705, allocations: 11.17 kB / 0.5659 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.3706, allocations: 6.531 kB / 0.5659 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3706, allocations: 7.875 kB / 0.5659 GB, free: 30.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.3707, allocations: 135.6 kB / 0.566 GB, free: 30.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3707, allocations: 1.344 kB / 0.566 GB, free: 30.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00026/0.371, allocations: 29.97 kB / 0.566 GB, free: 30.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.072e-05/0.3711, allocations: 106.4 kB / 0.5661 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3714, allocations: 218.9 kB / 0.5663 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3714, allocations: 2.844 kB / 0.5663 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3715, allocations: 108.1 kB / 0.5665 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3718, allocations: 16.75 kB / 0.5665 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.3723, allocations: 282.3 kB / 0.5667 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.3725, allocations: 0.7189 MB / 0.5674 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.3726, allocations: 20.81 kB / 0.5675 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3726, allocations: 13.58 kB / 0.5675 GB, free: 29.14 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3726, allocations: 1.875 kB / 0.5675 GB, free: 29.14 MB / 446.1 MB Notification: Performance of Templates: time 0.00433/0.377, allocations: 1.391 MB / 0.5688 GB, free: 29.06 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)