Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 2.943/2.943, allocations: 326.3 MB / 339.3 MB, free: 11.29 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.162e-05, allocations: 4 kB / 422.3 MB, free: 0.5508 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 79.99 MB / 0.4905 GB, free: 460 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5993/0.7544, allocations: 126.8 MB / 0.6144 GB, free: 9.992 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.7547, allocations: 66.16 kB / 0.6144 GB, free: 9.961 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 6.163/6.918, allocations: 1.109 GB / 1.723 GB, free: 45.37 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.194e-06/6.918, allocations: 0 / 1.723 GB, free: 45.37 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.01238/6.93, allocations: 1.685 MB / 1.725 GB, free: 45.18 MB / 0.7296 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.3063/7.237, allocations: 79.59 MB / 1.803 GB, free: 7.68 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/7.237, allocations: 12.03 kB / 1.803 GB, free: 7.668 MB / 0.7296 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03223/7.269, allocations: 8.697 MB / 1.811 GB, free: 4.309 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04871/7.318, allocations: 8.317 MB / 1.819 GB, free: 13.48 MB / 0.7453 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1613/7.479, allocations: 39.37 MB / 1.858 GB, free: 0 / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159/8.638, allocations: 5.471 MB / 1.863 GB, free: 68.05 MB / 0.7614 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02444/8.663, allocations: 5.84 MB / 1.869 GB, free: 68.05 MB / 0.7614 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2781/8.941, allocations: 92.82 MB / 1.959 GB, free: 66.62 MB / 0.7614 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003168/8.944, allocations: 0 / 1.959 GB, free: 66.62 MB / 0.7614 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02258/8.967, allocations: 2.722 MB / 1.962 GB, free: 66.62 MB / 0.7614 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/8.968, allocations: 1.463 MB / 1.963 GB, free: 66.62 MB / 0.7614 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2528/9.221, allocations: 95.1 MB / 2.056 GB, free: 46.39 MB / 0.7614 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.687/10.91, allocations: 306.4 MB / 2.355 GB, free: 43.8 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1984/11.11, allocations: 89.61 MB / 2.443 GB, free: 20.02 MB / 0.8239 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7672/11.87, allocations: 41.87 MB / 2.484 GB, free: 102.2 MB / 0.8239 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004899/11.88, allocations: 488.8 kB / 2.484 GB, free: 102.2 MB / 0.8239 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/11.88, allocations: 0.9094 MB / 2.485 GB, free: 102.1 MB / 0.8239 GB Notification: Performance of pre-optimization done (n=4788): time 9.293e-05/11.88, allocations: 0 / 2.485 GB, free: 102.1 MB / 0.8239 GB Notification: Performance of matching and sorting (n=4788): time 0.2799/12.16, allocations: 92.13 MB / 2.575 GB, free: 97.25 MB / 0.8239 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004064/12.16, allocations: 0.5322 MB / 2.576 GB, free: 97.14 MB / 0.8239 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1517/12.31, allocations: 60.04 MB / 2.634 GB, free: 94.93 MB / 0.8239 GB Notification: Performance of collectPreVariables (initialization): time 0.01169/12.32, allocations: 1.047 MB / 2.635 GB, free: 94.89 MB / 0.8239 GB Notification: Performance of collectInitialEqns (initialization): time 0.03488/12.36, allocations: 29.2 MB / 2.664 GB, free: 76.91 MB / 0.8239 GB Notification: Performance of collectInitialBindings (initialization): time 0.02193/12.38, allocations: 16.28 MB / 2.68 GB, free: 64.38 MB / 0.8239 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01204/12.39, allocations: 1.094 MB / 2.681 GB, free: 63.5 MB / 0.8239 GB Notification: Performance of setup shared object (initialization): time 0.005869/12.4, allocations: 2.834 MB / 2.684 GB, free: 62.19 MB / 0.8239 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09397/12.49, allocations: 38.27 MB / 2.721 GB, free: 53.8 MB / 0.8239 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.104/12.6, allocations: 46.14 MB / 2.766 GB, free: 24.7 MB / 0.8239 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8395/13.44, allocations: 53.04 MB / 2.818 GB, free: 93.4 MB / 0.8239 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003189/13.44, allocations: 48.81 kB / 2.818 GB, free: 93.4 MB / 0.8239 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.3721/13.81, allocations: 127.7 MB / 2.943 GB, free: 87.58 MB / 0.8239 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/13.81, allocations: 81.12 kB / 2.943 GB, free: 87.58 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004549/13.81, allocations: 171.6 kB / 2.943 GB, free: 87.58 MB / 0.8239 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.0005644/13.81, allocations: 346.4 kB / 2.943 GB, free: 87.58 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07116/13.88, allocations: 8.993 MB / 2.952 GB, free: 87.13 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008403/13.88, allocations: 438.8 kB / 2.952 GB, free: 87.06 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1207/14, allocations: 13.78 MB / 2.966 GB, free: 84.8 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01367/14.02, allocations: 1.777 MB / 2.968 GB, free: 84.8 MB / 0.8239 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02565/14.04, allocations: 2.881 MB / 2.97 GB, free: 84.14 MB / 0.8239 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02885/14.07, allocations: 5.481 MB / 2.976 GB, free: 81.53 MB / 0.8239 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/14.1, allocations: 8.522 MB / 2.984 GB, free: 79.14 MB / 0.8239 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004239/14.1, allocations: 448.8 kB / 2.984 GB, free: 79.14 MB / 0.8239 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001071/14.1, allocations: 450 kB / 2.985 GB, free: 79.14 MB / 0.8239 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/14.1, allocations: 228.1 kB / 2.985 GB, free: 79.14 MB / 0.8239 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.167/14.27, allocations: 60.26 MB / 3.044 GB, free: 60.23 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003535/14.27, allocations: 0 / 3.044 GB, free: 60.23 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02704/14.29, allocations: 3.769 MB / 3.048 GB, free: 57.51 MB / 0.8239 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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.0002501/14.29, allocations: 48 kB / 3.048 GB, free: 57.46 MB / 0.8239 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007445/14.3, allocations: 0.7382 MB / 3.048 GB, free: 56.72 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000192/14.3, allocations: 51.94 kB / 3.048 GB, free: 56.67 MB / 0.8239 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/14.3, allocations: 4 kB / 3.048 GB, free: 56.67 MB / 0.8239 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9792/15.28, allocations: 95.83 MB / 3.142 GB, free: 71.48 MB / 0.8239 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03541/15.32, allocations: 8.652 MB / 3.15 GB, free: 70.94 MB / 0.8239 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02615/15.34, allocations: 0.7313 MB / 3.151 GB, free: 70.94 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1403/15.48, allocations: 17.86 MB / 3.169 GB, free: 70.94 MB / 0.8239 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0152/15.5, allocations: 4.862 MB / 3.173 GB, free: 70.9 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01175/15.51, allocations: 1.368 MB / 3.175 GB, free: 70.9 MB / 0.8239 GB Notification: Performance of sorting global known variables: time 0.1111/15.62, allocations: 44.8 MB / 3.218 GB, free: 69.48 MB / 0.8239 GB Notification: Performance of sort global known variables: time 9.81e-07/15.62, allocations: 0 / 3.218 GB, free: 69.48 MB / 0.8239 GB Notification: Performance of remove unused functions: time 0.08377/15.71, allocations: 21.08 MB / 3.239 GB, free: 67.36 MB / 0.8239 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 (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2934/16, allocations: 97.27 MB / 3.334 GB, free: 48.95 MB / 0.8239 GB Notification: Performance of simCode: created initialization part: time 0.8542/16.85, allocations: 81 MB / 3.413 GB, free: 88.27 MB / 0.8239 GB Notification: Performance of simCode: created event and clocks part: time 0.0001598/16.85, allocations: 115.5 kB / 3.413 GB, free: 88.25 MB / 0.8239 GB Notification: Performance of simCode: created simulation system equations: time 0.1057/16.96, allocations: 36.89 MB / 3.449 GB, free: 86.94 MB / 0.8239 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1047/17.06, allocations: 13.89 MB / 3.463 GB, free: 86.34 MB / 0.8239 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4598/17.52, allocations: 162.7 MB / 3.622 GB, free: 67.2 MB / 0.8239 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08324/17.61, allocations: 42.92 MB / 3.664 GB, free: 44.83 MB / 0.8239 GB Notification: Performance of simCode: alias equations: time 0.1212/17.73, allocations: 26.6 MB / 3.69 GB, free: 26.84 MB / 0.8239 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7907/18.52, allocations: 28.15 MB / 3.717 GB, free: 69.48 MB / 0.8239 GB Notification: Performance of SimCode: time 1.733e-06/18.52, allocations: 0.9688 kB / 3.717 GB, free: 69.48 MB / 0.8239 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.079/24.6, allocations: 1.298 GB / 5.015 GB, free: 43.5 MB / 0.9958 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/24.6, allocations: 271.2 kB / 5.015 GB, free: 43.16 MB / 0.9958 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.89/68.49, allocations: 0 / 5.015 GB, free: 43.16 MB / 0.9958 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat does not exist to compare? outputFormat=mat