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.623/1.623, allocations: 285.4 MB / 298 MB, free: 5.953 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.001262/0.001261, allocations: 168.9 kB / 366.4 MB, free: 2.078 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.465/1.465, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008596/0.0008595, allocations: 94.89 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.469e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7443/0.7444, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.9564, allocations: 154.8 MB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9567, allocations: 75.95 kB / 1.122 GB, free: 12.92 MB / 0.7292 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.01357/0.9703, allocations: 5.626 MB / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9703, allocations: 4.656 kB / 1.128 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9703, allocations: 0 / 1.128 GB, free: 7.293 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.0005895/0.9709, allocations: 459.3 kB / 1.128 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.971, allocations: 8.031 kB / 1.128 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.9712, allocations: 32.42 kB / 1.128 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.9715, allocations: 211.8 kB / 1.128 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.9716, allocations: 37.89 kB / 1.128 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.9717, allocations: 15.98 kB / 1.128 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.9719, allocations: 141.6 kB / 1.128 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.972, allocations: 2.906 kB / 1.128 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.972, allocations: 0 / 1.128 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.972, allocations: 4.188 kB / 1.128 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.9722, allocations: 80.44 kB / 1.129 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.9731, allocations: 0.6349 MB / 1.129 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.9733, allocations: 58.56 kB / 1.129 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.9734, allocations: 24.92 kB / 1.129 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.9734, allocations: 3.984 kB / 1.129 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.9736, allocations: 138.2 kB / 1.129 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.9736, allocations: 0 / 1.129 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002606/0.9739, allocations: 119.3 kB / 1.129 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.974, allocations: 132.5 kB / 1.13 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.9741, allocations: 169.4 kB / 1.13 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.9742, allocations: 29.7 kB / 1.13 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.9743, allocations: 143.7 kB / 1.13 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.9743, allocations: 15.8 kB / 1.13 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.9743, allocations: 8 kB / 1.13 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9745, allocations: 318.8 kB / 1.13 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.9745, allocations: 35.98 kB / 1.13 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.9746, allocations: 104 kB / 1.13 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.9748, allocations: 107.2 kB / 1.131 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9748, allocations: 4 kB / 1.131 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003049/0.9751, allocations: 220.7 kB / 1.131 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.9751, allocations: 63.7 kB / 1.131 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9752, allocations: 4 kB / 1.131 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9752, allocations: 4 kB / 1.131 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.9753, allocations: 31.98 kB / 1.131 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.9753, allocations: 14.94 kB / 1.131 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.9755, allocations: 27.83 kB / 1.131 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.9755, allocations: 12 kB / 1.131 GB, free: 3.586 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 () * 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.0001148/0.9756, allocations: 146.6 kB / 1.131 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.9757, allocations: 15.81 kB / 1.131 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.9757, allocations: 18.39 kB / 1.131 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9757, allocations: 4 kB / 1.131 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9757, allocations: 0 / 1.131 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9757, allocations: 7.703 kB / 1.131 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.9759, allocations: 209.6 kB / 1.131 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9759, allocations: 0 / 1.131 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.976, allocations: 8 kB / 1.131 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.976, allocations: 0 / 1.131 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.976, allocations: 11.98 kB / 1.131 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9761, allocations: 0 / 1.131 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9761, allocations: 1.969 kB / 1.131 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.9764, allocations: 202.6 kB / 1.131 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.9764, allocations: 81.02 kB / 1.132 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.9765, allocations: 4.031 kB / 1.132 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.9766, allocations: 16.08 kB / 1.132 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.9767, allocations: 16.03 kB / 1.132 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.9767, allocations: 7.938 kB / 1.132 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001047/0.9768, allocations: 132.3 kB / 1.132 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9768, allocations: 0 / 1.132 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002385/0.977, allocations: 32 kB / 1.132 GB, free: 2.594 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) * 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.0001368/0.9772, allocations: 106.1 kB / 1.132 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.9774, allocations: 203.2 kB / 1.132 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9775, allocations: 0 / 1.132 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.9776, allocations: 107.3 kB / 1.132 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.9778, allocations: 19.94 kB / 1.132 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.9782, allocations: 186.1 kB / 1.132 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.9785, allocations: 0.7239 MB / 1.133 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.885e-05/0.9786, allocations: 12.77 kB / 1.133 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.9787, allocations: 15.42 kB / 1.133 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.9787, allocations: 0 / 1.133 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of Templates: time 0.003701/0.9824, allocations: 1.19 MB / 1.134 GB, free: 16 kB / 0.7292 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)