Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.787/4.787, allocations: 404.1 MB / 411.3 MB, free: 428 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.159e-05, allocations: 4 kB / 0.4946 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7295, allocations: 92.69 MB / 0.5851 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.786/8.515, allocations: 2.211 GB / 2.797 GB, free: 78.22 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/8.516, allocations: 101.4 kB / 2.797 GB, free: 78.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/9.968, allocations: 178.3 MB / 2.971 GB, free: 219.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.765e-06/9.968, allocations: 0 / 2.971 GB, free: 219.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003811/9.969, allocations: 106.8 kB / 2.971 GB, free: 219.6 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1121 * Number of variables: 1121 Notification: Performance of Generate backend data structure: time 0.0171/9.986, allocations: 3.649 MB / 2.974 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/9.986, allocations: 20.02 kB / 2.974 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02719/10.01, allocations: 1.895 MB / 2.976 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008705/10.02, allocations: 2.321 MB / 2.979 GB, free: 211.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/10.02, allocations: 139.9 kB / 2.979 GB, free: 211.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/10.02, allocations: 251.9 kB / 2.979 GB, free: 211.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0192/10.04, allocations: 5.237 MB / 2.984 GB, free: 206 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/10.07, allocations: 5.402 MB / 2.989 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/10.07, allocations: 11.92 kB / 2.989 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/10.07, allocations: 8 kB / 2.989 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/10.07, allocations: 223.4 kB / 2.99 GB, free: 200.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/10.13, allocations: 20.38 MB / 3.009 GB, free: 179.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/10.14, allocations: 3.687 MB / 3.013 GB, free: 175.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/10.15, allocations: 1.783 MB / 3.015 GB, free: 173.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/10.15, allocations: 0.5122 MB / 3.015 GB, free: 173.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005687/10.15, allocations: 1.948 MB / 3.017 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=254): time 8.136e-06/10.15, allocations: 0 / 3.017 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=257): time 0.03513/10.19, allocations: 6.778 MB / 3.024 GB, free: 164.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/10.19, allocations: 375.5 kB / 3.024 GB, free: 164.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/10.19, allocations: 1.311 MB / 3.025 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0009492/10.19, allocations: 29.7 kB / 3.026 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002091/10.2, allocations: 1.66 MB / 3.027 GB, free: 161.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/10.2, allocations: 0.8197 MB / 3.028 GB, free: 160.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/10.2, allocations: 0 / 3.028 GB, free: 160.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000284/10.2, allocations: 419.7 kB / 3.028 GB, free: 159.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/10.2, allocations: 1.396 MB / 3.03 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/10.21, allocations: 2.07 MB / 3.032 GB, free: 156.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02402/10.23, allocations: 3.015 MB / 3.035 GB, free: 153 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-05/10.23, allocations: 8 kB / 3.035 GB, free: 153 MB / 0.7761 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.03216/10.26, allocations: 5.094 MB / 3.04 GB, free: 147.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001586/10.27, allocations: 6.771 MB / 3.046 GB, free: 140.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/10.27, allocations: 16 kB / 3.046 GB, free: 140.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.101e-05/10.27, allocations: 36 kB / 3.046 GB, free: 140.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/10.28, allocations: 0.8463 MB / 3.047 GB, free: 139.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.141e-05/10.28, allocations: 39.86 kB / 3.047 GB, free: 139.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007774/10.28, allocations: 346.1 kB / 3.048 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/10.29, allocations: 143.9 kB / 3.048 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/10.29, allocations: 4 kB / 3.048 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03052/10.32, allocations: 4.521 MB / 3.052 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.586e-05/10.32, allocations: 16 kB / 3.052 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.058e-05/10.32, allocations: 40.14 kB / 3.052 GB, free: 134.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/10.33, allocations: 0.7956 MB / 3.053 GB, free: 133.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.518e-05/10.33, allocations: 39.92 kB / 3.053 GB, free: 133.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007048/10.33, allocations: 294.2 kB / 3.053 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/10.34, allocations: 139.9 kB / 3.053 GB, free: 133.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 346 * 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.001311/10.34, allocations: 176.1 kB / 3.054 GB, free: 133.2 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02945/10.37, allocations: 4.59 MB / 3.058 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/10.37, allocations: 229.2 kB / 3.058 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03396/10.4, allocations: 5.209 MB / 3.063 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-05/10.4, allocations: 28 kB / 3.063 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/10.4, allocations: 4 kB / 3.063 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/10.4, allocations: 11.95 kB / 3.063 GB, free: 123 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04337/10.44, allocations: 9.378 MB / 3.073 GB, free: 113.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/10.44, allocations: 4 kB / 3.073 GB, free: 113.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01039/10.46, allocations: 0.7959 MB / 3.073 GB, free: 112.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/10.46, allocations: 15.95 kB / 3.073 GB, free: 112.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007992/10.46, allocations: 39.94 kB / 3.073 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/10.46, allocations: 12 kB / 3.073 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/10.46, allocations: 7.938 kB / 3.073 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02941/10.49, allocations: 5.164 MB / 3.078 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/10.49, allocations: 0.8096 MB / 3.079 GB, free: 106.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/10.49, allocations: 8 kB / 3.079 GB, free: 106.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007079/10.5, allocations: 247.6 kB / 3.079 GB, free: 106.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009202/10.5, allocations: 165.8 kB / 3.08 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005605/10.5, allocations: 95.92 kB / 3.08 GB, free: 106 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002659/10.5, allocations: 1.054 MB / 3.081 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.21e-07/10.5, allocations: 0 / 3.081 GB, free: 104.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00943/10.51, allocations: 1.229 MB / 3.082 GB, free: 103.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.03237/10.54, allocations: 6.831 MB / 3.089 GB, free: 96.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0165/10.56, allocations: 5.47 MB / 3.094 GB, free: 91.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/10.56, allocations: 4 kB / 3.094 GB, free: 91.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/10.57, allocations: 1.716 MB / 3.096 GB, free: 89.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005906/10.57, allocations: 467.3 kB / 3.096 GB, free: 89.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/10.6, allocations: 6.798 MB / 3.103 GB, free: 82.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003983/10.6, allocations: 2.685 MB / 3.105 GB, free: 79.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01493/10.61, allocations: 1.4 MB / 3.107 GB, free: 78.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005787/10.62, allocations: 1.546 MB / 3.108 GB, free: 76.64 MB / 0.7761 GB Notification: Performance of SimCode: time 2.044e-06/10.62, allocations: 4 kB / 3.108 GB, free: 76.64 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9639/11.58, allocations: 65.81 MB / 3.172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002256/11.58, allocations: 201.6 kB / 3.173 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.149/17.73, allocations: 7.594 kB / 3.173 GB, free: 10.87 MB / 0.7761 GB