Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.54/4.54, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.104e-05, allocations: 0 / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9005/1.144, allocations: 148.6 MB / 0.823 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.144, allocations: 78.11 kB / 0.823 GB, free: 11.99 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.01993/1.164, allocations: 5.58 MB / 0.8285 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.512e-06/1.164, allocations: 0 / 0.8285 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.164, allocations: 0 / 0.8285 GB, free: 10.3 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.0005525/1.165, allocations: 451.5 kB / 0.8289 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.165, allocations: 7.719 kB / 0.8289 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/1.165, allocations: 45.78 kB / 0.829 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/1.165, allocations: 27.33 kB / 0.829 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/1.165, allocations: 226.8 kB / 0.8292 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/1.166, allocations: 33.36 kB / 0.8292 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/1.166, allocations: 15.03 kB / 0.8293 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/1.166, allocations: 135.8 kB / 0.8294 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.166, allocations: 0 / 0.8294 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.166, allocations: 3.844 kB / 0.8294 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/1.166, allocations: 8.031 kB / 0.8294 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/1.166, allocations: 83.83 kB / 0.8295 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.167, allocations: 0.6376 MB / 0.8301 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/1.168, allocations: 47.5 kB / 0.8301 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/1.168, allocations: 23.64 kB / 0.8302 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.168, allocations: 3.984 kB / 0.8302 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/1.168, allocations: 141.2 kB / 0.8303 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.327e-06/1.168, allocations: 0 / 0.8303 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003263/1.168, allocations: 126.7 kB / 0.8304 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.168, allocations: 136.1 kB / 0.8306 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/1.169, allocations: 162.5 kB / 0.8307 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.169, allocations: 29.08 kB / 0.8307 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/1.169, allocations: 144.4 kB / 0.8309 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/1.169, allocations: 14.66 kB / 0.8309 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/1.169, allocations: 3.812 kB / 0.8309 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/1.169, allocations: 329.5 kB / 0.8312 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/1.169, allocations: 32.8 kB / 0.8312 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.169, allocations: 98 kB / 0.8313 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/1.169, allocations: 95.52 kB / 0.8314 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.169, allocations: 3.844 kB / 0.8314 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003992/1.17, allocations: 227.1 kB / 0.8316 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/1.17, allocations: 65.39 kB / 0.8317 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.17, allocations: 3.844 kB / 0.8317 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.17, allocations: 7.781 kB / 0.8317 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/1.17, allocations: 30.92 kB / 0.8317 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.17, allocations: 12.12 kB / 0.8318 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/1.17, allocations: 30.61 kB / 0.8318 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/1.17, allocations: 11.67 kB / 0.8318 GB, free: 7.496 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 0.0001202/1.171, allocations: 149.2 kB / 0.8319 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/1.171, allocations: 11.59 kB / 0.832 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/1.171, allocations: 16.52 kB / 0.832 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.171, allocations: 3.812 kB / 0.832 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.171, allocations: 0 / 0.832 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.171, allocations: 7.953 kB / 0.832 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/1.171, allocations: 216.4 kB / 0.8322 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.171, allocations: 3.938 kB / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/1.171, allocations: 11.25 kB / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.171, allocations: 0 / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/1.171, allocations: 3.984 kB / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.171, allocations: 0 / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.172, allocations: 3.719 kB / 0.8322 GB, free: 23.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/1.172, allocations: 195.7 kB / 0.8324 GB, free: 23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/1.172, allocations: 88.77 kB / 0.8325 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/1.172, allocations: 3.594 kB / 0.8325 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.172, allocations: 11.73 kB / 0.8325 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/1.172, allocations: 10.95 kB / 0.8325 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.172, allocations: 3.844 kB / 0.8325 GB, free: 22.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001532/1.173, allocations: 135.8 kB / 0.8326 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.173, allocations: 4.062 kB / 0.8326 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003754/1.173, allocations: 30.06 kB / 0.8327 GB, free: 22.8 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) * 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.0007617/1.174, allocations: 0.7406 MB / 0.8334 GB, free: 22.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003659/1.174, allocations: 201.2 kB / 0.8336 GB, free: 22.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.174, allocations: 128 / 0.8336 GB, free: 22.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.174, allocations: 99.34 kB / 0.8337 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.175, allocations: 19.27 kB / 0.8337 GB, free: 21.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/1.176, allocations: 240.7 kB / 0.8339 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/1.176, allocations: 0.7149 MB / 0.8346 GB, free: 21.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001546/1.176, allocations: 20.05 kB / 0.8346 GB, free: 21.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/1.176, allocations: 35.92 kB / 0.8347 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.176, allocations: 0 / 0.8347 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/1.198, allocations: 2.659 MB / 0.8373 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/1.199, allocations: 159.3 kB / 0.8374 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.514, allocations: 4 kB / 0.8374 GB, free: 19.5 MB / 0.6511 GB