Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.593/4.593, allocations: 404.2 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.453e-05, allocations: 3.281 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6863, allocations: 92.68 MB / 0.585 GB, free: 2.332 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.9729, allocations: 136.2 MB / 0.7181 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/0.9734, allocations: 75.95 kB / 0.7182 GB, free: 9.836 MB / 0.6042 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.02693/1, allocations: 5.492 MB / 0.7235 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/1, allocations: 0 / 0.7235 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.836e-05/1, allocations: 4 kB / 0.7235 GB, free: 4.266 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.0007303/1.001, allocations: 461.7 kB / 0.724 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.001, allocations: 8.031 kB / 0.724 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/1.002, allocations: 28.06 kB / 0.724 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/1.002, allocations: 203.4 kB / 0.7242 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/1.002, allocations: 41.77 kB / 0.7242 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/1.002, allocations: 8 kB / 0.7242 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002615/1.002, allocations: 60.17 kB / 0.7243 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/1.003, allocations: 132.7 kB / 0.7244 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.003, allocations: 0 / 0.7244 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/1.003, allocations: 0 / 0.7244 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/1.003, allocations: 4.188 kB / 0.7244 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/1.004, allocations: 0.6116 MB / 0.725 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/1.004, allocations: 50.55 kB / 0.7251 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/1.004, allocations: 20.98 kB / 0.7251 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.005, allocations: 3.938 kB / 0.7251 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/1.005, allocations: 134.8 kB / 0.7252 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/1.005, allocations: 0 / 0.7252 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003679/1.005, allocations: 97.39 kB / 0.7253 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.005, allocations: 132.5 kB / 0.7254 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/1.006, allocations: 157.5 kB / 0.7256 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/1.006, allocations: 25.7 kB / 0.7256 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.006, allocations: 147.3 kB / 0.7258 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/1.006, allocations: 15.75 kB / 0.7258 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/1.006, allocations: 8 kB / 0.7258 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.006, allocations: 318.8 kB / 0.7261 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.006, allocations: 31.98 kB / 0.7261 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.006, allocations: 89.97 kB / 0.7262 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/1.007, allocations: 43.91 kB / 0.7262 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.007, allocations: 4 kB / 0.7262 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000492/1.007, allocations: 157.3 kB / 0.7264 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/1.007, allocations: 62.22 kB / 0.7265 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.007, allocations: 4 kB / 0.7265 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.007, allocations: 7.953 kB / 0.7265 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/1.008, allocations: 31.92 kB / 0.7265 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.008, allocations: 4 kB / 0.7265 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/1.008, allocations: 28.14 kB / 0.7265 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/1.008, allocations: 15.94 kB / 0.7265 GB, free: 0.8516 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.0001462/1.008, allocations: 144 kB / 0.7267 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002962/1.008, allocations: 97.58 kB / 0.7268 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/1.008, allocations: 19.77 kB / 0.7268 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/1.009, allocations: 17.83 kB / 0.7268 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/1.009, allocations: 0 / 0.7268 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.009, allocations: 4 kB / 0.7268 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.009, allocations: 0 / 0.7268 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.009, allocations: 182.2 kB / 0.727 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.009, allocations: 7.938 kB / 0.727 GB, free: 340 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.009, allocations: 19.92 kB / 0.727 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.009, allocations: 0 / 0.727 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.009, allocations: 0 / 0.727 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.009, allocations: 3.953 kB / 0.727 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.009, allocations: 0 / 0.727 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/1.01, allocations: 156.9 kB / 0.7272 GB, free: 140 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/1.01, allocations: 85.05 kB / 0.7272 GB, free: 36 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/1.01, allocations: 4 kB / 0.7273 GB, free: 32 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/1.01, allocations: 11.98 kB / 0.7273 GB, free: 20 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/1.01, allocations: 15.94 kB / 0.7273 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/1.01, allocations: 4 kB / 0.7273 GB, free: 0 / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001898/1.01, allocations: 124.5 kB / 0.7274 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/1.01, allocations: 4.062 kB / 0.7274 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004453/1.011, allocations: 31.84 kB / 0.7274 GB, free: 15.84 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.0008079/1.012, allocations: 0.6981 MB / 0.7281 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003914/1.012, allocations: 199.1 kB / 0.7283 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.012, allocations: 4.25 kB / 0.7283 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/1.012, allocations: 95.41 kB / 0.7284 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/1.013, allocations: 15.95 kB / 0.7284 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/1.014, allocations: 232.2 kB / 0.7286 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/1.014, allocations: 0.7158 MB / 0.7293 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001518/1.014, allocations: 13.05 kB / 0.7294 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/1.014, allocations: 39.42 kB / 0.7294 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/1.014, allocations: 0 / 0.7294 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/1.057, allocations: 2.275 MB / 0.7316 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004044/1.058, allocations: 165.7 kB / 0.7318 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.662/3.719, allocations: 0 / 0.7318 GB, free: 11.26 MB / 0.6198 GB