Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 2.916/2.916, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.218e-05, allocations: 7.984 kB / 422.3 MB, free: 0.5312 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 79.99 MB / 0.4906 GB, free: 440 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.7593, allocations: 126.8 MB / 0.6144 GB, free: 10.13 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.7596, allocations: 67.64 kB / 0.6144 GB, free: 10.1 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 15.28/16.03, allocations: 2.578 GB / 3.192 GB, free: 86.7 MB / 0.8859 GB Notification: Performance of FrontEnd: time 2.094e-06/16.03, allocations: 0 / 3.192 GB, free: 86.7 MB / 0.8859 GB Notification: Performance of Transformations before backend: time 0.026/16.06, allocations: 3.407 MB / 3.196 GB, free: 86.3 MB / 0.8859 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.647/16.71, allocations: 162.6 MB / 3.354 GB, free: 39.4 MB / 0.8859 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/16.71, allocations: 7.469 kB / 3.354 GB, free: 39.4 MB / 0.8859 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.06777/16.78, allocations: 17.64 MB / 3.372 GB, free: 38.54 MB / 0.8859 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07858/16.85, allocations: 15.82 MB / 3.387 GB, free: 30.94 MB / 0.8859 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.871/18.73, allocations: 82.39 MB / 3.468 GB, free: 79.87 MB / 0.8864 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01392/18.74, allocations: 9.141 MB / 3.476 GB, free: 79.62 MB / 0.8864 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04913/18.79, allocations: 11.85 MB / 3.488 GB, free: 79.62 MB / 0.8864 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5823/19.37, allocations: 188.6 MB / 3.672 GB, free: 42.36 MB / 0.8864 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.006404/19.38, allocations: 2.391 kB / 3.672 GB, free: 42.36 MB / 0.8864 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04855/19.43, allocations: 5.531 MB / 3.678 GB, free: 36.82 MB / 0.8864 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/19.43, allocations: 2.967 MB / 3.681 GB, free: 33.86 MB / 0.8864 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28/21.71, allocations: 200.9 MB / 3.877 GB, free: 81.41 MB / 0.9342 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 3.042/24.75, allocations: 0.6067 GB / 4.483 GB, free: 40.54 MB / 0.9967 GB Notification: Performance of preOpt comSubExp (simulation): time 1.428/26.18, allocations: 187.5 MB / 4.667 GB, free: 80.45 MB / 0.9967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1949/26.37, allocations: 82.95 MB / 4.748 GB, free: 56.46 MB / 0.9967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009601/26.38, allocations: 0.9634 MB / 4.749 GB, free: 56.39 MB / 0.9967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002497/26.39, allocations: 1.808 MB / 4.75 GB, free: 55.26 MB / 0.9967 GB Notification: Performance of pre-optimization done (n=9720): time 0.0003704/26.39, allocations: 0 / 4.75 GB, free: 55.26 MB / 0.9967 GB Notification: Performance of matching and sorting (n=9720): time 1.575/27.96, allocations: 194.3 MB / 4.94 GB, free: 114 MB / 0.9967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008108/27.96, allocations: 1.018 MB / 4.941 GB, free: 113.8 MB / 0.9967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.334/28.3, allocations: 121.9 MB / 5.06 GB, free: 110.2 MB / 0.9967 GB Notification: Performance of collectPreVariables (initialization): time 0.02436/28.32, allocations: 2.106 MB / 5.062 GB, free: 110.2 MB / 0.9967 GB Notification: Performance of collectInitialEqns (initialization): time 0.07379/28.39, allocations: 60.46 MB / 5.121 GB, free: 72.95 MB / 0.9967 GB Notification: Performance of collectInitialBindings (initialization): time 0.04627/28.44, allocations: 33.11 MB / 5.154 GB, free: 47.46 MB / 0.9967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0255/28.47, allocations: 2.223 MB / 5.156 GB, free: 45.68 MB / 0.9967 GB Notification: Performance of setup shared object (initialization): time 0.01334/28.48, allocations: 5.455 MB / 5.161 GB, free: 43.33 MB / 0.9967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1951/28.68, allocations: 77.8 MB / 5.237 GB, free: 26.32 MB / 0.9967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235/29.91, allocations: 96.71 MB / 5.331 GB, free: 116.9 MB / 0.9967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2391/30.15, allocations: 94.87 MB / 5.424 GB, free: 115.3 MB / 0.9967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008378/30.15, allocations: 98.28 kB / 5.424 GB, free: 115.3 MB / 0.9967 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 1.788/31.94, allocations: 259.8 MB / 5.678 GB, free: 65.54 MB / 0.9967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/31.94, allocations: 158.9 kB / 5.678 GB, free: 65.54 MB / 0.9967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001029/31.94, allocations: 352.8 kB / 5.678 GB, free: 65.54 MB / 0.9967 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.001407/31.94, allocations: 0.6866 MB / 5.679 GB, free: 65.54 MB / 0.9967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1459/32.09, allocations: 18.43 MB / 5.697 GB, free: 64.64 MB / 0.9967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/32.09, allocations: 0.862 MB / 5.698 GB, free: 64.49 MB / 0.9967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2642/32.35, allocations: 28.54 MB / 5.726 GB, free: 61.01 MB / 0.9967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03095/32.39, allocations: 3.601 MB / 5.729 GB, free: 61.01 MB / 0.9967 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.05806/32.44, allocations: 5.753 MB / 5.735 GB, free: 59.78 MB / 0.9967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.06095/32.5, allocations: 11.12 MB / 5.746 GB, free: 54.46 MB / 0.9967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05865/32.56, allocations: 17.31 MB / 5.763 GB, free: 53.38 MB / 0.9967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001273/32.56, allocations: 0.8911 MB / 5.764 GB, free: 53.38 MB / 0.9967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002802/32.57, allocations: 0.8899 MB / 5.764 GB, free: 53.38 MB / 0.9967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003013/32.57, allocations: 463.4 kB / 5.765 GB, free: 53.38 MB / 0.9967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3823/32.95, allocations: 122.4 MB / 5.884 GB, free: 32.84 MB / 0.9967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001371/32.95, allocations: 0 / 5.884 GB, free: 32.84 MB / 0.9967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05554/33.01, allocations: 7.732 MB / 5.892 GB, free: 31.74 MB / 0.9967 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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.0005476/33.01, allocations: 103.1 kB / 5.892 GB, free: 31.74 MB / 0.9967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01746/33.03, allocations: 1.486 MB / 5.893 GB, free: 30.55 MB / 0.9967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004727/33.03, allocations: 101 kB / 5.894 GB, free: 30.55 MB / 0.9967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/33.03, allocations: 4 kB / 5.894 GB, free: 30.55 MB / 0.9967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.598/34.63, allocations: 193.1 MB / 6.082 GB, free: 104.5 MB / 1.012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07686/34.7, allocations: 17.49 MB / 6.099 GB, free: 100.9 MB / 1.012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05705/34.76, allocations: 1.49 MB / 6.101 GB, free: 100.8 MB / 1.012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2951/35.05, allocations: 36.97 MB / 6.137 GB, free: 98.27 MB / 1.012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.03446/35.09, allocations: 9.868 MB / 6.146 GB, free: 98.2 MB / 1.012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02541/35.11, allocations: 2.768 MB / 6.149 GB, free: 98.2 MB / 1.012 GB Notification: Performance of sorting global known variables: time 0.2488/35.36, allocations: 91.01 MB / 6.238 GB, free: 91.13 MB / 1.012 GB Notification: Performance of sort global known variables: time 1.072e-06/35.36, allocations: 4 kB / 6.238 GB, free: 91.13 MB / 1.012 GB Notification: Performance of remove unused functions: time 0.1802/35.54, allocations: 42.82 MB / 6.28 GB, free: 83.65 MB / 1.012 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.671/37.21, allocations: 199.5 MB / 6.475 GB, free: 77.36 MB / 1.012 GB Notification: Performance of simCode: created initialization part: time 0.458/37.67, allocations: 164.6 MB / 6.635 GB, free: 58.87 MB / 1.012 GB Notification: Performance of simCode: created event and clocks part: time 0.000217/37.67, allocations: 232.6 kB / 6.636 GB, free: 58.84 MB / 1.012 GB Notification: Performance of simCode: created simulation system equations: time 0.2279/37.9, allocations: 74.93 MB / 6.709 GB, free: 39.46 MB / 1.012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2191/38.12, allocations: 28.33 MB / 6.736 GB, free: 31.48 MB / 1.012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.998/40.12, allocations: 339.1 MB / 7.068 GB, free: 56.33 MB / 1.012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2082/40.33, allocations: 87.23 MB / 7.153 GB, free: 2.148 MB / 1.012 GB Notification: Performance of simCode: alias equations: time 1.369/41.7, allocations: 57.46 MB / 7.209 GB, free: 70.96 MB / 1.012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1698/41.87, allocations: 56.91 MB / 7.264 GB, free: 53.33 MB / 1.012 GB Notification: Performance of SimCode: time 1.433e-06/41.87, allocations: 0 / 7.264 GB, free: 53.33 MB / 1.012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.65/55.51, allocations: 2.64 GB / 9.905 GB, free: 55.32 MB / 1.231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/55.51, allocations: 307.6 kB / 9.905 GB, free: 54.97 MB / 1.231 GB Notification: Performance of buildModelFMU: Generate platform static: time 95.04/150.6, allocations: 0 / 9.905 GB, free: 54.97 MB / 1.231 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat does not exist to compare? outputFormat=mat