Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.565/4.565, allocations: 404.1 MB / 411.3 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.05e-05/4.05e-05, allocations: 4 kB / 0.4945 GB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/0.6539, allocations: 92.69 MB / 0.5851 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.9792, allocations: 167.5 MB / 0.7486 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/0.9796, allocations: 99.92 kB / 0.7487 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.645/3.625, allocations: 315.8 MB / 1.057 GB, free: 118.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.414e-06/3.625, allocations: 0.5312 kB / 1.057 GB, free: 118.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009643/3.626, allocations: 171.2 kB / 1.057 GB, free: 118.9 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03099/3.657, allocations: 5.496 MB / 1.063 GB, free: 118.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/3.657, allocations: 12.8 kB / 1.063 GB, free: 118.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02532/3.682, allocations: 1.728 MB / 1.064 GB, free: 117.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/3.706, allocations: 5.03 MB / 1.069 GB, free: 116.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005122/3.707, allocations: 195 kB / 1.069 GB, free: 116.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003621/3.711, allocations: 358.6 kB / 1.07 GB, free: 116.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02448/3.735, allocations: 6.831 MB / 1.076 GB, free: 116.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03484/3.77, allocations: 8.986 MB / 1.085 GB, free: 115.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004915/3.771, allocations: 28.25 kB / 1.085 GB, free: 115.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003156/3.774, allocations: 16.08 kB / 1.085 GB, free: 115.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007534/3.775, allocations: 380.2 kB / 1.086 GB, free: 115.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0851/3.86, allocations: 32.28 MB / 1.117 GB, free: 104.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009444/3.869, allocations: 4.041 MB / 1.121 GB, free: 104.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008348/3.878, allocations: 3.458 MB / 1.125 GB, free: 104.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/3.878, allocations: 34.66 kB / 1.125 GB, free: 104.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/3.878, allocations: 67.84 kB / 1.125 GB, free: 104.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=353): time 7.855e-06/3.878, allocations: 3.25 kB / 1.125 GB, free: 104.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578): time 0.1901/4.069, allocations: 37.33 MB / 1.161 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/4.069, allocations: 112 kB / 1.161 GB, free: 100 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/4.073, allocations: 1.822 MB / 1.163 GB, free: 99.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001456/4.074, allocations: 29.11 kB / 1.163 GB, free: 99.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/4.077, allocations: 2.71 MB / 1.166 GB, free: 97.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003207/4.08, allocations: 1.859 MB / 1.167 GB, free: 95.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008784/4.081, allocations: 0 / 1.167 GB, free: 95.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004306/4.081, allocations: 0.5275 MB / 1.168 GB, free: 95.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00959/4.091, allocations: 3.628 MB / 1.172 GB, free: 93.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/4.102, allocations: 4.706 MB / 1.176 GB, free: 90.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/4.113, allocations: 4.425 MB / 1.18 GB, free: 89.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-05/4.113, allocations: 7.562 kB / 1.18 GB, free: 89.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06702/4.18, allocations: 15.18 MB / 1.195 GB, free: 83.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/4.181, allocations: 26.56 kB / 1.195 GB, free: 83.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/4.181, allocations: 32.77 kB / 1.195 GB, free: 83.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05023/4.231, allocations: 7.357 MB / 1.202 GB, free: 82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005263/4.236, allocations: 0.5499 MB / 1.203 GB, free: 81.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1562/4.392, allocations: 65.06 MB / 1.267 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009005/4.401, allocations: 123.5 kB / 1.267 GB, free: 24.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/4.403, allocations: 204 kB / 1.267 GB, free: 24.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,92.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(8,73.4%) 70,(14,51.0%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002419/4.406, allocations: 191.4 kB / 1.267 GB, free: 24.26 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06353/4.469, allocations: 14.38 MB / 1.281 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002556/4.472, allocations: 442.7 kB / 1.282 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06609/4.538, allocations: 15.17 MB / 1.296 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/4.538, allocations: 52 kB / 1.296 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002245/4.538, allocations: 75.11 kB / 1.296 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001428/4.539, allocations: 30.89 kB / 1.296 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0977/4.636, allocations: 22.45 MB / 1.318 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.015e-05/4.636, allocations: 8 kB / 1.318 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004234/4.641, allocations: 316.8 kB / 1.319 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04697/4.688, allocations: 6.722 MB / 1.325 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001399/4.689, allocations: 19.89 kB / 1.325 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8389/5.528, allocations: 62.14 MB / 1.386 GB, free: 140.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/5.528, allocations: 11.41 kB / 1.386 GB, free: 140.6 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07078/5.599, allocations: 20.17 MB / 1.406 GB, free: 138.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005549/5.605, allocations: 1.234 MB / 1.407 GB, free: 138.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002841/5.607, allocations: 21.08 kB / 1.407 GB, free: 138.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007705/5.615, allocations: 148.3 kB / 1.407 GB, free: 138.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003643/5.619, allocations: 0.5256 MB / 1.408 GB, free: 138.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001246/5.62, allocations: 137.2 kB / 1.408 GB, free: 138.4 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003246/5.623, allocations: 1.334 MB / 1.409 GB, free: 138.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.162e-06/5.623, allocations: 0 / 1.409 GB, free: 138.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01389/5.637, allocations: 1.953 MB / 1.411 GB, free: 138.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,79.7%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(7,75.5%) 71,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07234/5.71, allocations: 22.53 MB / 1.433 GB, free: 133.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.05285/5.763, allocations: 13.03 MB / 1.446 GB, free: 132 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/5.763, allocations: 0 / 1.446 GB, free: 132 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.04623/5.809, allocations: 8.489 MB / 1.454 GB, free: 130.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01422/5.823, allocations: 0.9767 MB / 1.455 GB, free: 130.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05109/5.874, allocations: 15 MB / 1.47 GB, free: 126 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/5.887, allocations: 5.017 MB / 1.474 GB, free: 124.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005397/5.892, allocations: 0.7313 MB / 1.475 GB, free: 124.4 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005738/5.898, allocations: 2.582 MB / 1.478 GB, free: 122.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.993e-06/5.898, allocations: 0 / 1.478 GB, free: 122.2 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/6.362, allocations: 170 MB / 1.644 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003507/6.363, allocations: 172.6 kB / 1.644 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.71/16.07, allocations: 7.844 kB / 1.644 GB, free: 15.06 MB / 0.8073 GB