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.001012/0.001012, allocations: 108.1 kB / 17.02 MB, free: 6.121 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.000983/0.0009832, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3717, allocations: 76.14 MB / 0.5575 GB, free: 36.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003948/0.3757, allocations: 2.293 MB / 0.5598 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3769, allocations: 0.7878 MB / 0.5606 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.377, allocations: 2.438 kB / 0.5606 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.3777, allocations: 147.1 kB / 0.5607 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3779, allocations: 64.78 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.3781, allocations: 48.81 kB / 0.5608 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.3784, allocations: 165.4 kB / 0.561 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.3787, allocations: 107 kB / 0.5611 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3788, allocations: 65.66 kB / 0.5611 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3791, allocations: 67.88 kB / 0.5612 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.3791, allocations: 12.69 kB / 0.5612 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3793, allocations: 53.14 kB / 0.5613 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.3793, allocations: 43.11 kB / 0.5613 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.3794, allocations: 65.66 kB / 0.5614 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3798, allocations: 173.6 kB / 0.5615 GB, free: 34.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3798, allocations: 0 / 0.5615 GB, free: 34.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3798, allocations: 0.5 kB / 0.5615 GB, free: 34.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3798, allocations: 1.125 kB / 0.5615 GB, free: 34.36 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.0007521/0.3806, allocations: 499.2 kB / 0.562 GB, free: 33.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3806, allocations: 9.719 kB / 0.562 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.3808, allocations: 22.44 kB / 0.562 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3811, allocations: 224.8 kB / 0.5622 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.3811, allocations: 32.52 kB / 0.5623 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.3812, allocations: 15.44 kB / 0.5623 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3815, allocations: 151.1 kB / 0.5624 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3815, allocations: 0.9688 kB / 0.5624 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3815, allocations: 5.219 kB / 0.5624 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3815, allocations: 6.609 kB / 0.5625 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3817, allocations: 83.3 kB / 0.5625 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.3825, allocations: 0.6397 MB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3828, allocations: 62.02 kB / 0.5632 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.3828, allocations: 31.89 kB / 0.5632 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3829, allocations: 0 / 0.5632 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3831, allocations: 140.1 kB / 0.5634 GB, free: 32.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3831, allocations: 0 / 0.5634 GB, free: 32.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003749/0.3834, allocations: 164.9 kB / 0.5635 GB, free: 32.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3835, allocations: 136.9 kB / 0.5637 GB, free: 32.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3837, allocations: 179.9 kB / 0.5638 GB, free: 32.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3837, allocations: 28.67 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.3838, allocations: 139.1 kB / 0.564 GB, free: 32.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.3838, allocations: 25.56 kB / 0.564 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.3839, allocations: 42.62 kB / 0.5641 GB, free: 32.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.384, allocations: 322.4 kB / 0.5644 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.3841, allocations: 37.92 kB / 0.5644 GB, free: 31.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3842, allocations: 114 kB / 0.5645 GB, free: 31.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3845, allocations: 237.3 kB / 0.5647 GB, free: 31.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3845, allocations: 1.062 kB / 0.5647 GB, free: 31.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003427/0.3848, allocations: 236.2 kB / 0.565 GB, free: 31.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.3849, allocations: 68.8 kB / 0.565 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3849, allocations: 7.25 kB / 0.565 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3849, allocations: 5.047 kB / 0.565 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.385, allocations: 30.62 kB / 0.5651 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3851, allocations: 4.375 kB / 0.5651 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3852, allocations: 23.08 kB / 0.5651 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3852, allocations: 13.64 kB / 0.5651 GB, free: 31.27 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.0001061/0.3853, allocations: 165 kB / 0.5653 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3854, allocations: 15.64 kB / 0.5653 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3854, allocations: 23.55 kB / 0.5653 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3854, allocations: 1.797 kB / 0.5653 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3854, allocations: 0 / 0.5653 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3854, allocations: 1 kB / 0.5653 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3856, allocations: 215.2 kB / 0.5655 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3856, allocations: 0 / 0.5655 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.3857, allocations: 18.88 kB / 0.5655 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3857, allocations: 1.188 kB / 0.5655 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3857, allocations: 6.141 kB / 0.5655 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3857, allocations: 1.75 kB / 0.5655 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3857, allocations: 0.6562 kB / 0.5655 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3861, allocations: 227 kB / 0.5658 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.3862, allocations: 85.02 kB / 0.5658 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3862, allocations: 7.359 kB / 0.5658 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3863, allocations: 10.3 kB / 0.5659 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.3863, allocations: 10.59 kB / 0.5659 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3864, allocations: 3.625 kB / 0.5659 GB, free: 30.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.3865, allocations: 135.6 kB / 0.566 GB, free: 30.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3865, allocations: 0 / 0.566 GB, free: 30.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3867, allocations: 35.59 kB / 0.566 GB, free: 30.51 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.644e-05/0.3868, allocations: 100.1 kB / 0.5661 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3871, allocations: 217.9 kB / 0.5663 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3871, allocations: 5.406 kB / 0.5663 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3873, allocations: 103.7 kB / 0.5664 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3875, allocations: 19.42 kB / 0.5665 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.388, allocations: 289.5 kB / 0.5667 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3882, allocations: 0.7204 MB / 0.5674 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.3883, allocations: 19.81 kB / 0.5675 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3884, allocations: 16.89 kB / 0.5675 GB, free: 29.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3884, allocations: 0 / 0.5675 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004524/0.3929, allocations: 1.388 MB / 0.5688 GB, free: 29.19 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)