Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.707/4.707, allocations: 404.1 MB / 411.3 MB, free: 372 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.311e-05, allocations: 4 kB / 0.4946 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.678, allocations: 92.68 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/1.014, allocations: 153 MB / 0.7345 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/1.014, allocations: 91.94 kB / 0.7346 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.465/2.479, allocations: 198.6 MB / 0.9285 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.775e-06/2.48, allocations: 224 / 0.9285 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005101/2.48, allocations: 143.9 kB / 0.9286 GB, free: 34.81 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02236/2.502, allocations: 4.859 MB / 0.9333 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/2.503, allocations: 16.02 kB / 0.9334 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/2.515, allocations: 1.105 MB / 0.9344 GB, free: 28.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/2.529, allocations: 3.693 MB / 0.938 GB, free: 25.01 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/2.53, allocations: 184 kB / 0.9382 GB, free: 24.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/2.532, allocations: 335.9 kB / 0.9385 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0195/2.552, allocations: 5.689 MB / 0.9441 GB, free: 18.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/2.58, allocations: 7.86 MB / 0.9518 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002744/2.58, allocations: 19.81 kB / 0.9518 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/2.582, allocations: 16 kB / 0.9518 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004865/2.583, allocations: 299 kB / 0.9521 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06794/2.651, allocations: 27.45 MB / 0.9789 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009074/2.66, allocations: 2.975 MB / 0.9818 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005789/2.666, allocations: 2.055 MB / 0.9838 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/2.666, allocations: 22 kB / 0.9838 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.875e-05/2.666, allocations: 60.56 kB / 0.9839 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 6.663e-06/2.666, allocations: 0 / 0.9839 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.0212/2.688, allocations: 6.298 MB / 0.99 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/2.688, allocations: 73.41 kB / 0.9901 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/2.691, allocations: 1.321 MB / 0.9914 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005437/2.692, allocations: 33.7 kB / 0.9914 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002558/2.694, allocations: 2.391 MB / 0.9938 GB, free: 14.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/2.696, allocations: 0.6851 MB / 0.9944 GB, free: 14.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/2.696, allocations: 0 / 0.9944 GB, free: 14.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003048/2.696, allocations: 415.1 kB / 0.9948 GB, free: 13.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/2.7, allocations: 1.243 MB / 0.996 GB, free: 12.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/2.705, allocations: 2.02 MB / 0.998 GB, free: 10.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/2.709, allocations: 1.602 MB / 0.9996 GB, free: 8.449 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/2.709, allocations: 8 kB / 0.9996 GB, free: 8.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01475/2.724, allocations: 4.598 MB / 1.004 GB, free: 3.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/2.724, allocations: 16 kB / 1.004 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.138e-05/2.724, allocations: 24 kB / 1.004 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006784/2.731, allocations: 1.401 MB / 1.005 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/2.735, allocations: 439.2 kB / 1.006 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03905/2.774, allocations: 16.45 MB / 1.022 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/2.778, allocations: 95.86 kB / 1.022 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/2.778, allocations: 108.1 kB / 1.022 GB, free: 0.832 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007929/2.779, allocations: 180.2 kB / 1.022 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01428/2.794, allocations: 3.971 MB / 1.026 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/2.795, allocations: 268.9 kB / 1.026 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/2.809, allocations: 4.17 MB / 1.031 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/2.809, allocations: 20 kB / 1.031 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/2.809, allocations: 16 kB / 1.031 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/2.809, allocations: 11.95 kB / 1.031 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02881/2.838, allocations: 8.549 MB / 1.039 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/2.838, allocations: 4 kB / 1.039 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/2.841, allocations: 236.2 kB / 1.039 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006971/2.848, allocations: 1.368 MB / 1.04 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004541/2.848, allocations: 4 kB / 1.041 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7097/3.558, allocations: 16.41 MB / 1.057 GB, free: 161.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/3.558, allocations: 5 kB / 1.057 GB, free: 161.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/3.572, allocations: 4.619 MB / 1.061 GB, free: 160.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/3.575, allocations: 0.5976 MB / 1.062 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/3.576, allocations: 10.16 kB / 1.062 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/3.579, allocations: 83.19 kB / 1.062 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/3.58, allocations: 181.4 kB / 1.062 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/3.581, allocations: 58.88 kB / 1.062 GB, free: 160.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002703/3.583, allocations: 0.9724 MB / 1.063 GB, free: 160.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.051e-06/3.583, allocations: 0 / 1.063 GB, free: 160.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006351/3.59, allocations: 1.005 MB / 1.064 GB, free: 160.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01385/3.604, allocations: 6.329 MB / 1.07 GB, free: 157.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01237/3.616, allocations: 4.327 MB / 1.074 GB, free: 157.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/3.616, allocations: 5.656 kB / 1.074 GB, free: 157.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.008383/3.625, allocations: 2.744 MB / 1.077 GB, free: 156.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006835/3.631, allocations: 0.6844 MB / 1.078 GB, free: 156.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/3.662, allocations: 8.865 MB / 1.086 GB, free: 154.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009047/3.671, allocations: 3.785 MB / 1.09 GB, free: 154 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003936/3.675, allocations: 0.5182 MB / 1.09 GB, free: 154 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004616/3.679, allocations: 1.947 MB / 1.092 GB, free: 154 MB / 0.7448 GB Notification: Performance of SimCode: time 1.773e-06/3.679, allocations: 0 / 1.092 GB, free: 154 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2156/3.895, allocations: 76.22 MB / 1.167 GB, free: 140.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004492/3.895, allocations: 170.1 kB / 1.167 GB, free: 140 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.529/9.425, allocations: 0 / 1.167 GB, free: 140 MB / 0.7448 GB