Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 185.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 78.42 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.00064, allocations: 11.5 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2375, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004234/0.2418, allocations: 1.944 MB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.244, allocations: 0.7766 MB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2442, allocations: 7.938 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2444, allocations: 15.84 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.2448, allocations: 43.75 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2451, allocations: 47.88 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2454, allocations: 167.4 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.2458, allocations: 177.8 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.246, allocations: 55.77 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.2462, allocations: 67.75 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.2463, allocations: 8 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2465, allocations: 27.92 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.389e-05/0.2466, allocations: 31.89 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.2466, allocations: 49.64 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.2469, allocations: 123.9 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.247, allocations: 0 / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.096e-06/0.247, allocations: 0 / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.247, allocations: 0 / 0.9818 GB, free: 24.77 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.0009055/0.2479, allocations: 474.5 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.248, allocations: 16.02 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.2485, allocations: 23.77 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.2489, allocations: 212.3 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.249, allocations: 37.88 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2491, allocations: 12 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.2496, allocations: 155.3 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2496, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.2497, allocations: 8 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.2497, allocations: 8.125 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2501, allocations: 88.5 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.2516, allocations: 0.6412 MB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.252, allocations: 62.5 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2522, allocations: 32.91 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2522, allocations: 0 / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.2526, allocations: 146.7 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.2526, allocations: 0 / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007415/0.2534, allocations: 171.2 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.2535, allocations: 136.5 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.2537, allocations: 182.2 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2538, allocations: 25.7 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2539, allocations: 139.8 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.254, allocations: 19.72 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.254, allocations: 4 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2541, allocations: 330.8 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.2544, allocations: 39.97 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.2546, allocations: 107.9 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.2549, allocations: 111.3 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2549, allocations: 4 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007101/0.2556, allocations: 244.7 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.2557, allocations: 63.39 kB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2557, allocations: 0 / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.2558, allocations: 8.312 kB / 0.9851 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.2561, allocations: 39.97 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.2561, allocations: 4 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.2565, allocations: 35.72 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.2565, allocations: 12 kB / 0.9852 GB, free: 20.88 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.0002546/0.2568, allocations: 163.4 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2569, allocations: 15.86 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.2569, allocations: 21.34 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2569, allocations: 0 / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.257, allocations: 0 / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.257, allocations: 3.984 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2573, allocations: 213.6 kB / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2573, allocations: 0 / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2575, allocations: 15.98 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2576, allocations: 0 / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2576, allocations: 7.953 kB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2576, allocations: 0 / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2576, allocations: 4 kB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.2585, allocations: 218.5 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.2586, allocations: 89.03 kB / 0.9859 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.2586, allocations: 4 kB / 0.986 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2589, allocations: 16.02 kB / 0.986 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.259, allocations: 11.98 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.259, allocations: 4 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001899/0.2592, allocations: 136.3 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.61e-07/0.2592, allocations: 3.938 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006137/0.2599, allocations: 31.91 kB / 0.9861 GB, free: 19.83 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 0.0001648/0.26, allocations: 103.2 kB / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006488/0.2607, allocations: 222.6 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2608, allocations: 0 / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.261, allocations: 107.4 kB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2616, allocations: 20.61 kB / 0.9866 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2627, allocations: 333.8 kB / 0.9869 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2629, allocations: 0.716 MB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.2631, allocations: 20.64 kB / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.2632, allocations: 11.44 kB / 0.9876 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of SimCode: time 1.532e-06/0.2632, allocations: 0 / 0.9876 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.006774/0.27, allocations: 1.206 MB / 0.9888 GB, free: 17.03 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)