Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadModel(Buildings): time 3.657/3.657, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.979e-05, allocations: 11.88 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5293, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.7321, allocations: 136.9 MB / 0.7232 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.7324, allocations: 75.95 kB / 0.7233 GB, free: 5.332 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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.01937/0.7518, allocations: 5.512 MB / 0.7287 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.266e-06/0.7519, allocations: 4 kB / 0.7287 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7519, allocations: 0 / 0.7287 GB, free: 15.74 MB / 0.6198 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.0006041/0.7525, allocations: 462.5 kB / 0.7291 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.7526, allocations: 8.031 kB / 0.7292 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.7529, allocations: 27.84 kB / 0.7292 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.7532, allocations: 194.9 kB / 0.7294 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.7532, allocations: 41.88 kB / 0.7294 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.7533, allocations: 16 kB / 0.7294 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.7536, allocations: 144.7 kB / 0.7296 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.7537, allocations: 3.984 kB / 0.7296 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.7537, allocations: 0 / 0.7296 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.7537, allocations: 4.188 kB / 0.7296 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.7539, allocations: 76.3 kB / 0.7296 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.755, allocations: 0.6388 MB / 0.7303 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.7553, allocations: 50.58 kB / 0.7303 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.7553, allocations: 20.98 kB / 0.7303 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.7554, allocations: 0 / 0.7303 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.7556, allocations: 146.7 kB / 0.7305 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.7556, allocations: 0 / 0.7305 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00033/0.7559, allocations: 127.4 kB / 0.7306 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.7561, allocations: 132.5 kB / 0.7307 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.7563, allocations: 173.4 kB / 0.7309 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.7563, allocations: 29.7 kB / 0.7309 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.7565, allocations: 135.8 kB / 0.731 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.7565, allocations: 23.73 kB / 0.7311 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.7565, allocations: 4 kB / 0.7311 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7567, allocations: 322.8 kB / 0.7314 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.7568, allocations: 28 kB / 0.7314 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.757, allocations: 112.2 kB / 0.7315 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.7571, allocations: 103.2 kB / 0.7316 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.375e-06/0.7571, allocations: 0 / 0.7316 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004359/0.7576, allocations: 221 kB / 0.7318 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.7577, allocations: 67.39 kB / 0.7319 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-06/0.7577, allocations: 4 kB / 0.7319 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7577, allocations: 4 kB / 0.7319 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.7579, allocations: 31.92 kB / 0.7319 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.758, allocations: 7.984 kB / 0.7319 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.7582, allocations: 23.84 kB / 0.732 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.7582, allocations: 8 kB / 0.732 GB, free: 12.04 MB / 0.6198 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.0001371/0.7584, allocations: 150.6 kB / 0.7321 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.7584, allocations: 11.91 kB / 0.7321 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.7585, allocations: 17.48 kB / 0.7321 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-06/0.7585, allocations: 0 / 0.7321 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.774e-06/0.7585, allocations: 3.984 kB / 0.7321 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-06/0.7585, allocations: 0 / 0.7321 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.7588, allocations: 217.5 kB / 0.7323 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-06/0.7588, allocations: 0 / 0.7323 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.7589, allocations: 11.98 kB / 0.7324 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.682e-06/0.7589, allocations: 4 kB / 0.7324 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.759, allocations: 4 kB / 0.7324 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-06/0.759, allocations: 7.891 kB / 0.7324 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-06/0.759, allocations: 0 / 0.7324 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.7594, allocations: 186.7 kB / 0.7325 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.7595, allocations: 96.88 kB / 0.7326 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.7596, allocations: 8 kB / 0.7326 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.7597, allocations: 12.06 kB / 0.7327 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.7598, allocations: 12.03 kB / 0.7327 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.7598, allocations: 4 kB / 0.7327 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001487/0.76, allocations: 132.3 kB / 0.7328 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.76e-07/0.76, allocations: 0 / 0.7328 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003524/0.7604, allocations: 39.94 kB / 0.7328 GB, free: 11.04 MB / 0.6198 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.0001623/0.7605, allocations: 115 kB / 0.7329 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.7609, allocations: 202.8 kB / 0.7331 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.763e-06/0.7609, allocations: 0 / 0.7331 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.7611, allocations: 99.39 kB / 0.7332 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.7613, allocations: 18.17 kB / 0.7333 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.7619, allocations: 183.9 kB / 0.7334 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.7623, allocations: 0.7243 MB / 0.7341 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.891e-05/0.7624, allocations: 16.77 kB / 0.7342 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.7624, allocations: 11.44 kB / 0.7342 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.576e-06/0.7624, allocations: 4 kB / 0.7342 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of Templates: time 0.004999/0.7675, allocations: 1.168 MB / 0.7353 GB, free: 8.426 MB / 0.6198 GB