Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.502/2.502, allocations: 287.9 MB / 302.9 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002319/0.002319, allocations: 183.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001024, allocations: 106.5 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 11 kB / 0.8662 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.152, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002371/0.1544, allocations: 1.925 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1557, allocations: 0.7805 MB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.1558, allocations: 0 / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.1559, allocations: 11.92 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.1561, allocations: 47.78 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.1563, allocations: 43.89 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1565, allocations: 91.81 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1567, allocations: 189.8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1568, allocations: 51.78 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1569, allocations: 51.77 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.157, allocations: 4 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.1571, allocations: 31.92 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.1571, allocations: 31.91 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.1572, allocations: 45.64 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1574, allocations: 127.9 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.661e-06/0.1574, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1574, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.145e-06/0.1574, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB 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.0005473/0.1579, allocations: 467.9 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.158, allocations: 16.02 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1583, allocations: 35.75 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1585, allocations: 206.8 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.1585, allocations: 33.89 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1586, allocations: 12 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1589, allocations: 144.9 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1589, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.159, allocations: 8 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.159, allocations: 8.172 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.1592, allocations: 90.14 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.1601, allocations: 0.6412 MB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1604, allocations: 54.56 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1604, allocations: 11.94 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1606, allocations: 150.8 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.335e-06/0.1606, allocations: 0 / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004423/0.1611, allocations: 244.3 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1611, allocations: 136.5 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1613, allocations: 190.2 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1613, allocations: 25.7 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.1614, allocations: 135.8 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1614, allocations: 27.64 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1615, allocations: 4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.1615, allocations: 326.8 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1617, allocations: 39.97 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1618, allocations: 111.7 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.162, allocations: 107.3 kB / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-06/0.162, allocations: 0 / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004144/0.1624, allocations: 248.7 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.1625, allocations: 68.59 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.781e-06/0.1625, allocations: 0 / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1625, allocations: 4 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1627, allocations: 27.98 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1627, allocations: 7.938 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.1629, allocations: 40.05 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.1629, allocations: 4 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.163, allocations: 175.5 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1631, allocations: 11.91 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1631, allocations: 17.36 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-06/0.1631, allocations: 3.938 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-06/0.1631, allocations: 0 / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1631, allocations: 0 / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1633, allocations: 213.6 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-06/0.1633, allocations: 0 / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1634, allocations: 15.98 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1635, allocations: 0 / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1635, allocations: 3.938 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.173e-06/0.1635, allocations: 7.953 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1635, allocations: 0 / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.164, allocations: 218.6 kB / 0.9862 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.164, allocations: 85.05 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.1641, allocations: 8 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1642, allocations: 15.98 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.1643, allocations: 11.94 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1643, allocations: 11.94 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001089/0.1644, allocations: 144.3 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-07/0.1644, allocations: 0 / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003263/0.1648, allocations: 27.91 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.493e-05/0.1649, allocations: 103.2 kB / 0.9866 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1652, allocations: 215.2 kB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-06/0.1652, allocations: 4.062 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1654, allocations: 111.4 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1656, allocations: 8 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.1662, allocations: 335.7 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.1664, allocations: 0.7238 MB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.428e-05/0.1665, allocations: 20.62 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1665, allocations: 15.44 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.511e-06/0.1665, allocations: 0 / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.004361/0.1709, allocations: 1.204 MB / 0.9891 GB, free: 16.91 MB / 0.6198 GB