Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 2.927/2.927, allocations: 326.3 MB / 339.3 MB, free: 11.26 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.166e-05, allocations: 8 kB / 422.3 MB, free: 0.543 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 79.99 MB / 0.4905 GB, free: 452 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6072/0.7596, allocations: 126.8 MB / 0.6144 GB, free: 10.14 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.7598, allocations: 67.02 kB / 0.6144 GB, free: 10.1 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 1.496/2.256, allocations: 260.6 MB / 0.8689 GB, free: 108.5 MB / 0.6515 GB Notification: Performance of FrontEnd: time 2.175e-06/2.256, allocations: 0 / 0.8689 GB, free: 108.5 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 0.002261/2.259, allocations: 438.5 kB / 0.8693 GB, free: 108.4 MB / 0.6515 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.07184/2.331, allocations: 19.92 MB / 0.8888 GB, free: 103.7 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/2.331, allocations: 7.031 kB / 0.8888 GB, free: 103.7 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006978/2.338, allocations: 2.233 MB / 0.891 GB, free: 103.6 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/2.347, allocations: 1.985 MB / 0.8929 GB, free: 102.6 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03338/2.38, allocations: 10.02 MB / 0.9027 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001509/2.382, allocations: 1.146 MB / 0.9038 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00509/2.387, allocations: 1.484 MB / 0.9053 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06273/2.449, allocations: 23.56 MB / 0.9283 GB, free: 100.3 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006303/2.45, allocations: 3.375 kB / 0.9283 GB, free: 100.3 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004741/2.455, allocations: 0.6986 MB / 0.929 GB, free: 100.3 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003135/2.455, allocations: 381.8 kB / 0.9293 GB, free: 100.3 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05976/2.515, allocations: 24.08 MB / 0.9528 GB, free: 85.23 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/2.741, allocations: 76.57 MB / 1.028 GB, free: 17.67 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4883/3.229, allocations: 21.73 MB / 1.049 GB, free: 85.36 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02417/3.253, allocations: 10.14 MB / 1.059 GB, free: 85.18 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/3.255, allocations: 124.8 kB / 1.059 GB, free: 85.17 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/3.255, allocations: 262.1 kB / 1.059 GB, free: 85.12 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=1218): time 1.796e-05/3.255, allocations: 0 / 1.059 GB, free: 85.12 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1218): time 0.06092/3.316, allocations: 23.26 MB / 1.082 GB, free: 84.09 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/3.316, allocations: 176.4 kB / 1.082 GB, free: 84.02 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03367/3.35, allocations: 15.31 MB / 1.097 GB, free: 83.49 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.002788/3.353, allocations: 292.6 kB / 1.097 GB, free: 83.46 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.006971/3.359, allocations: 7.202 MB / 1.104 GB, free: 81.5 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.004956/3.364, allocations: 4.106 MB / 1.108 GB, free: 79.2 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002157/3.367, allocations: 288.2 kB / 1.109 GB, free: 79.2 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0009505/3.368, allocations: 0.941 MB / 1.109 GB, free: 78.87 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02119/3.389, allocations: 9.682 MB / 1.119 GB, free: 78.84 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02377/3.413, allocations: 11.68 MB / 1.13 GB, free: 76.71 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02575/3.438, allocations: 11.8 MB / 1.142 GB, free: 74.13 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.336e-05/3.439, allocations: 11.84 kB / 1.142 GB, free: 74.13 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.08262/3.521, allocations: 32.25 MB / 1.173 GB, free: 66.05 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/3.521, allocations: 34.31 kB / 1.173 GB, free: 66.05 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/3.521, allocations: 41.19 kB / 1.173 GB, free: 66.05 MB / 0.6515 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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.0001541/3.522, allocations: 88 kB / 1.173 GB, free: 66.05 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/3.539, allocations: 2.216 MB / 1.176 GB, free: 65.88 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001656/3.539, allocations: 108.2 kB / 1.176 GB, free: 65.86 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02736/3.566, allocations: 3.296 MB / 1.179 GB, free: 64.79 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003045/3.569, allocations: 456.9 kB / 1.179 GB, free: 64.68 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004352/3.574, allocations: 0.8101 MB / 1.18 GB, free: 64.03 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005539/3.579, allocations: 1.395 MB / 1.182 GB, free: 63.36 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005728/3.585, allocations: 2.163 MB / 1.184 GB, free: 61.98 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.134e-05/3.585, allocations: 116.6 kB / 1.184 GB, free: 61.98 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002656/3.585, allocations: 112.9 kB / 1.184 GB, free: 61.98 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/3.586, allocations: 61.95 kB / 1.184 GB, free: 61.98 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/3.621, allocations: 15.36 MB / 1.199 GB, free: 55.58 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-05/3.621, allocations: 0 / 1.199 GB, free: 55.58 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006584/3.628, allocations: 0.926 MB / 1.2 GB, free: 54.88 MB / 0.6515 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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.289e-05/3.628, allocations: 12 kB / 1.2 GB, free: 54.87 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/3.629, allocations: 192 kB / 1.2 GB, free: 54.68 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/3.629, allocations: 15.95 kB / 1.2 GB, free: 54.67 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.629, allocations: 2.734 kB / 1.2 GB, free: 54.67 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05968/3.689, allocations: 23.99 MB / 1.224 GB, free: 34.39 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00828/3.697, allocations: 2.252 MB / 1.226 GB, free: 32.23 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00601/3.703, allocations: 196 kB / 1.226 GB, free: 32.04 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03285/3.736, allocations: 4.256 MB / 1.23 GB, free: 29.59 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003359/3.739, allocations: 1.238 MB / 1.231 GB, free: 28.94 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00217/3.742, allocations: 366.1 kB / 1.232 GB, free: 28.59 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.02469/3.766, allocations: 11.36 MB / 1.243 GB, free: 18.72 MB / 0.6515 GB Notification: Performance of sort global known variables: time 7.62e-07/3.766, allocations: 0 / 1.243 GB, free: 18.72 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01864/3.785, allocations: 5.353 MB / 1.248 GB, free: 13.36 MB / 0.6515 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 (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06883/3.854, allocations: 25.21 MB / 1.273 GB, free: 8.551 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.08756/3.941, allocations: 22.57 MB / 1.295 GB, free: 10.41 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-05/3.942, allocations: 27.19 kB / 1.295 GB, free: 10.38 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.4717/4.413, allocations: 9.393 MB / 1.304 GB, free: 121.6 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02619/4.44, allocations: 3.49 MB / 1.307 GB, free: 121.5 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/4.542, allocations: 39.75 MB / 1.346 GB, free: 116.5 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01668/4.558, allocations: 11.2 MB / 1.357 GB, free: 115.4 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.02718/4.586, allocations: 6.41 MB / 1.363 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01262/4.598, allocations: 5.998 MB / 1.369 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of SimCode: time 1.152e-06/4.598, allocations: 0 / 1.369 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/5.801, allocations: 344.7 MB / 1.706 GB, free: 97.36 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/5.801, allocations: 251.7 kB / 1.706 GB, free: 97.01 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/17.92, allocations: 6.141 kB / 1.706 GB, free: 97 MB / 0.6984 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat does not exist to compare? outputFormat=mat