Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.97/3.97, allocations: 403.3 MB / 415.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.799e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6235, allocations: 92.67 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.8693, allocations: 136.3 MB / 0.7228 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/0.8697, allocations: 87.94 kB / 0.7228 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08352/0.9533, allocations: 20.22 MB / 0.7426 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9533, allocations: 0 / 0.7426 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.355e-05/0.9534, allocations: 15.98 kB / 0.7426 GB, free: 1.387 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001472/0.9549, allocations: 0.6385 MB / 0.7432 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.9549, allocations: 12.03 kB / 0.7432 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.955, allocations: 70.53 kB / 0.7433 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.9564, allocations: 135.2 kB / 0.7434 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/0.9574, allocations: 374.7 kB / 0.7438 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.9575, allocations: 20.78 kB / 0.7438 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.9576, allocations: 31.92 kB / 0.7438 GB, free: 20 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.9588, allocations: 0.581 MB / 0.7444 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.9589, allocations: 0 / 0.7444 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.9589, allocations: 19.98 kB / 0.7444 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/0.959, allocations: 36.53 kB / 0.7445 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/0.96, allocations: 377.8 kB / 0.7448 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.9645, allocations: 3.059 MB / 0.7478 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.9655, allocations: 318.7 kB / 0.7481 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.9659, allocations: 156.8 kB / 0.7483 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.966, allocations: 8.438 kB / 0.7483 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.9661, allocations: 34.56 kB / 0.7483 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.9661, allocations: 0 / 0.7483 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.002062/0.9681, allocations: 0.5977 MB / 0.7489 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.9682, allocations: 55.64 kB / 0.7489 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.9688, allocations: 283.5 kB / 0.7492 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.9688, allocations: 33.64 kB / 0.7492 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.969, allocations: 247.7 kB / 0.7495 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.9692, allocations: 94.64 kB / 0.7496 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.9692, allocations: 8 kB / 0.7496 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9694, allocations: 350.8 kB / 0.7499 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.9698, allocations: 124.7 kB / 0.75 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.9703, allocations: 252.9 kB / 0.7503 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.9707, allocations: 175.6 kB / 0.7504 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9708, allocations: 0 / 0.7504 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001515/0.9723, allocations: 0.5151 MB / 0.7509 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.9724, allocations: 9.719 kB / 0.751 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9724, allocations: 4 kB / 0.751 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/0.9729, allocations: 86.52 kB / 0.751 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.9736, allocations: 75.89 kB / 0.7511 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/0.9737, allocations: 28 kB / 0.7511 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.9742, allocations: 31.97 kB / 0.7512 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.9743, allocations: 16 kB / 0.7512 GB, free: 8.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.9745, allocations: 124.9 kB / 0.7513 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.9746, allocations: 39.53 kB / 0.7513 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.9759, allocations: 447.2 kB / 0.7518 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.9759, allocations: 7.953 kB / 0.7518 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.976, allocations: 0 / 0.7518 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.976, allocations: 4 kB / 0.7518 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.9784, allocations: 0.9443 MB / 0.7527 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.9784, allocations: 0 / 0.7527 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.9789, allocations: 55.89 kB / 0.7528 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.9794, allocations: 82.52 kB / 0.7528 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.9794, allocations: 0 / 0.7528 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.9794, allocations: 4 kB / 0.7528 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9795, allocations: 0 / 0.7528 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.9807, allocations: 0.5614 MB / 0.7534 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.981, allocations: 140.6 kB / 0.7535 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.9811, allocations: 8 kB / 0.7535 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.9815, allocations: 23.97 kB / 0.7536 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9817, allocations: 27.86 kB / 0.7536 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.9817, allocations: 8 kB / 0.7536 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004755/0.9822, allocations: 230.2 kB / 0.7538 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9822, allocations: 4 kB / 0.7538 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007043/0.9829, allocations: 84 kB / 0.7539 GB, free: 5.121 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001867/0.9848, allocations: 1.314 MB / 0.7552 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.9861, allocations: 0.596 MB / 0.7558 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9861, allocations: 0 / 0.7558 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.9868, allocations: 417.6 kB / 0.7562 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.9878, allocations: 111.7 kB / 0.7563 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.9898, allocations: 0.6588 MB / 0.7569 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.9904, allocations: 0.8317 MB / 0.7577 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000456/0.9908, allocations: 79.28 kB / 0.7578 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.9911, allocations: 127.4 kB / 0.7579 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.9911, allocations: 4 kB / 0.7579 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/1.031, allocations: 7.763 MB / 0.7655 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/1.032, allocations: 205.5 kB / 0.7657 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.624, allocations: 4.062 kB / 0.7657 GB, free: 8.863 MB / 0.6511 GB