Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.7 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009447, allocations: 89.48 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004076, allocations: 12.94 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.3871, allocations: 148.6 MB / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.3874, allocations: 79.95 kB / 1.046 GB, free: 10.86 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01344/0.4009, allocations: 5.701 MB / 1.052 GB, free: 5.082 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4009, allocations: 4 kB / 1.052 GB, free: 5.078 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.4009, allocations: 4 kB / 1.052 GB, free: 5.074 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.0005577/0.4015, allocations: 474.5 kB / 1.052 GB, free: 4.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4015, allocations: 8.031 kB / 1.052 GB, free: 4.539 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.4017, allocations: 32.73 kB / 1.052 GB, free: 4.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.402, allocations: 206.6 kB / 1.053 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.4021, allocations: 42.39 kB / 1.053 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.4021, allocations: 16.38 kB / 1.053 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.4024, allocations: 155.2 kB / 1.053 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4024, allocations: 0 / 1.053 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4024, allocations: 4 kB / 1.053 GB, free: 4.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.4025, allocations: 4 kB / 1.053 GB, free: 4.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.4027, allocations: 99.88 kB / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.4035, allocations: 0.6341 MB / 1.054 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.4037, allocations: 58.55 kB / 1.054 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.4038, allocations: 36.84 kB / 1.054 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.4038, allocations: 0 / 1.054 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.404, allocations: 138.8 kB / 1.054 GB, free: 2.973 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.035e-06/0.404, allocations: 0 / 1.054 GB, free: 2.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004463/0.4045, allocations: 167 kB / 1.054 GB, free: 2.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.4046, allocations: 136.5 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.4048, allocations: 178.8 kB / 1.054 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4048, allocations: 33.64 kB / 1.054 GB, free: 2.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.4049, allocations: 147.8 kB / 1.054 GB, free: 2.258 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4049, allocations: 19.75 kB / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.4049, allocations: 0 / 1.054 GB, free: 2.238 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.405, allocations: 330.8 kB / 1.055 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.4051, allocations: 31.98 kB / 1.055 GB, free: 1.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4053, allocations: 113.4 kB / 1.055 GB, free: 1.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.4055, allocations: 238.5 kB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4055, allocations: 4 kB / 1.055 GB, free: 1.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003437/0.4059, allocations: 240.6 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.406, allocations: 67.39 kB / 1.055 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.406, allocations: 4.312 kB / 1.055 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.406, allocations: 11.94 kB / 1.055 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4061, allocations: 27.98 kB / 1.055 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4061, allocations: 3.938 kB / 1.055 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4063, allocations: 27.83 kB / 1.055 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.4063, allocations: 12 kB / 1.056 GB, free: 1.023 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.000127/0.4064, allocations: 156.6 kB / 1.056 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4065, allocations: 19.81 kB / 1.056 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.4065, allocations: 13.41 kB / 1.056 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.4065, allocations: 3.938 kB / 1.056 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4065, allocations: 0 / 1.056 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4065, allocations: 4 kB / 1.056 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.4067, allocations: 213.6 kB / 1.056 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4067, allocations: 0 / 1.056 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.709e-05/0.4068, allocations: 15.92 kB / 1.056 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4068, allocations: 0 / 1.056 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4068, allocations: 8 kB / 1.056 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4068, allocations: 11.88 kB / 1.056 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4068, allocations: 0 / 1.056 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.4072, allocations: 211 kB / 1.056 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.4073, allocations: 88.95 kB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.4073, allocations: 4 kB / 1.056 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.4074, allocations: 28.08 kB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4075, allocations: 15.91 kB / 1.056 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.4075, allocations: 4 kB / 1.056 GB, free: 136 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000101/0.4076, allocations: 135.2 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4076, allocations: 0 / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of remove unused functions: time 0.4611/0.8687, allocations: 30.48 kB / 1.056 GB, free: 151.8 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.000162/0.8689, allocations: 102.7 kB / 1.057 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.8693, allocations: 218.3 kB / 1.057 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8693, allocations: 6.062 kB / 1.057 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.8694, allocations: 102.7 kB / 1.057 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.8697, allocations: 17.27 kB / 1.057 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.8703, allocations: 332.2 kB / 1.057 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.8705, allocations: 0.7093 MB / 1.058 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.8706, allocations: 19.2 kB / 1.058 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.8706, allocations: 13.39 kB / 1.058 GB, free: 150.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.8706, allocations: 0 / 1.058 GB, free: 150.6 MB / 0.698 GB Notification: Performance of Templates: time 0.003517/0.8742, allocations: 1.175 MB / 1.059 GB, free: 150.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)