Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.817/3.817, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.967e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6275, allocations: 92.68 MB / 0.5897 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3205/0.948, allocations: 170.1 MB / 0.7558 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/0.9485, allocations: 95.94 kB / 0.7559 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6803/1.629, allocations: 31.6 MB / 0.7867 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.276e-06/1.629, allocations: 0 / 0.7867 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.658e-05/1.629, allocations: 21.72 kB / 0.7867 GB, free: 171.9 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002992/1.632, allocations: 0.8071 MB / 0.7875 GB, free: 171.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/1.632, allocations: 7.438 kB / 0.7875 GB, free: 171.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/1.632, allocations: 103 kB / 0.7876 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/1.636, allocations: 192 kB / 0.7878 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/1.638, allocations: 0.4924 MB / 0.7883 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/1.638, allocations: 38.45 kB / 0.7883 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/1.639, allocations: 50.78 kB / 0.7884 GB, free: 171 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/1.641, allocations: 0.8526 MB / 0.7892 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/1.642, allocations: 7.906 kB / 0.7892 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/1.642, allocations: 29.33 kB / 0.7893 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/1.642, allocations: 50.31 kB / 0.7893 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/1.644, allocations: 0.5398 MB / 0.7898 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009375/1.653, allocations: 3.791 MB / 0.7935 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.655, allocations: 284.7 kB / 0.7938 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/1.655, allocations: 227.1 kB / 0.794 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/1.655, allocations: 3.875 kB / 0.794 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.656, allocations: 42.2 kB / 0.7941 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 5.51e-06/1.656, allocations: 0 / 0.7941 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.01036/1.666, allocations: 2.191 MB / 0.7962 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.666, allocations: 58.53 kB / 0.7963 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/1.667, allocations: 401 kB / 0.7966 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.667, allocations: 29.7 kB / 0.7967 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.667, allocations: 342.2 kB / 0.797 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.667, allocations: 142.1 kB / 0.7971 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.668, allocations: 8 kB / 0.7971 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.668, allocations: 372.1 kB / 0.7975 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/1.668, allocations: 226.9 kB / 0.7977 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/1.669, allocations: 376.3 kB / 0.7981 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/1.669, allocations: 287.5 kB / 0.7983 GB, free: 165 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.67, allocations: 3.938 kB / 0.7984 GB, free: 165 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002549/1.672, allocations: 0.873 MB / 0.7992 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.672, allocations: 7.344 kB / 0.7992 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.672, allocations: 7.406 kB / 0.7992 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/1.673, allocations: 220.2 kB / 0.7994 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.674, allocations: 111.1 kB / 0.7995 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/1.681, allocations: 4.923 MB / 0.8043 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/1.682, allocations: 31.08 kB / 0.8044 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/1.682, allocations: 19.5 kB / 0.8044 GB, free: 160.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.683, allocations: 147.4 kB / 0.8045 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.683, allocations: 56.7 kB / 0.8046 GB, free: 160 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.685, allocations: 0.7632 MB / 0.8053 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.686, allocations: 7.531 kB / 0.8053 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.686, allocations: 0 / 0.8053 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.686, allocations: 0 / 0.8053 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/1.691, allocations: 1.486 MB / 0.8068 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.691, allocations: 4.031 kB / 0.8068 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/1.691, allocations: 69.39 kB / 0.8069 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/1.693, allocations: 200.8 kB / 0.807 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/1.693, allocations: 12 kB / 0.8071 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008183/1.701, allocations: 4.86 MB / 0.8118 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.701, allocations: 0 / 0.8118 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/1.705, allocations: 1.2 MB / 0.813 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/1.706, allocations: 175.1 kB / 0.8131 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/1.706, allocations: 15.75 kB / 0.8132 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/1.707, allocations: 23.5 kB / 0.8132 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.707, allocations: 34.69 kB / 0.8132 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/1.707, allocations: 12 kB / 0.8132 GB, free: 152 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006439/1.708, allocations: 306.1 kB / 0.8135 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.61e-07/1.708, allocations: 8.062 kB / 0.8135 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001523/1.709, allocations: 168 kB / 0.8137 GB, free: 151.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004352/1.714, allocations: 2.25 MB / 0.8159 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003168/1.717, allocations: 0.9499 MB / 0.8168 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.717, allocations: 0 / 0.8168 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.719, allocations: 0.6391 MB / 0.8174 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.721, allocations: 167.9 kB / 0.8176 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.725, allocations: 1.156 MB / 0.8187 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.726, allocations: 0.9649 MB / 0.8197 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008877/1.727, allocations: 116.2 kB / 0.8198 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/1.727, allocations: 207.4 kB / 0.82 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.727, allocations: 0 / 0.82 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05681/1.784, allocations: 13.29 MB / 0.833 GB, free: 132 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/1.784, allocations: 207.8 kB / 0.8332 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/4.547, allocations: 0 / 0.8332 GB, free: 131.7 MB / 0.6511 GB