Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 293 MB / 309 MB, free: 4.793 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.001054/0.001054, allocations: 180.6 kB / 378.7 MB, free: 1.027 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.86/1.86, allocations: 205.4 MB / 0.6383 GB, free: 8.223 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008386/0.0008385, allocations: 99.75 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3137, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8726/1.186, allocations: 155.9 MB / 1.143 GB, free: 21.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/1.187, allocations: 85.16 kB / 1.143 GB, free: 21.13 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.01649/1.203, allocations: 5.691 MB / 1.148 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.203, allocations: 0 / 1.148 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.203, allocations: 4 kB / 1.148 GB, free: 17 MB / 0.7292 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.0006716/1.204, allocations: 463.3 kB / 1.149 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.204, allocations: 16.03 kB / 1.149 GB, free: 16.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/1.204, allocations: 27.94 kB / 1.149 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/1.205, allocations: 220.5 kB / 1.149 GB, free: 16.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/1.205, allocations: 35.16 kB / 1.149 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/1.205, allocations: 8.375 kB / 1.149 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/1.205, allocations: 156 kB / 1.149 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.205, allocations: 224 / 1.149 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.205, allocations: 8 kB / 1.149 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/1.205, allocations: 8.453 kB / 1.149 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/1.205, allocations: 91.5 kB / 1.149 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/1.206, allocations: 0.639 MB / 1.15 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/1.206, allocations: 60.08 kB / 1.15 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/1.207, allocations: 32.28 kB / 1.15 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.207, allocations: 0.8438 kB / 1.15 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/1.207, allocations: 136.1 kB / 1.15 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.065e-06/1.207, allocations: 0 / 1.15 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000368/1.207, allocations: 171.5 kB / 1.15 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.207, allocations: 129.9 kB / 1.15 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/1.207, allocations: 195 kB / 1.151 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/1.207, allocations: 29.7 kB / 1.151 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/1.208, allocations: 134.7 kB / 1.151 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/1.208, allocations: 29.52 kB / 1.151 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.208, allocations: 1.312 kB / 1.151 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/1.208, allocations: 323.2 kB / 1.151 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/1.208, allocations: 41.62 kB / 1.151 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/1.208, allocations: 110.2 kB / 1.151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.208, allocations: 232.5 kB / 1.151 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.208, allocations: 4 kB / 1.151 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003237/1.208, allocations: 236.6 kB / 1.152 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/1.209, allocations: 64.11 kB / 1.152 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.209, allocations: 6.703 kB / 1.152 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.209, allocations: 7.938 kB / 1.152 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.209, allocations: 36.39 kB / 1.152 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.209, allocations: 4.797 kB / 1.152 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.209, allocations: 30.8 kB / 1.152 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/1.209, allocations: 9.609 kB / 1.152 GB, free: 13.22 MB / 0.7292 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.0001177/1.209, allocations: 167 kB / 1.152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/1.209, allocations: 11.91 kB / 1.152 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/1.209, allocations: 17.06 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.209, allocations: 7.875 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.209, allocations: 1.953 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.209, allocations: 0 / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/1.209, allocations: 212.4 kB / 1.152 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.209, allocations: 0 / 1.152 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/1.209, allocations: 10.67 kB / 1.152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.209, allocations: 4 kB / 1.152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.209, allocations: 0.6562 kB / 1.152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.209, allocations: 3.938 kB / 1.152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.209, allocations: 1.641 kB / 1.152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/1.21, allocations: 226.7 kB / 1.152 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/1.21, allocations: 85.94 kB / 1.153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/1.21, allocations: 4.656 kB / 1.153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/1.21, allocations: 14.56 kB / 1.153 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/1.21, allocations: 11.98 kB / 1.153 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.21, allocations: 5.5 kB / 1.153 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001033/1.21, allocations: 138 kB / 1.153 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.21, allocations: 0 / 1.153 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00025/1.21, allocations: 40.45 kB / 1.153 GB, free: 12.24 MB / 0.7292 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.000122/1.211, allocations: 104.2 kB / 1.153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002999/1.211, allocations: 216.9 kB / 1.153 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.211, allocations: 8 kB / 1.153 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.211, allocations: 104.3 kB / 1.153 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/1.211, allocations: 19.38 kB / 1.153 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/1.212, allocations: 338.2 kB / 1.154 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/1.212, allocations: 0.7164 MB / 1.154 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.316e-05/1.212, allocations: 17.77 kB / 1.154 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/1.212, allocations: 12.14 kB / 1.154 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/1.212, allocations: 0 / 1.154 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.004257/1.217, allocations: 1.171 MB / 1.155 GB, free: 10.06 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)