Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.008/3.008, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.984e-05, allocations: 1.25 kB / 422.3 MB, free: 0.5586 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1644, allocations: 80 MB / 0.4905 GB, free: 460 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6564/0.8208, allocations: 127.6 MB / 0.6151 GB, free: 9.043 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.8211, allocations: 62.59 kB / 0.6152 GB, free: 9.012 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.662/1.483, allocations: 147.9 MB / 0.7597 GB, free: 8.242 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.545e-06/1.483, allocations: 0 / 0.7597 GB, free: 8.242 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 0.001432/1.485, allocations: 243.9 kB / 0.7599 GB, free: 8.004 MB / 0.6203 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2249 * Number of variables: 2249 Notification: Performance of Generate backend data structure: time 0.04724/1.532, allocations: 11.18 MB / 0.7708 GB, free: 13.34 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.532, allocations: 8.031 kB / 0.7708 GB, free: 13.34 MB / 0.6359 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004806/1.537, allocations: 1.24 MB / 0.772 GB, free: 12.63 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/1.543, allocations: 1.124 MB / 0.7731 GB, free: 11.5 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/1.565, allocations: 5.708 MB / 0.7787 GB, free: 6.484 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/1.566, allocations: 0.6437 MB / 0.7793 GB, free: 6.113 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003516/1.57, allocations: 0.8463 MB / 0.7802 GB, free: 5.547 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/1.613, allocations: 12.92 MB / 0.7928 GB, free: 10.16 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004271/1.613, allocations: 3.938 kB / 0.7928 GB, free: 10.16 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003314/1.617, allocations: 392 kB / 0.7932 GB, free: 9.777 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/1.617, allocations: 212 kB / 0.7934 GB, free: 9.57 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4779/2.095, allocations: 13.1 MB / 0.8062 GB, free: 137.8 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1434/2.238, allocations: 42.13 MB / 0.8473 GB, free: 132.6 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/2.266, allocations: 12.11 MB / 0.8591 GB, free: 132.3 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01222/2.278, allocations: 5.611 MB / 0.8646 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007651/2.279, allocations: 68.47 kB / 0.8647 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/2.279, allocations: 157.6 kB / 0.8648 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=670): time 1.097e-05/2.279, allocations: 3.406 kB / 0.8648 GB, free: 132.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=670): time 0.03862/2.318, allocations: 12.73 MB / 0.8772 GB, free: 131.2 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/2.318, allocations: 121.6 kB / 0.8774 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02066/2.338, allocations: 8.439 MB / 0.8856 GB, free: 129.1 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001705/2.34, allocations: 171 kB / 0.8858 GB, free: 129 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.004162/2.344, allocations: 4.045 MB / 0.8897 GB, free: 126.4 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.003071/2.347, allocations: 2.288 MB / 0.8919 GB, free: 124.6 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/2.349, allocations: 153.8 kB / 0.8921 GB, free: 124.5 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0006353/2.349, allocations: 0.6567 MB / 0.8927 GB, free: 124 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01279/2.362, allocations: 5.387 MB / 0.898 GB, free: 122.8 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/2.376, allocations: 6.494 MB / 0.9043 GB, free: 120.5 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/2.392, allocations: 6.495 MB / 0.9107 GB, free: 119.1 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-05/2.392, allocations: 7.562 kB / 0.9107 GB, free: 119.1 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.04789/2.44, allocations: 17.62 MB / 0.9279 GB, free: 107.2 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/2.44, allocations: 16 kB / 0.9279 GB, free: 107.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-05/2.44, allocations: 24 kB / 0.9279 GB, free: 107.1 MB / 0.6515 GB Notification: Tearing is skipped for strong component 1 because system size of 429 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.000107/2.44, allocations: 52 kB / 0.928 GB, free: 107.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/2.451, allocations: 1.345 MB / 0.9293 GB, free: 106.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/2.451, allocations: 74.7 kB / 0.9294 GB, free: 106 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01638/2.467, allocations: 1.789 MB / 0.9311 GB, free: 104.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/2.469, allocations: 252 kB / 0.9314 GB, free: 104.5 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 582 * 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 {(429,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002913/2.472, allocations: 0.4958 MB / 0.9318 GB, free: 104 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003389/2.476, allocations: 0.7803 MB / 0.9326 GB, free: 103.2 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/2.479, allocations: 1.208 MB / 0.9338 GB, free: 102 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/2.479, allocations: 64 kB / 0.9338 GB, free: 102 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001528/2.479, allocations: 60 kB / 0.9339 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/2.479, allocations: 35.5 kB / 0.9339 GB, free: 101.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/2.5, allocations: 8.652 MB / 0.9424 GB, free: 95.38 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/2.501, allocations: 1.031 kB / 0.9424 GB, free: 95.38 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005291/2.506, allocations: 0.6493 MB / 0.943 GB, free: 94.9 MB / 0.6515 GB Notification: Tearing is skipped for strong component 2 because system size of 429 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 5.339e-05/2.506, allocations: 11.72 kB / 0.943 GB, free: 94.89 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/2.507, allocations: 123.8 kB / 0.9432 GB, free: 94.77 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/2.507, allocations: 11.56 kB / 0.9432 GB, free: 94.77 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.507, allocations: 0 / 0.9432 GB, free: 94.77 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04758/2.555, allocations: 19.04 MB / 0.9618 GB, free: 78.52 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004827/2.56, allocations: 1.264 MB / 0.963 GB, free: 77.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00373/2.563, allocations: 123.9 kB / 0.9631 GB, free: 77.18 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01864/2.582, allocations: 2.233 MB / 0.9653 GB, free: 75.82 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002447/2.585, allocations: 0.7712 MB / 0.966 GB, free: 75.42 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001493/2.586, allocations: 203.6 kB / 0.9662 GB, free: 75.23 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.01466/2.601, allocations: 6.283 MB / 0.9724 GB, free: 69.75 MB / 0.6515 GB Notification: Performance of sort global known variables: time 9.71e-07/2.601, allocations: 3.969 kB / 0.9724 GB, free: 69.75 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01137/2.612, allocations: 2.963 MB / 0.9753 GB, free: 66.78 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 241 * 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 {(429,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05051/2.663, allocations: 19.87 MB / 0.9947 GB, free: 49.7 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.02925/2.692, allocations: 11.46 MB / 1.006 GB, free: 38.51 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-05/2.692, allocations: 18 kB / 1.006 GB, free: 38.49 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/2.706, allocations: 5.276 MB / 1.011 GB, free: 33.23 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01459/2.721, allocations: 1.95 MB / 1.013 GB, free: 31.4 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05725/2.778, allocations: 22.14 MB / 1.035 GB, free: 9.367 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009528/2.788, allocations: 6.615 MB / 1.041 GB, free: 2.82 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01547/2.804, allocations: 3.438 MB / 1.044 GB, free: 15.61 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008435/2.812, allocations: 3.323 MB / 1.048 GB, free: 12.29 MB / 0.6671 GB Notification: Performance of SimCode: time 1.813e-06/2.812, allocations: 0 / 1.048 GB, free: 12.29 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.919/3.731, allocations: 199.5 MB / 1.242 GB, free: 53.21 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/3.731, allocations: 264.6 kB / 1.243 GB, free: 52.86 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/12.13, allocations: 0 / 1.243 GB, free: 52.86 MB / 0.6671 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_10_M_10_res.mat does not exist to compare? outputFormat=mat