Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 2.97/2.97, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.863e-05, allocations: 4 kB / 422.3 MB, free: 0.5469 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 80 MB / 0.4905 GB, free: 448 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6103/0.7653, allocations: 126.8 MB / 0.6144 GB, free: 9.938 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.7655, allocations: 63.97 kB / 0.6144 GB, free: 9.906 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 2.954/3.72, allocations: 0.5329 GB / 1.147 GB, free: 44.88 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.034e-06/3.72, allocations: 0 / 1.147 GB, free: 44.88 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.005657/3.725, allocations: 0.8641 MB / 1.148 GB, free: 44.77 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1531/3.878, allocations: 40.58 MB / 1.188 GB, free: 34.82 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/3.878, allocations: 11.16 kB / 1.188 GB, free: 34.82 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01496/3.893, allocations: 4.478 MB / 1.192 GB, free: 34.57 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01868/3.912, allocations: 4.014 MB / 1.196 GB, free: 32.65 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07395/3.986, allocations: 20.11 MB / 1.216 GB, free: 29.05 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003198/3.989, allocations: 2.309 MB / 1.218 GB, free: 28.98 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01113/4.001, allocations: 3.003 MB / 1.221 GB, free: 28.91 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1385/4.139, allocations: 47.65 MB / 1.267 GB, free: 1.512 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00167/4.141, allocations: 0 / 1.267 GB, free: 1.512 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01124/4.152, allocations: 1.404 MB / 1.269 GB, free: 1.156 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000888/4.153, allocations: 0.75 MB / 1.27 GB, free: 416 kB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7453/4.898, allocations: 54.81 MB / 1.323 GB, free: 51.08 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4985/5.397, allocations: 155.7 MB / 1.475 GB, free: 31.02 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.094/5.491, allocations: 45.07 MB / 1.519 GB, free: 5.086 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09606/5.587, allocations: 23.42 MB / 1.542 GB, free: 9.234 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/5.59, allocations: 252.8 kB / 1.542 GB, free: 8.988 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/5.59, allocations: 496.2 kB / 1.543 GB, free: 8.492 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=2460): time 3.44e-05/5.59, allocations: 0 / 1.543 GB, free: 8.492 MB / 0.6984 GB Notification: Performance of matching and sorting (n=2460): time 0.6932/6.283, allocations: 48.07 MB / 1.59 GB, free: 74.66 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/6.284, allocations: 300.3 kB / 1.59 GB, free: 74.58 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07362/6.357, allocations: 30.87 MB / 1.62 GB, free: 73.56 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.005468/6.363, allocations: 0.5485 MB / 1.621 GB, free: 73.53 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.0161/6.379, allocations: 14.75 MB / 1.635 GB, free: 70.92 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.01056/6.39, allocations: 8.311 MB / 1.643 GB, free: 65.66 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005434/6.395, allocations: 0.565 MB / 1.644 GB, free: 65.66 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/6.395, allocations: 301.1 kB / 1.644 GB, free: 65.36 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04612/6.441, allocations: 19.62 MB / 1.663 GB, free: 65.3 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0515/6.493, allocations: 23.65 MB / 1.686 GB, free: 61.84 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05524/6.548, allocations: 23.91 MB / 1.71 GB, free: 59.2 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/6.548, allocations: 29.08 kB / 1.71 GB, free: 59.2 MB / 0.714 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1807/6.729, allocations: 65.4 MB / 1.774 GB, free: 35.61 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/6.729, allocations: 50.41 kB / 1.774 GB, free: 35.56 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/6.73, allocations: 88.66 kB / 1.774 GB, free: 35.48 MB / 0.714 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0002809/6.73, allocations: 176 kB / 1.774 GB, free: 35.3 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03548/6.765, allocations: 4.562 MB / 1.778 GB, free: 31.84 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003847/6.766, allocations: 217.3 kB / 1.778 GB, free: 31.64 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05949/6.825, allocations: 6.901 MB / 1.785 GB, free: 27.11 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006229/6.831, allocations: 0.9102 MB / 1.786 GB, free: 26.2 MB / 0.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01181/6.843, allocations: 1.535 MB / 1.788 GB, free: 24.65 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0134/6.857, allocations: 2.82 MB / 1.79 GB, free: 21.8 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/6.869, allocations: 4.377 MB / 1.795 GB, free: 17.7 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001734/6.869, allocations: 232 kB / 1.795 GB, free: 17.47 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005595/6.87, allocations: 228 kB / 1.795 GB, free: 17.25 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000448/6.87, allocations: 121 kB / 1.795 GB, free: 17.25 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08997/6.96, allocations: 31.5 MB / 1.826 GB, free: 11.13 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001378/6.96, allocations: 3.953 kB / 1.826 GB, free: 11.13 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01451/6.975, allocations: 1.906 MB / 1.828 GB, free: 9.734 MB / 0.7296 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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.000146/6.975, allocations: 28 kB / 1.828 GB, free: 9.707 MB / 0.7296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0038/6.979, allocations: 384 kB / 1.828 GB, free: 9.332 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-05/6.979, allocations: 28 kB / 1.828 GB, free: 9.305 MB / 0.7296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/6.979, allocations: 0.875 kB / 1.828 GB, free: 9.305 MB / 0.7296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.695/7.674, allocations: 50.29 MB / 1.877 GB, free: 88.26 MB / 0.7296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01747/7.692, allocations: 4.483 MB / 1.882 GB, free: 87.09 MB / 0.7296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01285/7.705, allocations: 390.3 kB / 1.882 GB, free: 87.09 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06989/7.774, allocations: 8.938 MB / 1.891 GB, free: 87.09 MB / 0.7296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007497/7.782, allocations: 2.497 MB / 1.893 GB, free: 87.07 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005429/7.787, allocations: 0.7031 MB / 1.894 GB, free: 87.07 MB / 0.7296 GB Notification: Performance of sorting global known variables: time 0.05474/7.842, allocations: 22.98 MB / 1.916 GB, free: 86.33 MB / 0.7296 GB Notification: Performance of sort global known variables: time 8.72e-07/7.842, allocations: 2.297 kB / 1.916 GB, free: 86.33 MB / 0.7296 GB Notification: Performance of remove unused functions: time 0.04064/7.883, allocations: 10.82 MB / 1.927 GB, free: 85.75 MB / 0.7296 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1434/8.026, allocations: 50.1 MB / 1.976 GB, free: 81.46 MB / 0.7296 GB Notification: Performance of simCode: created initialization part: time 0.1054/8.132, allocations: 41.57 MB / 2.016 GB, free: 68.55 MB / 0.7296 GB Notification: Performance of simCode: created event and clocks part: time 6.38e-05/8.132, allocations: 58.42 kB / 2.017 GB, free: 68.49 MB / 0.7296 GB Notification: Performance of simCode: created simulation system equations: time 0.05164/8.184, allocations: 18.95 MB / 2.035 GB, free: 52.27 MB / 0.7296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0517/8.235, allocations: 7.09 MB / 2.042 GB, free: 46.91 MB / 0.7296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8006/9.036, allocations: 82.72 MB / 2.123 GB, free: 82.47 MB / 0.7453 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0425/9.079, allocations: 21.96 MB / 2.144 GB, free: 80.96 MB / 0.7453 GB Notification: Performance of simCode: alias equations: time 0.06088/9.14, allocations: 13.33 MB / 2.157 GB, free: 80.74 MB / 0.7453 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02945/9.169, allocations: 12.89 MB / 2.17 GB, free: 80.73 MB / 0.7453 GB Notification: Performance of SimCode: time 1.222e-06/9.169, allocations: 4.609 kB / 2.17 GB, free: 80.73 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.615/11.78, allocations: 0.6652 GB / 2.835 GB, free: 111.6 MB / 0.7921 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/11.78, allocations: 262.6 kB / 2.835 GB, free: 111.2 MB / 0.7921 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.56/35.34, allocations: 0 / 2.835 GB, free: 111.2 MB / 0.7921 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat does not exist to compare? outputFormat=mat