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.535/3.535, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.872e-05, allocations: 3.938 kB / 0.5003 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 92.68 MB / 0.5908 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6044/0.7699, allocations: 136.9 MB / 0.7246 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.7702, allocations: 79.95 kB / 0.7246 GB, free: 5.383 MB / 0.5886 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.01952/0.7897, allocations: 5.579 MB / 0.7301 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7898, allocations: 0 / 0.7301 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.7898, allocations: 4 kB / 0.7301 GB, free: 15.73 MB / 0.6042 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.0006292/0.7904, allocations: 458.5 kB / 0.7305 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7905, allocations: 12.03 kB / 0.7305 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.7908, allocations: 27.84 kB / 0.7306 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.7911, allocations: 206.8 kB / 0.7308 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.7912, allocations: 38.11 kB / 0.7308 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.7912, allocations: 12 kB / 0.7308 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.7916, allocations: 154.7 kB / 0.731 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7916, allocations: 3.938 kB / 0.731 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.7917, allocations: 8 kB / 0.731 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.7917, allocations: 8.172 kB / 0.731 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.792, allocations: 88.52 kB / 0.7311 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.7931, allocations: 0.631 MB / 0.7317 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.7934, allocations: 58.5 kB / 0.7317 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.7934, allocations: 0 / 0.7317 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.7937, allocations: 146.9 kB / 0.7319 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.592e-06/0.7937, allocations: 0 / 0.7319 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005664/0.7943, allocations: 252.2 kB / 0.7321 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.7944, allocations: 132.5 kB / 0.7322 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.7947, allocations: 165.4 kB / 0.7324 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.7947, allocations: 33.7 kB / 0.7324 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.7948, allocations: 135.8 kB / 0.7326 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.7949, allocations: 19.75 kB / 0.7326 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.7949, allocations: 4 kB / 0.7326 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7951, allocations: 322.8 kB / 0.7329 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7952, allocations: 39.97 kB / 0.7329 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.7954, allocations: 109.4 kB / 0.733 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.7956, allocations: 107.3 kB / 0.7331 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.7957, allocations: 4 kB / 0.7331 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005514/0.7962, allocations: 248.6 kB / 0.7334 GB, free: 12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.7963, allocations: 67.34 kB / 0.7334 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.734e-06/0.7963, allocations: 4 kB / 0.7334 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.7964, allocations: 7.938 kB / 0.7334 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.7965, allocations: 31.92 kB / 0.7335 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7966, allocations: 4 kB / 0.7335 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.7968, allocations: 32.14 kB / 0.7335 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.7968, allocations: 8 kB / 0.7335 GB, free: 11.83 MB / 0.6042 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.0001997/0.797, allocations: 170.8 kB / 0.7337 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.7971, allocations: 15.75 kB / 0.7337 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.7971, allocations: 17.36 kB / 0.7337 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-06/0.7971, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-06/0.7972, allocations: 4 kB / 0.7337 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-06/0.7972, allocations: 0 / 0.7337 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.7974, allocations: 213.6 kB / 0.7339 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-06/0.7975, allocations: 0 / 0.7339 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7976, allocations: 11.98 kB / 0.7339 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.7976, allocations: 0 / 0.7339 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.7976, allocations: 4 kB / 0.7339 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7976, allocations: 3.953 kB / 0.7339 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.218e-06/0.7977, allocations: 320 / 0.7339 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.7982, allocations: 226.7 kB / 0.7342 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.7983, allocations: 92.98 kB / 0.7342 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.7984, allocations: 0 / 0.7342 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7985, allocations: 15.98 kB / 0.7343 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.7986, allocations: 15.94 kB / 0.7343 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.7986, allocations: 0 / 0.7343 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000162/0.7988, allocations: 135.3 kB / 0.7344 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-07/0.7988, allocations: 0 / 0.7344 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003673/0.7992, allocations: 39.94 kB / 0.7344 GB, free: 10.79 MB / 0.6042 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.0001656/0.7994, allocations: 115 kB / 0.7346 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.7998, allocations: 215.3 kB / 0.7348 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.677e-06/0.7998, allocations: 4 kB / 0.7348 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.8, allocations: 107.4 kB / 0.7349 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.8003, allocations: 12 kB / 0.7349 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.8011, allocations: 342.6 kB / 0.7352 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.8015, allocations: 0.7121 MB / 0.7359 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.8016, allocations: 20.64 kB / 0.7359 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.8017, allocations: 11.44 kB / 0.7359 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of SimCode: time 1.582e-06/0.8017, allocations: 0 / 0.7359 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of Templates: time 0.005104/0.8068, allocations: 1.185 MB / 0.7371 GB, free: 7.988 MB / 0.6042 GB