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={"static"}) Notification: Performance of loadModel(Buildings): time 3.818/3.818, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.502e-05, allocations: 4 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6152, allocations: 92.67 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.9113, allocations: 163.5 MB / 0.7493 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005469/0.9119, allocations: 91.94 kB / 0.7494 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.681/1.593, allocations: 31.07 MB / 0.7797 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/1.593, allocations: 1.344 kB / 0.7797 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.641e-05/1.593, allocations: 17.14 kB / 0.7797 GB, free: 168.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.001806/1.595, allocations: 0.7986 MB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.595, allocations: 9.422 kB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/1.595, allocations: 98.77 kB / 0.7806 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/1.597, allocations: 206.8 kB / 0.7808 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.599, allocations: 486.8 kB / 0.7813 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/1.599, allocations: 42.14 kB / 0.7813 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/1.599, allocations: 57.3 kB / 0.7814 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.601, allocations: 0.8512 MB / 0.7822 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/1.601, allocations: 9.938 kB / 0.7822 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/1.601, allocations: 28.67 kB / 0.7822 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.534e-05/1.601, allocations: 52.67 kB / 0.7823 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/1.602, allocations: 0.5548 MB / 0.7828 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005986/1.608, allocations: 3.786 MB / 0.7865 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007389/1.609, allocations: 286.6 kB / 0.7868 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/1.61, allocations: 226.3 kB / 0.787 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/1.61, allocations: 6 kB / 0.787 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/1.61, allocations: 34.44 kB / 0.787 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/1.61, allocations: 1.688 kB / 0.787 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.007108/1.617, allocations: 2.193 MB / 0.7892 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.617, allocations: 55.31 kB / 0.7892 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/1.617, allocations: 396.2 kB / 0.7896 GB, free: 164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/1.618, allocations: 41.11 kB / 0.7897 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.618, allocations: 330.3 kB / 0.79 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.618, allocations: 144.2 kB / 0.7901 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/1.618, allocations: 13.78 kB / 0.7901 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.618, allocations: 364 kB / 0.7905 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/1.619, allocations: 224.9 kB / 0.7907 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/1.619, allocations: 380.3 kB / 0.791 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/1.62, allocations: 290.2 kB / 0.7913 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.62, allocations: 0 / 0.7913 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002431/1.622, allocations: 0.8934 MB / 0.7922 GB, free: 163 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.622, allocations: 7.406 kB / 0.7922 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.622, allocations: 7.219 kB / 0.7922 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/1.624, allocations: 219.9 kB / 0.7924 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/1.625, allocations: 104.5 kB / 0.7925 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/1.63, allocations: 4.939 MB / 0.7973 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/1.631, allocations: 31.05 kB / 0.7974 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/1.631, allocations: 27.2 kB / 0.7974 GB, free: 158.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.0001985/1.632, allocations: 132.1 kB / 0.7975 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.632, allocations: 58.28 kB / 0.7976 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/1.634, allocations: 0.7613 MB / 0.7983 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/1.634, allocations: 6.781 kB / 0.7983 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.634, allocations: 5 kB / 0.7983 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.634, allocations: 3.797 kB / 0.7983 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/1.637, allocations: 1.472 MB / 0.7998 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.637, allocations: 3.906 kB / 0.7998 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/1.638, allocations: 68.19 kB / 0.7998 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.639, allocations: 211.8 kB / 0.8 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/1.639, allocations: 7.938 kB / 0.8001 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005569/1.645, allocations: 4.858 MB / 0.8048 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.645, allocations: 7.312 kB / 0.8048 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/1.648, allocations: 1.2 MB / 0.806 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/1.648, allocations: 176.1 kB / 0.8061 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.648, allocations: 7.688 kB / 0.8061 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/1.649, allocations: 29.5 kB / 0.8062 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.649, allocations: 45.56 kB / 0.8062 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/1.649, allocations: 14.06 kB / 0.8062 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004389/1.649, allocations: 296.5 kB / 0.8065 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.649, allocations: 3.938 kB / 0.8065 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008758/1.65, allocations: 172.7 kB / 0.8067 GB, free: 152.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.002885/1.653, allocations: 2.241 MB / 0.8089 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002138/1.655, allocations: 0.9724 MB / 0.8098 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.655, allocations: 0 / 0.8098 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.657, allocations: 0.6824 MB / 0.8105 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.658, allocations: 168.4 kB / 0.8106 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/1.661, allocations: 1.151 MB / 0.8118 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/1.662, allocations: 0.9595 MB / 0.8127 GB, free: 148 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006156/1.662, allocations: 112.1 kB / 0.8128 GB, free: 148 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/1.663, allocations: 209.6 kB / 0.813 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.283e-06/1.663, allocations: 0 / 0.813 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/1.707, allocations: 13.29 MB / 0.826 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.707, allocations: 183.2 kB / 0.8262 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.497, allocations: 0 / 0.8262 GB, free: 138.1 MB / 0.6511 GB