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.001605/0.001605, allocations: 106 kB / 15.98 MB, free: 6.359 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.002016/0.002016, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 122.9 MB / 413.6 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 0.4906 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3672, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003833/0.3711, allocations: 2.348 MB / 0.569 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3723, allocations: 0.7714 MB / 0.5697 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.3724, allocations: 3.594 kB / 0.5697 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.3731, allocations: 138.7 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.3733, allocations: 52.81 kB / 0.5699 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3734, allocations: 51 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3737, allocations: 165.4 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.374, allocations: 114.1 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3741, allocations: 67.38 kB / 0.5703 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3743, allocations: 75.88 kB / 0.5704 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3743, allocations: 11.31 kB / 0.5704 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3745, allocations: 49.5 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.3745, allocations: 34.81 kB / 0.5704 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.3746, allocations: 69.3 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3749, allocations: 173.2 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3749, allocations: 0 / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3749, allocations: 0 / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3749, allocations: 1 kB / 0.5707 GB, free: 30.16 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.0006681/0.3756, allocations: 489.2 kB / 0.5711 GB, free: 29.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3756, allocations: 12.2 kB / 0.5712 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.3759, allocations: 33.94 kB / 0.5712 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3761, allocations: 206.7 kB / 0.5714 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3761, allocations: 41.09 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3762, allocations: 16.61 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.3764, allocations: 139.4 kB / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3765, allocations: 1.719 kB / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3765, allocations: 6.594 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.3765, allocations: 4.609 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.3767, allocations: 89.55 kB / 0.5717 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.3775, allocations: 0.6456 MB / 0.5723 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3777, allocations: 60.58 kB / 0.5724 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.3778, allocations: 28.34 kB / 0.5724 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3778, allocations: 3.938 kB / 0.5724 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.378, allocations: 143 kB / 0.5725 GB, free: 28.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.378, allocations: 1.469 kB / 0.5725 GB, free: 28.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003484/0.3784, allocations: 164.1 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3784, allocations: 134.4 kB / 0.5728 GB, free: 28.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3786, allocations: 188.1 kB / 0.573 GB, free: 28.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3786, allocations: 31.67 kB / 0.573 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.3787, allocations: 135.9 kB / 0.5732 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3787, allocations: 22.19 kB / 0.5732 GB, free: 28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3788, allocations: 42.06 kB / 0.5732 GB, free: 27.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.3788, allocations: 323 kB / 0.5735 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.3789, allocations: 40.09 kB / 0.5736 GB, free: 27.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.379, allocations: 112.9 kB / 0.5737 GB, free: 27.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3792, allocations: 231.8 kB / 0.5739 GB, free: 27.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3792, allocations: 4.5 kB / 0.5739 GB, free: 27.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003231/0.3796, allocations: 241.3 kB / 0.5741 GB, free: 27.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.3796, allocations: 65.08 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3796, allocations: 7.562 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3797, allocations: 8.219 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3798, allocations: 28.03 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3798, allocations: 7.828 kB / 0.5742 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.38, allocations: 28.19 kB / 0.5743 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.38, allocations: 7.219 kB / 0.5743 GB, free: 27.07 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.0001057/0.3801, allocations: 158.7 kB / 0.5744 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3801, allocations: 11.94 kB / 0.5744 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3802, allocations: 20.94 kB / 0.5745 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3802, allocations: 0 / 0.5745 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3802, allocations: 1.281 kB / 0.5745 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3802, allocations: 0.6562 kB / 0.5745 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3803, allocations: 222.4 kB / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3803, allocations: 0 / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3804, allocations: 16.78 kB / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3804, allocations: 0 / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3804, allocations: 7.031 kB / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3804, allocations: 0 / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3805, allocations: 1.969 kB / 0.5747 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.3808, allocations: 213.4 kB / 0.5749 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.3809, allocations: 89.61 kB / 0.575 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3809, allocations: 7.984 kB / 0.575 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.381, allocations: 15.72 kB / 0.575 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.3811, allocations: 10.56 kB / 0.575 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3811, allocations: 2.938 kB / 0.575 GB, free: 26.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.616e-05/0.3812, allocations: 133.3 kB / 0.5751 GB, free: 26.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3812, allocations: 1.125 kB / 0.5751 GB, free: 26.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3814, allocations: 31.22 kB / 0.5752 GB, free: 26.32 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 0.0001086/0.3815, allocations: 106.6 kB / 0.5753 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.3818, allocations: 225.9 kB / 0.5755 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3818, allocations: 0 / 0.5755 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.382, allocations: 103.7 kB / 0.5756 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3822, allocations: 22 kB / 0.5756 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.3827, allocations: 325.4 kB / 0.5759 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3829, allocations: 0.7169 MB / 0.5766 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.383, allocations: 22.28 kB / 0.5766 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.383, allocations: 19.89 kB / 0.5767 GB, free: 25.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.383, allocations: 0 / 0.5767 GB, free: 25.04 MB / 446.1 MB Notification: Performance of Templates: time 0.004601/0.3876, allocations: 1.313 MB / 0.5779 GB, free: 24.94 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)