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.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.27 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.001564/0.001564, allocations: 186 kB / 371.8 MB, free: 10.25 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.783/1.783, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.000923/0.000923, allocations: 101.1 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 15.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8684/1.139, allocations: 154.8 MB / 1.131 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/1.14, allocations: 81.05 kB / 1.131 GB, free: 16.5 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.01407/1.154, allocations: 5.683 MB / 1.136 GB, free: 30.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.154, allocations: 0 / 1.136 GB, free: 30.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.154, allocations: 3.812 kB / 1.136 GB, free: 30.41 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.0006255/1.154, allocations: 471.8 kB / 1.137 GB, free: 29.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.154, allocations: 7.719 kB / 1.137 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.155, allocations: 27.11 kB / 1.137 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/1.155, allocations: 220.8 kB / 1.137 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/1.155, allocations: 33.61 kB / 1.137 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/1.155, allocations: 11.5 kB / 1.137 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/1.155, allocations: 145.2 kB / 1.137 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.156, allocations: 0 / 1.137 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/1.156, allocations: 7.312 kB / 1.137 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/1.156, allocations: 3.844 kB / 1.137 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/1.156, allocations: 99.41 kB / 1.137 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/1.157, allocations: 0.6377 MB / 1.138 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/1.157, allocations: 56.5 kB / 1.138 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/1.157, allocations: 0 / 1.138 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/1.157, allocations: 146.6 kB / 1.138 GB, free: 28.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/1.157, allocations: 0 / 1.138 GB, free: 28.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004355/1.158, allocations: 245.9 kB / 1.138 GB, free: 28.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.158, allocations: 131.4 kB / 1.138 GB, free: 28.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.158, allocations: 169 kB / 1.139 GB, free: 28.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/1.158, allocations: 33.55 kB / 1.139 GB, free: 28.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/1.158, allocations: 136.6 kB / 1.139 GB, free: 28.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/1.158, allocations: 26.92 kB / 1.139 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/1.158, allocations: 0 / 1.139 GB, free: 28.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.158, allocations: 333.3 kB / 1.139 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/1.158, allocations: 37.61 kB / 1.139 GB, free: 27.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/1.158, allocations: 108.2 kB / 1.139 GB, free: 27.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/1.159, allocations: 109 kB / 1.139 GB, free: 27.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.159, allocations: 0 / 1.139 GB, free: 27.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000349/1.159, allocations: 244.6 kB / 1.14 GB, free: 27.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/1.159, allocations: 65.08 kB / 1.14 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.159, allocations: 3.906 kB / 1.14 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.159, allocations: 3.875 kB / 1.14 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/1.159, allocations: 30.86 kB / 1.14 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.159, allocations: 7.812 kB / 1.14 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/1.159, allocations: 34.66 kB / 1.14 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/1.159, allocations: 11.81 kB / 1.14 GB, free: 27.5 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.0002102/1.16, allocations: 171.1 kB / 1.14 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/1.16, allocations: 11.62 kB / 1.14 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/1.16, allocations: 12.41 kB / 1.14 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.16, allocations: 0 / 1.14 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.16, allocations: 7.828 kB / 1.14 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.16, allocations: 0 / 1.14 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/1.16, allocations: 209.6 kB / 1.14 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.16, allocations: 0 / 1.14 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/1.16, allocations: 15.67 kB / 1.14 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.16, allocations: 3.906 kB / 1.14 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.16, allocations: 0 / 1.14 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.16, allocations: 3.938 kB / 1.14 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.16, allocations: 0 / 1.14 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/1.16, allocations: 224.1 kB / 1.14 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/1.161, allocations: 88.77 kB / 1.14 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/1.161, allocations: 3.844 kB / 1.14 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/1.161, allocations: 11.67 kB / 1.14 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/1.161, allocations: 15.7 kB / 1.14 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.161, allocations: 7.906 kB / 1.14 GB, free: 26.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001279/1.161, allocations: 134.6 kB / 1.141 GB, free: 26.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.161, allocations: 4.062 kB / 1.141 GB, free: 26.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000272/1.161, allocations: 34.28 kB / 1.141 GB, free: 26.77 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.0002361/1.161, allocations: 102 kB / 1.141 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003898/1.162, allocations: 213.1 kB / 1.141 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.162, allocations: 0.625 kB / 1.141 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.162, allocations: 109.4 kB / 1.141 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/1.162, allocations: 19.86 kB / 1.141 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/1.163, allocations: 333.5 kB / 1.141 GB, free: 26.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.163, allocations: 0.7248 MB / 1.142 GB, free: 25.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.039e-05/1.163, allocations: 16.3 kB / 1.142 GB, free: 25.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/1.163, allocations: 11.28 kB / 1.142 GB, free: 25.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.163, allocations: 0 / 1.142 GB, free: 25.48 MB / 0.698 GB Notification: Performance of Templates: time 0.003784/1.167, allocations: 1.182 MB / 1.143 GB, free: 24.91 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)