Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.42/4.42, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.708e-05, allocations: 4 kB / 0.5732 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 107.1 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/1.155, allocations: 175.1 MB / 0.8488 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/1.155, allocations: 94.12 kB / 0.8489 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1282/1.283, allocations: 31.21 MB / 0.8794 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/1.283, allocations: 4 kB / 0.8794 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.104e-05/1.283, allocations: 19.98 kB / 0.8794 GB, free: 2.039 MB / 0.6667 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.002083/1.285, allocations: 0.7968 MB / 0.8802 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.285, allocations: 8.031 kB / 0.8802 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/1.286, allocations: 100.2 kB / 0.8803 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.288, allocations: 199 kB / 0.8805 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.29, allocations: 489.5 kB / 0.881 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/1.29, allocations: 46.05 kB / 0.881 GB, free: 472 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/1.29, allocations: 54.73 kB / 0.8811 GB, free: 432 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.292, allocations: 0.8625 MB / 0.8819 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/1.292, allocations: 7.891 kB / 0.8819 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/1.292, allocations: 28.62 kB / 0.8819 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/1.292, allocations: 44.05 kB / 0.882 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.294, allocations: 0.5424 MB / 0.8825 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007201/1.301, allocations: 4.594 MB / 0.887 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/1.302, allocations: 287 kB / 0.8873 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/1.302, allocations: 229.8 kB / 0.8875 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/1.302, allocations: 4 kB / 0.8875 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/1.302, allocations: 38.48 kB / 0.8875 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.336e-05/1.302, allocations: 0 / 0.8875 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.007858/1.31, allocations: 2.193 MB / 0.8897 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/1.31, allocations: 55.41 kB / 0.8897 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/1.311, allocations: 389.4 kB / 0.8901 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.311, allocations: 40.08 kB / 0.8901 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/1.312, allocations: 334.7 kB / 0.8905 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.312, allocations: 141.4 kB / 0.8906 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/1.312, allocations: 14.81 kB / 0.8906 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.312, allocations: 360.2 kB / 0.891 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/1.313, allocations: 228 kB / 0.8912 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/1.313, allocations: 372.5 kB / 0.8915 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/1.314, allocations: 280.8 kB / 0.8918 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.314, allocations: 7.953 kB / 0.8918 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002752/1.317, allocations: 0.8761 MB / 0.8927 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.317, allocations: 11.95 kB / 0.8927 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.317, allocations: 4 kB / 0.8927 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/1.318, allocations: 222.2 kB / 0.8929 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.319, allocations: 111.6 kB / 0.893 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/1.327, allocations: 4.92 MB / 0.8978 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008668/1.328, allocations: 30.28 kB / 0.8978 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/1.328, allocations: 19.19 kB / 0.8978 GB, free: 0.8281 MB / 0.6823 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.0002063/1.328, allocations: 131.2 kB / 0.898 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.328, allocations: 59.3 kB / 0.898 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.331, allocations: 0.7737 MB / 0.8988 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.331, allocations: 7.984 kB / 0.8988 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.331, allocations: 4 kB / 0.8988 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.331, allocations: 0 / 0.8988 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/1.335, allocations: 1.466 MB / 0.9002 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.335, allocations: 7.938 kB / 0.9002 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/1.335, allocations: 71.83 kB / 0.9003 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/1.337, allocations: 205.1 kB / 0.9005 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/1.337, allocations: 11.61 kB / 0.9005 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00697/1.344, allocations: 4.849 MB / 0.9052 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.344, allocations: 4.031 kB / 0.9052 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/1.347, allocations: 1.199 MB / 0.9064 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/1.347, allocations: 170.1 kB / 0.9066 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.347, allocations: 9.75 kB / 0.9066 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/1.348, allocations: 30.39 kB / 0.9066 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.348, allocations: 39.33 kB / 0.9067 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.348, allocations: 18.92 kB / 0.9067 GB, free: 8.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00052/1.349, allocations: 301.7 kB / 0.907 GB, free: 8.348 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.349, allocations: 0 / 0.907 GB, free: 8.348 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001031/1.35, allocations: 178.8 kB / 0.9071 GB, free: 8.191 MB / 0.698 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.00353/1.353, allocations: 2.261 MB / 0.9093 GB, free: 6.156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0025/1.356, allocations: 0.9423 MB / 0.9103 GB, free: 5.379 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.356, allocations: 0 / 0.9103 GB, free: 5.379 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.357, allocations: 0.6451 MB / 0.9109 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/1.359, allocations: 155.6 kB / 0.911 GB, free: 4.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/1.362, allocations: 1.114 MB / 0.9121 GB, free: 3.637 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/1.363, allocations: 0.9593 MB / 0.9131 GB, free: 2.668 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006771/1.364, allocations: 108.9 kB / 0.9132 GB, free: 2.559 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.364, allocations: 208.8 kB / 0.9134 GB, free: 2.508 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.364, allocations: 0 / 0.9134 GB, free: 2.508 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05106/1.415, allocations: 13.11 MB / 0.9262 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004777/1.416, allocations: 185.6 kB / 0.9263 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.423, allocations: 0 / 0.9263 GB, free: 5.332 MB / 0.7136 GB