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 4.012/4.012, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.749e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6883, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.9564, allocations: 136.9 MB / 0.7233 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.9568, allocations: 75.95 kB / 0.7234 GB, free: 5.23 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.02349/0.9803, allocations: 5.516 MB / 0.7288 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9804, allocations: 0 / 0.7288 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.9804, allocations: 8 kB / 0.7288 GB, free: 15.63 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.0008424/0.9813, allocations: 461.7 kB / 0.7292 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.9813, allocations: 8.031 kB / 0.7292 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.538e-05/0.9814, allocations: 46.55 kB / 0.7293 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.9818, allocations: 23.86 kB / 0.7293 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.9823, allocations: 204.9 kB / 0.7295 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/0.9824, allocations: 41.88 kB / 0.7296 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.9825, allocations: 12 kB / 0.7296 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.983, allocations: 140.7 kB / 0.7297 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.983, allocations: 3.938 kB / 0.7297 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.983, allocations: 4 kB / 0.7297 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.9831, allocations: 4.188 kB / 0.7297 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.9834, allocations: 76.34 kB / 0.7298 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.9849, allocations: 0.631 MB / 0.7304 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.9853, allocations: 63.38 kB / 0.7305 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.9855, allocations: 16.98 kB / 0.7305 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.9855, allocations: 4 kB / 0.7305 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.9858, allocations: 138.8 kB / 0.7306 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.028e-06/0.9858, allocations: 0 / 0.7306 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004736/0.9863, allocations: 123.4 kB / 0.7307 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.9865, allocations: 132.5 kB / 0.7309 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.9868, allocations: 173.4 kB / 0.731 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.9869, allocations: 33.64 kB / 0.7311 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.9871, allocations: 135.8 kB / 0.7312 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.9871, allocations: 23.73 kB / 0.7312 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.9872, allocations: 8 kB / 0.7312 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.9874, allocations: 322.8 kB / 0.7315 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.9875, allocations: 32 kB / 0.7316 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.9878, allocations: 105.4 kB / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.988, allocations: 99.33 kB / 0.7317 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.9881, allocations: 4 kB / 0.7317 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007012/0.9888, allocations: 224.6 kB / 0.732 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.9889, allocations: 67.72 kB / 0.732 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.9889, allocations: 4 kB / 0.732 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.989, allocations: 4 kB / 0.732 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.9893, allocations: 31.92 kB / 0.7321 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.9894, allocations: 4 kB / 0.7321 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.9898, allocations: 27.83 kB / 0.7321 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.9898, allocations: 8 kB / 0.7321 GB, free: 11.88 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.0001983/0.99, allocations: 152.1 kB / 0.7322 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.9901, allocations: 23.8 kB / 0.7323 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.9902, allocations: 13.53 kB / 0.7323 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9902, allocations: 0 / 0.7323 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9902, allocations: 0 / 0.7323 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9902, allocations: 0 / 0.7323 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.9907, allocations: 209.6 kB / 0.7325 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9907, allocations: 0 / 0.7325 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.9909, allocations: 15.98 kB / 0.7325 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.9909, allocations: 0 / 0.7325 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.991, allocations: 11.95 kB / 0.7325 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.991, allocations: 0 / 0.7325 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.991, allocations: 0 / 0.7325 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.9917, allocations: 190.7 kB / 0.7327 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.9918, allocations: 100.8 kB / 0.7328 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.9919, allocations: 4 kB / 0.7328 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.9922, allocations: 28 kB / 0.7328 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.9923, allocations: 7.984 kB / 0.7328 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.9923, allocations: 4 kB / 0.7328 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002284/0.9926, allocations: 132.3 kB / 0.733 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9926, allocations: 0 / 0.733 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005959/0.9932, allocations: 31.98 kB / 0.733 GB, free: 10.87 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.001054/0.9943, allocations: 0.7349 MB / 0.7337 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.9948, allocations: 198.7 kB / 0.7339 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9948, allocations: 4 kB / 0.7339 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.9951, allocations: 99.39 kB / 0.734 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.9954, allocations: 18.36 kB / 0.734 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.9967, allocations: 230.2 kB / 0.7342 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.9971, allocations: 0.716 MB / 0.7349 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.9973, allocations: 24.69 kB / 0.735 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.9975, allocations: 43.36 kB / 0.735 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/0.9975, allocations: 0 / 0.735 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/1.046, allocations: 2.64 MB / 0.7376 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/1.046, allocations: 163.8 kB / 0.7377 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.343, allocations: 0 / 0.7377 GB, free: 5.887 MB / 0.6198 GB