Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.081/3.081, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.366e-05, allocations: 9.234 kB / 422.3 MB, free: 0.5586 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 80 MB / 0.4906 GB, free: 456 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7994/0.9619, allocations: 228.3 MB / 0.7135 GB, free: 12.72 MB / 0.589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.9622, allocations: 66.45 kB / 0.7136 GB, free: 12.69 MB / 0.589 GB Notification: Performance of FrontEnd - DAE generated: time 21.05/22.01, allocations: 2.943 GB / 3.657 GB, free: 9.871 MB / 1.34 GB Notification: Performance of FrontEnd: time 2.795e-06/22.01, allocations: 0 / 3.657 GB, free: 9.871 MB / 1.34 GB Notification: Performance of Transformations before backend: time 0.02316/22.03, allocations: 3.415 MB / 3.66 GB, free: 6.703 MB / 1.34 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.509/22.54, allocations: 109.3 MB / 3.767 GB, free: 1.93 MB / 1.433 GB Notification: Performance of prepare preOptimizeDAE: time 7.864e-05/22.54, allocations: 8.031 kB / 3.767 GB, free: 1.922 MB / 1.433 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.07219/22.61, allocations: 15.68 MB / 3.782 GB, free: 10.13 MB / 1.449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08991/22.7, allocations: 15.81 MB / 3.798 GB, free: 10.13 MB / 1.465 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2372/22.94, allocations: 46.96 MB / 3.844 GB, free: 7.504 MB / 1.496 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01701/22.96, allocations: 9.139 MB / 3.853 GB, free: 2.312 MB / 1.496 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04958/23.01, allocations: 11.86 MB / 3.864 GB, free: 9.594 MB / 1.511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4609/23.47, allocations: 93.09 MB / 3.955 GB, free: 12.42 MB / 1.605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.007628/23.48, allocations: 4.703 kB / 3.955 GB, free: 12.42 MB / 1.605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05085/23.53, allocations: 5.532 MB / 3.961 GB, free: 6.887 MB / 1.605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/23.53, allocations: 2.965 MB / 3.964 GB, free: 3.922 MB / 1.605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3625/23.89, allocations: 79.22 MB / 4.041 GB, free: 4.695 MB / 1.683 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.83/26.72, allocations: 378.3 MB / 4.41 GB, free: 414.4 MB / 1.683 GB Notification: Performance of preOpt comSubExp (simulation): time 0.383/27.11, allocations: 115.6 MB / 4.523 GB, free: 342.4 MB / 1.683 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1379/27.24, allocations: 41.97 MB / 4.564 GB, free: 324.2 MB / 1.683 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/27.25, allocations: 0.9694 MB / 4.565 GB, free: 324.1 MB / 1.683 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002907/27.26, allocations: 1.809 MB / 4.567 GB, free: 323 MB / 1.683 GB Notification: Performance of pre-optimization done (n=9720): time 0.0006877/27.26, allocations: 2.406 kB / 4.567 GB, free: 323 MB / 1.683 GB Notification: Performance of matching and sorting (n=9720): time 0.4232/27.68, allocations: 98.87 MB / 4.663 GB, free: 287.7 MB / 1.683 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000834/27.68, allocations: 1.016 MB / 4.664 GB, free: 287.5 MB / 1.683 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2483/27.93, allocations: 66.4 MB / 4.729 GB, free: 254.5 MB / 1.683 GB Notification: Performance of collectPreVariables (initialization): time 0.02416/27.95, allocations: 2.099 MB / 4.731 GB, free: 252.4 MB / 1.683 GB Notification: Performance of collectInitialEqns (initialization): time 0.07976/28.03, allocations: 60.58 MB / 4.79 GB, free: 197.5 MB / 1.683 GB Notification: Performance of collectInitialBindings (initialization): time 0.0603/28.09, allocations: 32.52 MB / 4.822 GB, free: 168.2 MB / 1.683 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02466/28.12, allocations: 2.223 MB / 4.824 GB, free: 165.9 MB / 1.683 GB Notification: Performance of setup shared object (initialization): time 0.01373/28.13, allocations: 4.561 MB / 4.829 GB, free: 162.7 MB / 1.683 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1207/28.25, allocations: 27.45 MB / 4.856 GB, free: 135.2 MB / 1.683 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1354/28.39, allocations: 42.6 MB / 4.897 GB, free: 89.48 MB / 1.683 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1562/28.55, allocations: 33.91 MB / 4.93 GB, free: 58.79 MB / 1.683 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006274/28.55, allocations: 100 kB / 4.93 GB, free: 58.7 MB / 1.683 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 2.132/30.68, allocations: 135.2 MB / 5.062 GB, free: 485.5 MB / 1.683 GB Notification: Performance of prepare postOptimizeDAE: time 0.000729/30.68, allocations: 156.7 kB / 5.063 GB, free: 485.5 MB / 1.683 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001045/30.68, allocations: 350.2 kB / 5.063 GB, free: 485.5 MB / 1.683 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.002266/30.68, allocations: 0.6891 MB / 5.064 GB, free: 485.5 MB / 1.683 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1166/30.8, allocations: 12.53 MB / 5.076 GB, free: 485.5 MB / 1.683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/30.8, allocations: 0.8593 MB / 5.077 GB, free: 485.5 MB / 1.683 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1902/30.99, allocations: 10.86 MB / 5.087 GB, free: 485.4 MB / 1.683 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02958/31.02, allocations: 3.6 MB / 5.091 GB, free: 485.4 MB / 1.683 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.05554/31.08, allocations: 5.755 MB / 5.096 GB, free: 485.1 MB / 1.683 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05948/31.14, allocations: 11.13 MB / 5.107 GB, free: 483.3 MB / 1.683 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04419/31.18, allocations: 10.84 MB / 5.118 GB, free: 482.2 MB / 1.683 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001546/31.18, allocations: 0.8898 MB / 5.119 GB, free: 482.2 MB / 1.683 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002393/31.19, allocations: 0.8925 MB / 5.12 GB, free: 482.2 MB / 1.683 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003927/31.19, allocations: 457.7 kB / 5.12 GB, free: 482.2 MB / 1.683 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3407/31.53, allocations: 84.28 MB / 5.202 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001305/31.53, allocations: 0 / 5.202 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04124/31.57, allocations: 4.814 MB / 5.207 GB, free: 476.5 MB / 1.683 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.0006831/31.57, allocations: 102.8 kB / 5.207 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01725/31.59, allocations: 1.482 MB / 5.209 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005027/31.59, allocations: 103.8 kB / 5.209 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/31.59, allocations: 0 / 5.209 GB, free: 476.5 MB / 1.683 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4315/32.02, allocations: 103.6 MB / 5.31 GB, free: 452.3 MB / 1.683 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05711/32.08, allocations: 11.6 MB / 5.321 GB, free: 444.3 MB / 1.683 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0541/32.13, allocations: 1.484 MB / 5.323 GB, free: 443.1 MB / 1.683 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2072/32.34, allocations: 13.36 MB / 5.336 GB, free: 441.8 MB / 1.683 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02963/32.37, allocations: 9.863 MB / 5.345 GB, free: 441.1 MB / 1.683 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02547/32.4, allocations: 2.771 MB / 5.348 GB, free: 440.3 MB / 1.683 GB Notification: Performance of sorting global known variables: time 0.2005/32.6, allocations: 49.67 MB / 5.397 GB, free: 422.1 MB / 1.683 GB Notification: Performance of sort global known variables: time 1.583e-06/32.6, allocations: 6.75 kB / 5.397 GB, free: 422.1 MB / 1.683 GB Notification: Performance of remove unused functions: time 0.1676/32.77, allocations: 34.75 MB / 5.431 GB, free: 414.7 MB / 1.683 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 0.4565/33.22, allocations: 108.1 MB / 5.536 GB, free: 373.9 MB / 1.683 GB Notification: Performance of simCode: created initialization part: time 0.3279/33.55, allocations: 81.29 MB / 5.616 GB, free: 299.3 MB / 1.683 GB Notification: Performance of simCode: created event and clocks part: time 0.0002692/33.55, allocations: 231.3 kB / 5.616 GB, free: 299.1 MB / 1.683 GB Notification: Performance of simCode: created simulation system equations: time 0.1768/33.73, allocations: 41.97 MB / 5.657 GB, free: 262.6 MB / 1.683 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1966/33.92, allocations: 21.45 MB / 5.678 GB, free: 245 MB / 1.683 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7287/34.65, allocations: 157.6 MB / 5.832 GB, free: 99.84 MB / 1.683 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1276/34.78, allocations: 46.13 MB / 5.877 GB, free: 70.08 MB / 1.683 GB Notification: Performance of simCode: alias equations: time 0.1489/34.93, allocations: 10.44 MB / 5.887 GB, free: 62.82 MB / 1.683 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663/36.59, allocations: 64.05 MB / 5.949 GB, free: 472 MB / 1.683 GB Notification: Performance of SimCode: time 1.824e-06/36.59, allocations: 0.7656 kB / 5.949 GB, free: 472 MB / 1.683 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.863/44.45, allocations: 1.935 GB / 7.885 GB, free: 361.6 MB / 1.683 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/44.46, allocations: 325.8 kB / 7.885 GB, free: 361.3 MB / 1.683 GB Notification: Performance of buildModelFMU: Generate platform static: time 98.02/142.5, allocations: 0 / 7.885 GB, free: 361.3 MB / 1.683 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40_res.mat does not exist to compare? outputFormat=mat