Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.407e-05, allocations: 4 kB / 0.5731 GB, free: 5.746 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7792/0.9844, allocations: 148.6 MB / 0.8229 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.9848, allocations: 78.06 kB / 0.8229 GB, free: 12.45 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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.01794/1.003, allocations: 5.587 MB / 0.8284 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/1.003, allocations: 0 / 0.8284 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.348e-05/1.003, allocations: 0 / 0.8284 GB, free: 10.74 MB / 0.6355 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.0004591/1.003, allocations: 450.7 kB / 0.8288 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.003, allocations: 15.38 kB / 0.8288 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/1.004, allocations: 31.17 kB / 0.8289 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/1.004, allocations: 208.5 kB / 0.8291 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/1.004, allocations: 36.67 kB / 0.8291 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.004, allocations: 11.72 kB / 0.8291 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/1.004, allocations: 145.7 kB / 0.8293 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.004, allocations: 3.938 kB / 0.8293 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/1.004, allocations: 0 / 0.8293 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/1.004, allocations: 15.89 kB / 0.8293 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/1.005, allocations: 70.89 kB / 0.8293 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/1.005, allocations: 0.6446 MB / 0.83 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/1.006, allocations: 43.67 kB / 0.83 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/1.006, allocations: 25.45 kB / 0.83 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/1.006, allocations: 0 / 0.83 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/1.006, allocations: 130.5 kB / 0.8302 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.482e-06/1.006, allocations: 7.812 kB / 0.8302 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002747/1.006, allocations: 125.9 kB / 0.8303 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.006, allocations: 128.5 kB / 0.8304 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/1.006, allocations: 165.8 kB / 0.8306 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.006, allocations: 25.7 kB / 0.8306 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/1.007, allocations: 146.6 kB / 0.8307 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/1.007, allocations: 19.33 kB / 0.8308 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/1.007, allocations: 6.719 kB / 0.8308 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/1.007, allocations: 332.2 kB / 0.8311 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/1.007, allocations: 24.09 kB / 0.8311 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.007, allocations: 106 kB / 0.8312 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/1.007, allocations: 104.8 kB / 0.8313 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.582e-06/1.007, allocations: 0 / 0.8313 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003683/1.007, allocations: 223.2 kB / 0.8315 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/1.007, allocations: 62.78 kB / 0.8316 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.219e-06/1.007, allocations: 0 / 0.8316 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.008, allocations: 3.844 kB / 0.8316 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.008, allocations: 34.83 kB / 0.8316 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.145e-06/1.008, allocations: 0 / 0.8316 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.008, allocations: 43.34 kB / 0.8317 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/1.008, allocations: 11.34 kB / 0.8317 GB, free: 7.988 MB / 0.6355 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 9.008e-05/1.008, allocations: 150 kB / 0.8318 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/1.008, allocations: 11.66 kB / 0.8318 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/1.008, allocations: 17.09 kB / 0.8318 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-06/1.008, allocations: 0 / 0.8318 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.761e-06/1.008, allocations: 0 / 0.8318 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-06/1.008, allocations: 3.984 kB / 0.8318 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/1.008, allocations: 218.2 kB / 0.8321 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-06/1.008, allocations: 0 / 0.8321 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/1.008, allocations: 11.7 kB / 0.8321 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.678e-06/1.008, allocations: 48 / 0.8321 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.009, allocations: 7.766 kB / 0.8321 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-06/1.009, allocations: 0 / 0.8321 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.009, allocations: 0 / 0.8321 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/1.009, allocations: 203.6 kB / 0.8323 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/1.009, allocations: 92.83 kB / 0.8324 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/1.009, allocations: 7.672 kB / 0.8324 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.009, allocations: 7.688 kB / 0.8324 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/1.009, allocations: 11.52 kB / 0.8324 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.009, allocations: 3.812 kB / 0.8324 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001797/1.01, allocations: 141.3 kB / 0.8325 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.293e-06/1.01, allocations: 0 / 0.8325 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006693/1.01, allocations: 26.25 kB / 0.8325 GB, free: 7.281 MB / 0.6355 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.0001622/1.01, allocations: 109.8 kB / 0.8326 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006653/1.011, allocations: 197.4 kB / 0.8328 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.011, allocations: 0 / 0.8328 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/1.011, allocations: 103.8 kB / 0.8329 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/1.012, allocations: 15.3 kB / 0.8329 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/1.013, allocations: 195.5 kB / 0.8331 GB, free: 22.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/1.013, allocations: 0.7179 MB / 0.8338 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001802/1.013, allocations: 19.98 kB / 0.8339 GB, free: 22.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/1.014, allocations: 11.28 kB / 0.8339 GB, free: 22.12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.56e-06/1.014, allocations: 0 / 0.8339 GB, free: 22.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.006747/1.02, allocations: 1.168 MB / 0.835 GB, free: 21.55 MB / 0.6511 GB