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.004273/0.004278, allocations: 233.8 kB / 15.82 MB, free: 6.297 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.001169/0.001169, allocations: 175.3 kB / 16.7 MB, free: 5.457 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 3.728/3.728, allocations: 389.1 MB / 406.5 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.238/4.238, allocations: 472.3 MB / 0.9024 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 16 kB / 1.008 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6779, allocations: 98.7 MB / 1.105 GB, free: 34.78 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2501/0.928, allocations: 141.3 MB / 1.243 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.9284, allocations: 79.95 kB / 1.243 GB, free: 2.957 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.02068/0.9491, allocations: 5.654 MB / 1.248 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9491, allocations: 0 / 1.248 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.9491, allocations: 0 / 1.248 GB, free: 13.33 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.000686/0.9498, allocations: 474.6 kB / 1.249 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9499, allocations: 8.625 kB / 1.249 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.9502, allocations: 37.05 kB / 1.249 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.9505, allocations: 202.8 kB / 1.249 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.9505, allocations: 41.88 kB / 1.249 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.9506, allocations: 13.47 kB / 1.249 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.951, allocations: 152 kB / 1.249 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.951, allocations: 0 / 1.249 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.9511, allocations: 7.953 kB / 1.249 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.9511, allocations: 5.75 kB / 1.249 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.9514, allocations: 95.16 kB / 1.249 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9525, allocations: 0.6348 MB / 1.25 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.9528, allocations: 59.7 kB / 1.25 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.953, allocations: 29.92 kB / 1.25 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.953, allocations: 0.625 kB / 1.25 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.9533, allocations: 143.5 kB / 1.25 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.9533, allocations: 0 / 1.25 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005094/0.9538, allocations: 169.9 kB / 1.25 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.9539, allocations: 136.5 kB / 1.25 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.9541, allocations: 181.7 kB / 1.251 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.9542, allocations: 31.02 kB / 1.251 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.9543, allocations: 140.5 kB / 1.251 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.9544, allocations: 27.66 kB / 1.251 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.9544, allocations: 0 / 1.251 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9545, allocations: 326.8 kB / 1.251 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.9547, allocations: 35.97 kB / 1.251 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.9549, allocations: 116.7 kB / 1.251 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.9551, allocations: 103.4 kB / 1.251 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.9551, allocations: 5.219 kB / 1.251 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005331/0.9557, allocations: 232.7 kB / 1.252 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.9557, allocations: 67.67 kB / 1.252 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.9558, allocations: 11.94 kB / 1.252 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.9558, allocations: 4 kB / 1.252 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.956, allocations: 31.92 kB / 1.252 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.956, allocations: 9.312 kB / 1.252 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.9562, allocations: 23.84 kB / 1.252 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.9563, allocations: 10.06 kB / 1.252 GB, free: 9.488 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.0001688/0.9565, allocations: 167.5 kB / 1.252 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.9565, allocations: 16.98 kB / 1.252 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.9566, allocations: 21.34 kB / 1.252 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9566, allocations: 0 / 1.252 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9566, allocations: 0.6875 kB / 1.252 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9566, allocations: 0 / 1.252 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.9568, allocations: 217.6 kB / 1.252 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9569, allocations: 0 / 1.252 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.957, allocations: 9.625 kB / 1.252 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.957, allocations: 4 kB / 1.252 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.957, allocations: 7.984 kB / 1.252 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.9571, allocations: 3.953 kB / 1.252 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9571, allocations: 0 / 1.252 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.9576, allocations: 210.5 kB / 1.252 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.9577, allocations: 93.03 kB / 1.252 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.9578, allocations: 8.578 kB / 1.252 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.9579, allocations: 11.98 kB / 1.252 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.958, allocations: 15.94 kB / 1.252 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.958, allocations: 4 kB / 1.252 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001448/0.9582, allocations: 130.7 kB / 1.253 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9582, allocations: 0 / 1.253 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003425/0.9586, allocations: 37.25 kB / 1.253 GB, free: 8.445 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.0001447/0.9587, allocations: 112.1 kB / 1.253 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.9592, allocations: 216 kB / 1.253 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9592, allocations: 0 / 1.253 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.9594, allocations: 108 kB / 1.253 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.9597, allocations: 22.39 kB / 1.253 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.9605, allocations: 338.1 kB / 1.253 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.9608, allocations: 0.716 MB / 1.254 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.961, allocations: 17.62 kB / 1.254 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.961, allocations: 11.44 kB / 1.254 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/0.961, allocations: 0 / 1.254 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of Templates: time 0.00522/0.9663, allocations: 1.178 MB / 1.255 GB, free: 5.715 MB / 0.6511 GB