Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.378/4.378, allocations: 404.1 MB / 411.3 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.524e-05, allocations: 4 kB / 0.4945 GB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6578, allocations: 92.7 MB / 0.5851 GB, free: 2.266 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.9568, allocations: 162.8 MB / 0.7441 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/0.9572, allocations: 95.94 kB / 0.7441 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7022/1.659, allocations: 30.95 MB / 0.7744 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.397e-06/1.659, allocations: 0 / 0.7744 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001603/1.66, allocations: 20 kB / 0.7744 GB, free: 170.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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003414/1.663, allocations: 0.7943 MB / 0.7752 GB, free: 170 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.171e-05/1.663, allocations: 10.17 kB / 0.7752 GB, free: 170 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/1.666, allocations: 197.9 kB / 0.7754 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/1.668, allocations: 494.8 kB / 0.7758 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/1.668, allocations: 15.34 kB / 0.7758 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/1.669, allocations: 40.95 kB / 0.7759 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/1.671, allocations: 461.8 kB / 0.7763 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.673, allocations: 0.7813 MB / 0.7771 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/1.673, allocations: 10.66 kB / 0.7771 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.674, allocations: 7.75 kB / 0.7771 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/1.674, allocations: 46.39 kB / 0.7772 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007386/1.681, allocations: 3.666 MB / 0.7807 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/1.682, allocations: 279.2 kB / 0.781 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/1.683, allocations: 210.8 kB / 0.7812 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/1.683, allocations: 3.906 kB / 0.7812 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.683, allocations: 41.16 kB / 0.7812 GB, free: 167 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 4.127e-06/1.683, allocations: 0 / 0.7812 GB, free: 167 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.007278/1.69, allocations: 1.965 MB / 0.7832 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/1.69, allocations: 58.73 kB / 0.7832 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/1.691, allocations: 333.9 kB / 0.7835 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/1.691, allocations: 27.2 kB / 0.7836 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/1.691, allocations: 341.7 kB / 0.7839 GB, free: 166 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.691, allocations: 135.9 kB / 0.784 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/1.691, allocations: 0 / 0.784 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.691, allocations: 363.1 kB / 0.7844 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/1.692, allocations: 218.4 kB / 0.7846 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/1.693, allocations: 364.5 kB / 0.7849 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/1.693, allocations: 276.7 kB / 0.7852 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.694, allocations: 1.031 kB / 0.7852 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002728/1.696, allocations: 0.8281 MB / 0.786 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.696, allocations: 7.844 kB / 0.786 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.696, allocations: 3.875 kB / 0.786 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/1.698, allocations: 221.2 kB / 0.7862 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.699, allocations: 111.4 kB / 0.7863 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/1.705, allocations: 4.745 MB / 0.791 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/1.706, allocations: 19.19 kB / 0.791 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/1.706, allocations: 21.5 kB / 0.791 GB, free: 161.7 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.0001839/1.706, allocations: 123.6 kB / 0.7911 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002182/1.708, allocations: 0.6791 MB / 0.7918 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.709, allocations: 55.2 kB / 0.7918 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/1.711, allocations: 0.7214 MB / 0.7925 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.711, allocations: 7.703 kB / 0.7925 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.711, allocations: 4 kB / 0.7925 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.711, allocations: 6.516 kB / 0.7925 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/1.715, allocations: 1.342 MB / 0.7939 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.715, allocations: 3.219 kB / 0.7939 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/1.715, allocations: 73.14 kB / 0.7939 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.717, allocations: 201.8 kB / 0.7941 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/1.717, allocations: 7.734 kB / 0.7941 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005985/1.723, allocations: 4.662 MB / 0.7987 GB, free: 157 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/1.723, allocations: 3.375 kB / 0.7987 GB, free: 157 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/1.726, allocations: 1.161 MB / 0.7998 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/1.726, allocations: 169.1 kB / 0.8 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/1.726, allocations: 3.688 kB / 0.8 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/1.727, allocations: 25.77 kB / 0.8 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.727, allocations: 38.42 kB / 0.8 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/1.727, allocations: 13.31 kB / 0.8001 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003625/1.727, allocations: 255.3 kB / 0.8003 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.727, allocations: 1.312 kB / 0.8003 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001095/1.728, allocations: 160.8 kB / 0.8005 GB, free: 156.1 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.002984/1.731, allocations: 2.198 MB / 0.8026 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002209/1.734, allocations: 0.9206 MB / 0.8035 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.734, allocations: 3.5 kB / 0.8035 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.735, allocations: 0.6335 MB / 0.8041 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/1.736, allocations: 142.2 kB / 0.8043 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/1.739, allocations: 1.111 MB / 0.8053 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/1.74, allocations: 0.957 MB / 0.8063 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006441/1.741, allocations: 114.4 kB / 0.8064 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.741, allocations: 209.1 kB / 0.8066 GB, free: 152 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/1.741, allocations: 0 / 0.8066 GB, free: 152 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06626/1.807, allocations: 12 MB / 0.8183 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002251/1.808, allocations: 152.8 kB / 0.8184 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.08/4.888, allocations: 3.938 kB / 0.8185 GB, free: 147.6 MB / 0.6511 GB