Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_80_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_80_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.065/3.065, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.403e-05, allocations: 1.25 kB / 422.3 MB, free: 0.543 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 80 MB / 0.4905 GB, free: 444 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6673/0.8359, allocations: 127.6 MB / 0.6151 GB, free: 9.414 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.8363, allocations: 66.16 kB / 0.6152 GB, free: 9.383 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 18.48/19.31, allocations: 2.743 GB / 3.358 GB, free: 24.38 MB / 0.9015 GB Notification: Performance of FrontEnd: time 2.395e-06/19.31, allocations: 0.6562 kB / 3.358 GB, free: 24.38 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.03066/19.35, allocations: 3.604 MB / 3.362 GB, free: 21.04 MB / 0.9015 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33929 * Number of variables: 33929 Notification: Performance of Generate backend data structure: time 2.599/21.94, allocations: 173 MB / 3.531 GB, free: 12.98 MB / 0.9176 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/21.94, allocations: 8.656 kB / 3.531 GB, free: 12.98 MB / 0.9176 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.08406/22.03, allocations: 18.44 MB / 3.549 GB, free: 12.08 MB / 0.9176 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1078/22.14, allocations: 16.72 MB / 3.565 GB, free: 4.039 MB / 0.9176 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3591/22.5, allocations: 83.98 MB / 3.647 GB, free: 5.598 MB / 0.9333 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01563/22.51, allocations: 9.616 MB / 3.656 GB, free: 5.336 MB / 0.9333 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0617/22.57, allocations: 12.57 MB / 3.669 GB, free: 3.102 MB / 0.9333 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.746/25.32, allocations: 205.6 MB / 3.87 GB, free: 93.55 MB / 0.9655 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.008187/25.33, allocations: 0 / 3.87 GB, free: 93.55 MB / 0.9655 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0634/25.39, allocations: 5.781 MB / 3.875 GB, free: 93.55 MB / 0.9655 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004677/25.4, allocations: 3.107 MB / 3.878 GB, free: 93.55 MB / 0.9655 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6035/26, allocations: 200.7 MB / 4.074 GB, free: 40.43 MB / 0.9655 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.477/30.48, allocations: 0.6383 GB / 4.713 GB, free: 80.45 MB / 0.9811 GB Notification: Performance of preOpt comSubExp (simulation): time 1.636/32.11, allocations: 200.6 MB / 4.908 GB, free: 91.73 MB / 0.9967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2215/32.33, allocations: 86.37 MB / 4.993 GB, free: 89.32 MB / 0.9967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/32.34, allocations: 1.011 MB / 4.994 GB, free: 89.25 MB / 0.9967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002863/32.35, allocations: 1.868 MB / 4.996 GB, free: 89.1 MB / 0.9967 GB Notification: Performance of pre-optimization done (n=10160): time 0.0004171/32.35, allocations: 0 / 4.996 GB, free: 89.1 MB / 0.9967 GB Notification: Performance of matching and sorting (n=10160): time 0.6412/32.99, allocations: 195.3 MB / 5.186 GB, free: 53.87 MB / 0.9967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008108/32.99, allocations: 1.07 MB / 5.187 GB, free: 53.73 MB / 0.9967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.474/34.46, allocations: 134.3 MB / 5.318 GB, free: 86.98 MB / 0.9967 GB Notification: Performance of collectPreVariables (initialization): time 0.02872/34.49, allocations: 2.201 MB / 5.321 GB, free: 86.95 MB / 0.9967 GB Notification: Performance of collectInitialEqns (initialization): time 0.08844/34.58, allocations: 64.09 MB / 5.383 GB, free: 67.89 MB / 0.9967 GB Notification: Performance of collectInitialBindings (initialization): time 0.05634/34.64, allocations: 34.76 MB / 5.417 GB, free: 45.78 MB / 0.9967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02959/34.67, allocations: 2.334 MB / 5.419 GB, free: 45.78 MB / 0.9967 GB Notification: Performance of setup shared object (initialization): time 0.01558/34.68, allocations: 5.681 MB / 5.425 GB, free: 45.2 MB / 0.9967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2212/34.9, allocations: 81.62 MB / 5.505 GB, free: 30.87 MB / 0.9967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2434/35.15, allocations: 98.42 MB / 5.601 GB, free: 12.56 MB / 1.012 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.419/36.57, allocations: 103.9 MB / 5.702 GB, free: 99.71 MB / 1.012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009771/36.57, allocations: 102.7 kB / 5.702 GB, free: 99.71 MB / 1.012 GB Notification: Performance of matching and sorting (n=15281) (initialization): time 0.8907/37.46, allocations: 270.2 MB / 5.966 GB, free: 74.54 MB / 1.012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/37.46, allocations: 164.4 kB / 5.966 GB, free: 74.54 MB / 1.012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001506/37.46, allocations: 368.9 kB / 5.967 GB, free: 74.54 MB / 1.012 GB Notification: Tearing is skipped for strong component 1 because system size of 6639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/37.46, allocations: 0.7252 MB / 5.968 GB, free: 74.54 MB / 1.012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1599/37.62, allocations: 20.36 MB / 5.987 GB, free: 60.69 MB / 1.012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/37.63, allocations: 0.9 MB / 5.988 GB, free: 59.86 MB / 1.012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2701/37.9, allocations: 29.95 MB / 6.018 GB, free: 41.2 MB / 1.012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03335/37.93, allocations: 3.777 MB / 6.021 GB, free: 37.42 MB / 1.012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1682 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8643): * Single equations (assignments): 8642 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6639,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.06359/37.99, allocations: 6.017 MB / 6.027 GB, free: 31.38 MB / 1.012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.07092/38.06, allocations: 11.71 MB / 6.039 GB, free: 19.54 MB / 1.012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06046/38.12, allocations: 18.12 MB / 6.056 GB, free: 2.59 MB / 1.012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007579/38.13, allocations: 0.9297 MB / 6.057 GB, free: 1.66 MB / 1.012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002559/38.13, allocations: 0.9259 MB / 6.058 GB, free: 0.7734 MB / 1.012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/38.13, allocations: 479.4 kB / 6.058 GB, free: 0.7734 MB / 1.012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.622/39.75, allocations: 129 MB / 6.184 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001533/39.75, allocations: 2.5 kB / 6.184 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.07303/39.83, allocations: 9.295 MB / 6.194 GB, free: 116.2 MB / 1.012 GB Notification: Tearing is skipped for strong component 2 because system size of 6639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/39.83, allocations: 111.7 kB / 6.194 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.02081/39.85, allocations: 1.676 MB / 6.195 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/39.85, allocations: 110.8 kB / 6.195 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/39.85, allocations: 3.266 kB / 6.195 GB, free: 116.2 MB / 1.012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.314/42.16, allocations: 296.4 MB / 6.485 GB, free: 89.48 MB / 1.012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.08302/42.25, allocations: 18.18 MB / 6.503 GB, free: 86.67 MB / 1.012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.07063/42.32, allocations: 1.663 MB / 6.504 GB, free: 86.67 MB / 1.012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3141/42.63, allocations: 38.09 MB / 6.541 GB, free: 85.95 MB / 1.012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.05778/42.69, allocations: 14.65 MB / 6.556 GB, free: 84.93 MB / 1.012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.03005/42.72, allocations: 2.886 MB / 6.558 GB, free: 84.93 MB / 1.012 GB Notification: Performance of sorting global known variables: time 0.2864/43.01, allocations: 94.92 MB / 6.651 GB, free: 77.15 MB / 1.012 GB Notification: Performance of sort global known variables: time 9.62e-07/43.01, allocations: 0 / 6.651 GB, free: 77.15 MB / 1.012 GB Notification: Performance of remove unused functions: time 0.2174/43.22, allocations: 44.77 MB / 6.695 GB, free: 69.26 MB / 1.012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y,activeLoad[21].firstOrder1.y,activeLoad[21].firstOrder2.y,activeLoad[22].firstOrder1.y,activeLoad[22].firstOrder2.y,activeLoad[23].firstOrder1.y,activeLoad[23].firstOrder2.y,activeLoad[24].firstOrder1.y,activeLoad[24].firstOrder2.y,activeLoad[25].firstOrder1.y,activeLoad[25].firstOrder2.y,activeLoad[26].firstOrder1.y,activeLoad[26].firstOrder2.y,activeLoad[27].firstOrder1.y,activeLoad[27].firstOrder2.y,activeLoad[28].firstOrder1.y,activeLoad[28].firstOrder2.y,activeLoad[29].firstOrder1.y,activeLoad[29].firstOrder2.y,activeLoad[30].firstOrder1.y,activeLoad[30].firstOrder2.y,activeLoad[31].firstOrder1.y,activeLoad[31].firstOrder2.y,activeLoad[32].firstOrder1.y,activeLoad[32].firstOrder2.y,activeLoad[33].firstOrder1.y,activeLoad[33].firstOrder2.y,activeLoad[34].firstOrder1.y,activeLoad[34].firstOrder2.y,activeLoad[35].firstOrder1.y,activeLoad[35].firstOrder2.y,activeLoad[36].firstOrder1.y,activeLoad[36].firstOrder2.y,activeLoad[37].firstOrder1.y,activeLoad[37].firstOrder2.y,activeLoad[38].firstOrder1.y,activeLoad[38].firstOrder2.y,activeLoad[39].firstOrder1.y,activeLoad[39].firstOrder2.y,activeLoad[40].firstOrder1.y,activeLoad[40].firstOrder2.y,activeLoad[41].firstOrder1.y,activeLoad[41].firstOrder2.y,activeLoad[42].firstOrder1.y,activeLoad[42].firstOrder2.y,activeLoad[43].firstOrder1.y,activeLoad[43].firstOrder2.y,activeLoad[44].firstOrder1.y,activeLoad[44].firstOrder2.y,activeLoad[45].firstOrder1.y,activeLoad[45].firstOrder2.y,activeLoad[46].firstOrder1.y,activeLoad[46].firstOrder2.y,activeLoad[47].firstOrder1.y,activeLoad[47].firstOrder2.y,activeLoad[48].firstOrder1.y,activeLoad[48].firstOrder2.y,activeLoad[49].firstOrder1.y,activeLoad[49].firstOrder2.y,activeLoad[50].firstOrder1.y,activeLoad[50].firstOrder2.y,activeLoad[51].firstOrder1.y,activeLoad[51].firstOrder2.y,activeLoad[52].firstOrder1.y,activeLoad[52].firstOrder2.y,activeLoad[53].firstOrder1.y,activeLoad[53].firstOrder2.y,activeLoad[54].firstOrder1.y,activeLoad[54].firstOrder2.y,activeLoad[55].firstOrder1.y,activeLoad[55].firstOrder2.y,activeLoad[56].firstOrder1.y,activeLoad[56].firstOrder2.y,activeLoad[57].firstOrder1.y,activeLoad[57].firstOrder2.y,activeLoad[58].firstOrder1.y,activeLoad[58].firstOrder2.y,activeLoad[59].firstOrder1.y,activeLoad[59].firstOrder2.y,activeLoad[60].firstOrder1.y,activeLoad[60].firstOrder2.y,activeLoad[61].firstOrder1.y,activeLoad[61].firstOrder2.y,activeLoad[62].firstOrder1.y,activeLoad[62].firstOrder2.y,activeLoad[63].firstOrder1.y,activeLoad[63].firstOrder2.y,activeLoad[64].firstOrder1.y,activeLoad[64].firstOrder2.y,activeLoad[65].firstOrder1.y,activeLoad[65].firstOrder2.y,activeLoad[66].firstOrder1.y,activeLoad[66].firstOrder2.y,activeLoad[67].firstOrder1.y,activeLoad[67].firstOrder2.y,activeLoad[68].firstOrder1.y,activeLoad[68].firstOrder2.y,activeLoad[69].firstOrder1.y,activeLoad[69].firstOrder2.y,activeLoad[70].firstOrder1.y,activeLoad[70].firstOrder2.y,activeLoad[71].firstOrder1.y,activeLoad[71].firstOrder2.y,activeLoad[72].firstOrder1.y,activeLoad[72].firstOrder2.y,activeLoad[73].firstOrder1.y,activeLoad[73].firstOrder2.y,activeLoad[74].firstOrder1.y,activeLoad[74].firstOrder2.y,activeLoad[75].firstOrder1.y,activeLoad[75].firstOrder2.y,activeLoad[76].firstOrder1.y,activeLoad[76].firstOrder2.y,activeLoad[77].firstOrder1.y,activeLoad[77].firstOrder2.y,activeLoad[78].firstOrder1.y,activeLoad[78].firstOrder2.y,activeLoad[79].firstOrder1.y,activeLoad[79].firstOrder2.y,activeLoad[80].firstOrder1.y,activeLoad[80].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3522): * Single equations (assignments): 3521 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6639,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 2.418/45.64, allocations: 304.6 MB / 6.992 GB, free: 80.82 MB / 1.028 GB Notification: Performance of simCode: created initialization part: time 0.5253/46.17, allocations: 172.7 MB / 7.161 GB, free: 24.26 MB / 1.028 GB Notification: Performance of simCode: created event and clocks part: time 0.0002234/46.17, allocations: 229.6 kB / 7.161 GB, free: 24.04 MB / 1.028 GB Notification: Performance of simCode: created simulation system equations: time 1.349/47.52, allocations: 81.77 MB / 7.241 GB, free: 111.8 MB / 1.028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2486/47.76, allocations: 29.88 MB / 7.27 GB, free: 110.6 MB / 1.028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.448/50.21, allocations: 357.6 MB / 7.619 GB, free: 90.7 MB / 1.028 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3231/50.54, allocations: 92.08 MB / 7.709 GB, free: 84.26 MB / 1.028 GB Notification: Performance of simCode: alias equations: time 0.2901/50.83, allocations: 56.39 MB / 7.764 GB, free: 76.84 MB / 1.028 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2132/51.04, allocations: 60.7 MB / 7.824 GB, free: 44.82 MB / 1.028 GB Notification: Performance of SimCode: time 2.044e-06/51.04, allocations: 4 kB / 7.824 GB, free: 44.82 MB / 1.028 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.47/67.51, allocations: 2.782 GB / 10.61 GB, free: 45.61 MB / 1.262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/67.51, allocations: 336.4 kB / 10.61 GB, free: 45.26 MB / 1.262 GB Notification: Performance of buildModelFMU: Generate platform static: time 139.5/207, allocations: 2.375 kB / 10.61 GB, free: 45.26 MB / 1.262 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_80_M_20_res.mat does not exist to compare? outputFormat=mat