Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.636/1.636, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 171.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.0008568, allocations: 104.9 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 15.94 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6686, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.8638, allocations: 158.3 MB / 1.181 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.8641, allocations: 75.97 kB / 1.181 GB, free: 3.438 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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.01504/0.8792, allocations: 6.459 MB / 1.187 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8792, allocations: 0 / 1.187 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.8792, allocations: 5.344 kB / 1.187 GB, free: 13.05 MB / 0.7605 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.0006303/0.8799, allocations: 473.7 kB / 1.188 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8799, allocations: 15.97 kB / 1.188 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.8802, allocations: 25.61 kB / 1.188 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.8805, allocations: 216 kB / 1.188 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.8805, allocations: 34.98 kB / 1.188 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.8806, allocations: 14.67 kB / 1.188 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.8809, allocations: 154 kB / 1.188 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8809, allocations: 4 kB / 1.188 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.881, allocations: 1.812 kB / 1.188 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.881, allocations: 4.688 kB / 1.188 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.8812, allocations: 90.52 kB / 1.188 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.8821, allocations: 0.6422 MB / 1.189 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.8824, allocations: 55.92 kB / 1.189 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.8825, allocations: 33.72 kB / 1.189 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.8825, allocations: 0.6562 kB / 1.189 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.8828, allocations: 138.2 kB / 1.189 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 4.088e-06/0.8828, allocations: 0 / 1.189 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0004614/0.8832, allocations: 163.7 kB / 1.189 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.8833, allocations: 141.8 kB / 1.189 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.8836, allocations: 189.6 kB / 1.19 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.8836, allocations: 31.05 kB / 1.19 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.8837, allocations: 135.9 kB / 1.19 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.8837, allocations: 27.64 kB / 1.19 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.8838, allocations: 0 / 1.19 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8839, allocations: 329.5 kB / 1.19 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.884, allocations: 33.02 kB / 1.19 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.8842, allocations: 111.9 kB / 1.19 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.8845, allocations: 235 kB / 1.19 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8845, allocations: 0 / 1.19 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003762/0.8849, allocations: 241.3 kB / 1.191 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.8849, allocations: 60.34 kB / 1.191 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.885, allocations: 5.438 kB / 1.191 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.885, allocations: 11.88 kB / 1.191 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.8851, allocations: 35.92 kB / 1.191 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8851, allocations: 5.094 kB / 1.191 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.8853, allocations: 29.45 kB / 1.191 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.8853, allocations: 8 kB / 1.191 GB, free: 9.051 MB / 0.7605 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.0001376/0.8855, allocations: 170.3 kB / 1.191 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.8855, allocations: 11.81 kB / 1.191 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.8855, allocations: 17.39 kB / 1.191 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8855, allocations: 7.938 kB / 1.191 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8855, allocations: 0 / 1.191 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8856, allocations: 4 kB / 1.191 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.8857, allocations: 210.4 kB / 1.191 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8858, allocations: 3.984 kB / 1.191 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.8858, allocations: 8 kB / 1.191 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8858, allocations: 0 / 1.191 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8859, allocations: 4 kB / 1.191 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.8859, allocations: 4.875 kB / 1.191 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8859, allocations: 1.875 kB / 1.191 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.8863, allocations: 223.3 kB / 1.191 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.8863, allocations: 88.98 kB / 1.192 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.8864, allocations: 7.984 kB / 1.192 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.8865, allocations: 15.94 kB / 1.192 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.8865, allocations: 8.594 kB / 1.192 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.8866, allocations: 4.062 kB / 1.192 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001138/0.8867, allocations: 131.2 kB / 1.192 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8867, allocations: 0 / 1.192 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002453/0.8869, allocations: 35.91 kB / 1.192 GB, free: 8.008 MB / 0.7605 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.0001546/0.8871, allocations: 99.8 kB / 1.192 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.8875, allocations: 224.4 kB / 1.192 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.8875, allocations: 0 / 1.192 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.8877, allocations: 103.4 kB / 1.192 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.8879, allocations: 16.66 kB / 1.192 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.8886, allocations: 340.5 kB / 1.192 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.889, allocations: 0.7207 MB / 1.193 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.8891, allocations: 16.62 kB / 1.193 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.8891, allocations: 11.44 kB / 1.193 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/0.8891, allocations: 2.906 kB / 1.193 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of Templates: time 0.003896/0.893, allocations: 1.171 MB / 1.194 GB, free: 5.301 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)