Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.803/3.803, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-05/5.208e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6251, allocations: 92.67 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2723/0.8974, allocations: 149.7 MB / 0.7358 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004314/0.8979, allocations: 95.92 kB / 0.7359 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8313/1.729, allocations: 85.04 MB / 0.8189 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/1.729, allocations: 0 / 0.8189 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001609/1.729, allocations: 55.52 kB / 0.819 GB, free: 146.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008234/1.738, allocations: 2.113 MB / 0.8211 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.738, allocations: 8.031 kB / 0.8211 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/1.739, allocations: 375.7 kB / 0.8214 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/1.746, allocations: 0.7409 MB / 0.8221 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/1.751, allocations: 1.539 MB / 0.8237 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.752, allocations: 175.8 kB / 0.8238 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/1.753, allocations: 235.3 kB / 0.824 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/1.765, allocations: 3.81 MB / 0.8278 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/1.766, allocations: 4 kB / 0.8278 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007028/1.766, allocations: 111.5 kB / 0.8279 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/1.767, allocations: 152.6 kB / 0.828 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009445/1.776, allocations: 3.184 MB / 0.8311 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02604/1.802, allocations: 12.61 MB / 0.8434 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/1.807, allocations: 2.116 MB / 0.8455 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1.809, allocations: 0.5822 MB / 0.8461 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.809, allocations: 105.2 kB / 0.8462 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.809, allocations: 43.06 kB / 0.8462 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/1.809, allocations: 0 / 0.8462 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.005861/1.815, allocations: 2.578 MB / 0.8487 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/1.815, allocations: 115.5 kB / 0.8488 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.817, allocations: 0.8924 MB / 0.8497 GB, free: 114 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.817, allocations: 37.7 kB / 0.8498 GB, free: 114 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/1.817, allocations: 1.09 MB / 0.8508 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/1.818, allocations: 274.6 kB / 0.8511 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.818, allocations: 24 kB / 0.8511 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.818, allocations: 410.7 kB / 0.8515 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.819, allocations: 0.5896 MB / 0.8521 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.821, allocations: 1.123 MB / 0.8532 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.823, allocations: 0.8294 MB / 0.854 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.823, allocations: 12 kB / 0.854 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00454/1.827, allocations: 1.935 MB / 0.8559 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/1.827, allocations: 16.62 kB / 0.8559 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/1.827, allocations: 16 kB / 0.8559 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.828, allocations: 167.8 kB / 0.8561 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.83, allocations: 347.4 kB / 0.8564 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.683e-05/1.83, allocations: 35.92 kB / 0.8564 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.832, allocations: 143.5 kB / 0.8566 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.833, allocations: 64 kB / 0.8566 GB, free: 106.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003095/1.833, allocations: 190.7 kB / 0.8568 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/1.833, allocations: 106.7 kB / 0.8569 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/1.836, allocations: 1.197 MB / 0.8581 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.836, allocations: 8 kB / 0.8581 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.836, allocations: 4 kB / 0.8581 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.836, allocations: 3.984 kB / 0.8581 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/1.845, allocations: 3.567 MB / 0.8616 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.845, allocations: 4 kB / 0.8616 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.846, allocations: 155.8 kB / 0.8617 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/1.846, allocations: 135.3 kB / 0.8619 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/1.846, allocations: 20 kB / 0.8619 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/1.847, allocations: 15.92 kB / 0.8619 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.847, allocations: 8.062 kB / 0.8619 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/1.849, allocations: 1.544 MB / 0.8634 GB, free: 99.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/1.85, allocations: 291.7 kB / 0.8637 GB, free: 99.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/1.85, allocations: 19.95 kB / 0.8637 GB, free: 99.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.851, allocations: 79.89 kB / 0.8638 GB, free: 99.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.852, allocations: 56.42 kB / 0.8638 GB, free: 98.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/1.852, allocations: 20 kB / 0.8639 GB, free: 98.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001323/1.853, allocations: 0.68 MB / 0.8645 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.11e-07/1.853, allocations: 0 / 0.8645 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002168/1.855, allocations: 399.9 kB / 0.8649 GB, free: 97.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(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.003325/1.859, allocations: 2.828 MB / 0.8677 GB, free: 94.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003131/1.862, allocations: 1.651 MB / 0.8693 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.862, allocations: 0 / 0.8693 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.863, allocations: 0.8511 MB / 0.8701 GB, free: 92.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.865, allocations: 235.4 kB / 0.8703 GB, free: 92.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.875, allocations: 3.715 MB / 0.874 GB, free: 88.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.878, allocations: 1.964 MB / 0.8759 GB, free: 86.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001904/1.88, allocations: 429.3 kB / 0.8763 GB, free: 85.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.881, allocations: 0.718 MB / 0.877 GB, free: 85.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/1.881, allocations: 0 / 0.877 GB, free: 85.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07466/1.956, allocations: 27.52 MB / 0.9039 GB, free: 57.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.956, allocations: 207.4 kB / 0.9041 GB, free: 57.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/5.195, allocations: 0 / 0.9041 GB, free: 57.55 MB / 0.6511 GB