Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009221/0.009221, allocations: 111.8 kB / 15.06 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001171/0.00117, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.918/1.918, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.163/2.163, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.545, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.7477, allocations: 141.3 MB / 0.8214 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.748, allocations: 75.97 kB / 0.8214 GB, free: 0.8555 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01948/0.7675, allocations: 5.651 MB / 0.8269 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.299e-06/0.7675, allocations: 0 / 0.8269 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.7676, allocations: 4 kB / 0.8269 GB, free: 11.12 MB / 0.6511 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.0006607/0.7682, allocations: 470.7 kB / 0.8274 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7683, allocations: 11.97 kB / 0.8274 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.7686, allocations: 31.75 kB / 0.8274 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.7689, allocations: 210.8 kB / 0.8276 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.7689, allocations: 37.89 kB / 0.8277 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.769, allocations: 8 kB / 0.8277 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.7694, allocations: 148 kB / 0.8278 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.7694, allocations: 3.938 kB / 0.8278 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.7694, allocations: 11.94 kB / 0.8278 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.7695, allocations: 4.188 kB / 0.8278 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.7697, allocations: 92.52 kB / 0.8279 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.7708, allocations: 0.6373 MB / 0.8286 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.7711, allocations: 62.5 kB / 0.8286 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.7711, allocations: 0 / 0.8286 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.7714, allocations: 138.9 kB / 0.8287 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.257e-06/0.7714, allocations: 0 / 0.8287 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005352/0.7719, allocations: 248.2 kB / 0.829 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.7721, allocations: 132.5 kB / 0.8291 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.7723, allocations: 165.4 kB / 0.8293 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.7723, allocations: 25.7 kB / 0.8293 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7725, allocations: 151.8 kB / 0.8294 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.7725, allocations: 23.66 kB / 0.8295 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-06/0.7725, allocations: 0 / 0.8295 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7727, allocations: 330.8 kB / 0.8298 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.7728, allocations: 31.98 kB / 0.8298 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.773, allocations: 109.4 kB / 0.8299 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.7732, allocations: 111.3 kB / 0.83 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-06/0.7733, allocations: 0 / 0.83 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00051/0.7738, allocations: 241 kB / 0.8302 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.7739, allocations: 67.39 kB / 0.8303 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.7739, allocations: 4 kB / 0.8303 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.7739, allocations: 7.953 kB / 0.8303 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7741, allocations: 35.86 kB / 0.8304 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7741, allocations: 4 kB / 0.8304 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.7743, allocations: 27.83 kB / 0.8304 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.7743, allocations: 8 kB / 0.8304 GB, free: 7.203 MB / 0.6511 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.0001896/0.7745, allocations: 169 kB / 0.8306 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.7746, allocations: 15.81 kB / 0.8306 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.7746, allocations: 9.406 kB / 0.8306 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-06/0.7746, allocations: 0 / 0.8306 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-06/0.7747, allocations: 7.953 kB / 0.8306 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-06/0.7747, allocations: 4.031 kB / 0.8306 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.7749, allocations: 213.6 kB / 0.8308 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-06/0.7749, allocations: 0 / 0.8308 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.7751, allocations: 15.98 kB / 0.8308 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.662e-06/0.7751, allocations: 0 / 0.8308 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.7751, allocations: 4 kB / 0.8308 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-06/0.7751, allocations: 0 / 0.8308 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7751, allocations: 0 / 0.8308 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.7757, allocations: 222.8 kB / 0.831 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.7758, allocations: 93.11 kB / 0.8311 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.7758, allocations: 4 kB / 0.8311 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.776, allocations: 11.98 kB / 0.8311 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.7761, allocations: 11.98 kB / 0.8311 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7761, allocations: 0 / 0.8311 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001506/0.7762, allocations: 132.8 kB / 0.8313 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.93e-07/0.7763, allocations: 0 / 0.8313 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003583/0.7766, allocations: 43.77 kB / 0.8313 GB, free: 6.164 MB / 0.6511 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.0001542/0.7768, allocations: 115.2 kB / 0.8314 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.7772, allocations: 218.6 kB / 0.8316 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-06/0.7773, allocations: 0 / 0.8316 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.7774, allocations: 108 kB / 0.8317 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.7777, allocations: 17.25 kB / 0.8317 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.7784, allocations: 338.1 kB / 0.8321 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.7788, allocations: 0.716 MB / 0.8328 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.779, allocations: 16.64 kB / 0.8328 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.779, allocations: 15.44 kB / 0.8328 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of SimCode: time 1.577e-06/0.779, allocations: 0 / 0.8328 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of Templates: time 0.005044/0.7841, allocations: 1.159 MB / 0.8339 GB, free: 3.387 MB / 0.6511 GB