Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.001067/0.001066, allocations: 180.5 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0009668/0.0009668, allocations: 94.28 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004321, allocations: 10.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2752, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8955/1.171, allocations: 154.9 MB / 1.132 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.171, allocations: 77.83 kB / 1.132 GB, free: 16.45 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0128/1.184, allocations: 5.682 MB / 1.138 GB, free: 30.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/1.184, allocations: 0 / 1.138 GB, free: 30.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.184, allocations: 3.906 kB / 1.138 GB, free: 30.26 MB / 0.698 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.0005588/1.185, allocations: 480.1 kB / 1.138 GB, free: 29.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.185, allocations: 7.719 kB / 1.138 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/1.185, allocations: 31.86 kB / 1.138 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.185, allocations: 211.3 kB / 1.138 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/1.185, allocations: 33.55 kB / 1.138 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/1.185, allocations: 11.41 kB / 1.138 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/1.185, allocations: 152.6 kB / 1.138 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.185, allocations: 3.984 kB / 1.138 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.185, allocations: 11.09 kB / 1.138 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/1.185, allocations: 3.844 kB / 1.138 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/1.186, allocations: 86.7 kB / 1.139 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/1.186, allocations: 0.6449 MB / 1.139 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/1.187, allocations: 61.41 kB / 1.139 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/1.187, allocations: 30.59 kB / 1.139 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/1.187, allocations: 0 / 1.139 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/1.187, allocations: 143.6 kB / 1.139 GB, free: 28.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.187, allocations: 3.938 kB / 1.139 GB, free: 28.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003423/1.187, allocations: 169 kB / 1.14 GB, free: 28.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.187, allocations: 132.4 kB / 1.14 GB, free: 28.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.187, allocations: 185.3 kB / 1.14 GB, free: 28.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.188, allocations: 33.48 kB / 1.14 GB, free: 28.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/1.188, allocations: 133.7 kB / 1.14 GB, free: 28.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/1.188, allocations: 30.5 kB / 1.14 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/1.188, allocations: 0 / 1.14 GB, free: 28.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.188, allocations: 325.8 kB / 1.14 GB, free: 27.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/1.188, allocations: 38.73 kB / 1.14 GB, free: 27.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/1.188, allocations: 110.6 kB / 1.141 GB, free: 27.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/1.188, allocations: 225.9 kB / 1.141 GB, free: 27.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.188, allocations: 3.875 kB / 1.141 GB, free: 27.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003072/1.189, allocations: 237.8 kB / 1.141 GB, free: 27.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/1.189, allocations: 66.52 kB / 1.141 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.189, allocations: 4.047 kB / 1.141 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.189, allocations: 7.781 kB / 1.141 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.189, allocations: 30.92 kB / 1.141 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.189, allocations: 7.703 kB / 1.141 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.189, allocations: 38.52 kB / 1.141 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.189, allocations: 11.38 kB / 1.141 GB, free: 27.28 MB / 0.698 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.0001247/1.189, allocations: 166.5 kB / 1.141 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/1.189, allocations: 11.62 kB / 1.141 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/1.189, allocations: 13.09 kB / 1.141 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.189, allocations: 3.938 kB / 1.141 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.189, allocations: 3.984 kB / 1.141 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.189, allocations: 0 / 1.141 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/1.189, allocations: 212.9 kB / 1.142 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.189, allocations: 7.844 kB / 1.142 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/1.189, allocations: 11.58 kB / 1.142 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.189, allocations: 0 / 1.142 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/1.189, allocations: 3.844 kB / 1.142 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.189, allocations: 3.938 kB / 1.142 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.189, allocations: 0 / 1.142 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/1.19, allocations: 226.2 kB / 1.142 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/1.19, allocations: 81.02 kB / 1.142 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/1.19, allocations: 7.719 kB / 1.142 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/1.19, allocations: 18.98 kB / 1.142 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/1.19, allocations: 7.672 kB / 1.142 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.19, allocations: 3.812 kB / 1.142 GB, free: 26.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000105/1.19, allocations: 137.1 kB / 1.142 GB, free: 26.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.19, allocations: 4.062 kB / 1.142 GB, free: 26.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002416/1.19, allocations: 38.16 kB / 1.142 GB, free: 26.55 MB / 0.698 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.0001355/1.19, allocations: 101.7 kB / 1.142 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002887/1.191, allocations: 215.8 kB / 1.142 GB, free: 26.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.191, allocations: 0 / 1.142 GB, free: 26.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/1.191, allocations: 115.8 kB / 1.142 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/1.191, allocations: 14.44 kB / 1.142 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/1.192, allocations: 331.2 kB / 1.143 GB, free: 25.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.192, allocations: 0.7135 MB / 1.143 GB, free: 25.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.804e-05/1.192, allocations: 24.09 kB / 1.144 GB, free: 25.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/1.192, allocations: 18.95 kB / 1.144 GB, free: 25.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.192, allocations: 0 / 1.144 GB, free: 25.25 MB / 0.698 GB Notification: Performance of Templates: time 0.003757/1.196, allocations: 1.187 MB / 1.145 GB, free: 24.68 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)