Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.847/3.847, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.559e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6097, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.8787, allocations: 136.9 MB / 0.7233 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.8792, allocations: 75.95 kB / 0.7234 GB, free: 5.191 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.02687/0.9061, allocations: 5.508 MB / 0.7288 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9062, allocations: 4 kB / 0.7288 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.9062, allocations: 4 kB / 0.7288 GB, free: 15.61 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.0007186/0.9069, allocations: 457.7 kB / 0.7292 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.907, allocations: 11.97 kB / 0.7292 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.9071, allocations: 42.55 kB / 0.7293 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.9074, allocations: 27.84 kB / 0.7293 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.9077, allocations: 208.2 kB / 0.7295 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.9078, allocations: 37.88 kB / 0.7295 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.9078, allocations: 12 kB / 0.7295 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.9082, allocations: 140.9 kB / 0.7297 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9082, allocations: 3.984 kB / 0.7297 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.9083, allocations: 8 kB / 0.7297 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.9083, allocations: 4.188 kB / 0.7297 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.9086, allocations: 80.47 kB / 0.7298 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.9097, allocations: 0.6388 MB / 0.7304 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.91, allocations: 51.45 kB / 0.7304 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.9101, allocations: 20.98 kB / 0.7304 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.9102, allocations: 0 / 0.7304 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.9104, allocations: 142.7 kB / 0.7306 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.9104, allocations: 224 / 0.7306 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003567/0.9108, allocations: 127.1 kB / 0.7307 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.9109, allocations: 140.5 kB / 0.7308 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.9112, allocations: 161.5 kB / 0.731 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.9112, allocations: 33.7 kB / 0.731 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.9113, allocations: 131.8 kB / 0.7312 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.9114, allocations: 27.72 kB / 0.7312 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.9114, allocations: 4 kB / 0.7312 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9116, allocations: 322.8 kB / 0.7315 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.9117, allocations: 32 kB / 0.7315 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.9119, allocations: 107.1 kB / 0.7316 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.9121, allocations: 99.38 kB / 0.7317 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9121, allocations: 0 / 0.7317 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004952/0.9126, allocations: 236.8 kB / 0.7319 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.9127, allocations: 59.41 kB / 0.732 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9127, allocations: 4 kB / 0.732 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.9127, allocations: 4 kB / 0.732 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.913, allocations: 35.92 kB / 0.732 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.913, allocations: 7.984 kB / 0.7321 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.9133, allocations: 19.84 kB / 0.7321 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.9133, allocations: 8 kB / 0.7321 GB, free: 11.84 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.0001561/0.9135, allocations: 155.2 kB / 0.7322 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.9135, allocations: 19.77 kB / 0.7322 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.9136, allocations: 13.53 kB / 0.7323 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9136, allocations: 3.984 kB / 0.7323 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9136, allocations: 0 / 0.7323 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9136, allocations: 0 / 0.7323 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.9139, allocations: 209.6 kB / 0.7325 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.9139, allocations: 0 / 0.7325 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.9141, allocations: 19.98 kB / 0.7325 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.9141, allocations: 0 / 0.7325 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.9141, allocations: 3.953 kB / 0.7325 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9141, allocations: 0 / 0.7325 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.9142, allocations: 7.938 kB / 0.7325 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.9146, allocations: 194.7 kB / 0.7327 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.9147, allocations: 92.94 kB / 0.7328 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.9148, allocations: 0 / 0.7328 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.9149, allocations: 20.02 kB / 0.7328 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.915, allocations: 15.97 kB / 0.7328 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.9151, allocations: 0 / 0.7328 GB, free: 11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001628/0.9152, allocations: 136.3 kB / 0.7329 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9153, allocations: 0 / 0.7329 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000342/0.9156, allocations: 35.94 kB / 0.733 GB, free: 10.83 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.0007866/0.9164, allocations: 0.7388 MB / 0.7337 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.9168, allocations: 210.7 kB / 0.7339 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9168, allocations: 0 / 0.7339 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.917, allocations: 99.39 kB / 0.734 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.9173, allocations: 16.64 kB / 0.734 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.9182, allocations: 237.5 kB / 0.7342 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.9185, allocations: 0.716 MB / 0.7349 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.9187, allocations: 16.77 kB / 0.7349 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.9188, allocations: 35.42 kB / 0.735 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.9188, allocations: 3.938 kB / 0.735 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.9461, allocations: 2.658 MB / 0.7376 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/0.9465, allocations: 163.4 kB / 0.7377 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.314, allocations: 0 / 0.7377 GB, free: 5.832 MB / 0.6198 GB