Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.002/3.002, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.849e-05, allocations: 5.25 kB / 422.3 MB, free: 0.5391 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1631, allocations: 80.01 MB / 0.4906 GB, free: 436 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6854/0.8485, allocations: 152.1 MB / 0.639 GB, free: 2.445 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.8488, allocations: 65.28 kB / 0.6391 GB, free: 2.414 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 3.154/4.003, allocations: 0.5354 GB / 1.175 GB, free: 23.43 MB / 0.6984 GB Notification: Performance of FrontEnd: time 2.274e-06/4.003, allocations: 0 / 1.175 GB, free: 23.43 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.005301/4.008, allocations: 0.8636 MB / 1.175 GB, free: 23.33 MB / 0.6984 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.1165/4.125, allocations: 27.9 MB / 1.203 GB, free: 13.91 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/4.125, allocations: 8.969 kB / 1.203 GB, free: 13.91 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01516/4.14, allocations: 3.992 MB / 1.206 GB, free: 13.66 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/4.16, allocations: 4.002 MB / 1.21 GB, free: 11.74 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05584/4.216, allocations: 11.92 MB / 1.222 GB, free: 8.715 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003943/4.22, allocations: 2.309 MB / 1.224 GB, free: 8.652 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01067/4.23, allocations: 3.005 MB / 1.227 GB, free: 8.648 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/4.337, allocations: 23.58 MB / 1.25 GB, free: 6.184 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001879/4.339, allocations: 0 / 1.25 GB, free: 6.184 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01123/4.35, allocations: 1.4 MB / 1.252 GB, free: 5.832 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/4.351, allocations: 0.75 MB / 1.252 GB, free: 5.082 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1299/4.481, allocations: 22.43 MB / 1.274 GB, free: 8.566 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.033/5.514, allocations: 95.54 MB / 1.368 GB, free: 82.47 MB / 0.7765 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06607/5.58, allocations: 26.94 MB / 1.394 GB, free: 80.98 MB / 0.7765 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02928/5.609, allocations: 10.32 MB / 1.404 GB, free: 80.53 MB / 0.7765 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002476/5.612, allocations: 248.2 kB / 1.404 GB, free: 80.51 MB / 0.7765 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/5.613, allocations: 0.4909 MB / 1.405 GB, free: 80.44 MB / 0.7765 GB Notification: Performance of pre-optimization done (n=2460): time 7.191e-05/5.613, allocations: 2.969 kB / 1.405 GB, free: 80.44 MB / 0.7765 GB Notification: Performance of matching and sorting (n=2460): time 0.1008/5.713, allocations: 25.04 MB / 1.429 GB, free: 79.12 MB / 0.7765 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/5.714, allocations: 300.4 kB / 1.429 GB, free: 79.04 MB / 0.7765 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06024/5.774, allocations: 16.88 MB / 1.446 GB, free: 77.83 MB / 0.7765 GB Notification: Performance of collectPreVariables (initialization): time 0.0055/5.78, allocations: 0.5497 MB / 1.446 GB, free: 77.8 MB / 0.7765 GB Notification: Performance of collectInitialEqns (initialization): time 0.01759/5.797, allocations: 14.65 MB / 1.461 GB, free: 67.66 MB / 0.7765 GB Notification: Performance of collectInitialBindings (initialization): time 0.01044/5.808, allocations: 8.169 MB / 1.469 GB, free: 61.27 MB / 0.7765 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005567/5.813, allocations: 0.5624 MB / 1.469 GB, free: 60.82 MB / 0.7765 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/5.813, allocations: 303.9 kB / 1.47 GB, free: 60.53 MB / 0.7765 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02815/5.842, allocations: 6.944 MB / 1.476 GB, free: 57.77 MB / 0.7765 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03418/5.876, allocations: 10.75 MB / 1.487 GB, free: 51.11 MB / 0.7765 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03382/5.91, allocations: 8.575 MB / 1.495 GB, free: 47.77 MB / 0.7765 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001948/5.91, allocations: 26.19 kB / 1.495 GB, free: 47.77 MB / 0.7765 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1276/6.037, allocations: 32.43 MB / 1.527 GB, free: 36.49 MB / 0.7765 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/6.038, allocations: 44.91 kB / 1.527 GB, free: 36.49 MB / 0.7765 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002134/6.038, allocations: 86.47 kB / 1.527 GB, free: 36.49 MB / 0.7765 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.0003218/6.038, allocations: 178.5 kB / 1.527 GB, free: 36.49 MB / 0.7765 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02752/6.066, allocations: 3.173 MB / 1.53 GB, free: 36.21 MB / 0.7765 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/6.066, allocations: 225.8 kB / 1.531 GB, free: 36.18 MB / 0.7765 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04605/6.112, allocations: 2.753 MB / 1.533 GB, free: 34.04 MB / 0.7765 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006363/6.119, allocations: 0.9115 MB / 1.534 GB, free: 33.81 MB / 0.7765 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.01193/6.131, allocations: 1.524 MB / 1.536 GB, free: 32.6 MB / 0.7765 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01384/6.145, allocations: 2.823 MB / 1.538 GB, free: 31.25 MB / 0.7765 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/6.155, allocations: 2.747 MB / 1.541 GB, free: 29.34 MB / 0.7765 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001969/6.155, allocations: 235.9 kB / 1.541 GB, free: 29.34 MB / 0.7765 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005498/6.155, allocations: 232.7 kB / 1.541 GB, free: 29.34 MB / 0.7765 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006474/6.156, allocations: 114.3 kB / 1.542 GB, free: 29.34 MB / 0.7765 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06829/6.224, allocations: 21.38 MB / 1.562 GB, free: 21.39 MB / 0.7765 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001497/6.225, allocations: 0 / 1.562 GB, free: 21.39 MB / 0.7765 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/6.235, allocations: 1.227 MB / 1.564 GB, free: 21.26 MB / 0.7765 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.0001493/6.235, allocations: 26.34 kB / 1.564 GB, free: 21.26 MB / 0.7765 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00368/6.239, allocations: 385.1 kB / 1.564 GB, free: 20.96 MB / 0.7765 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001185/6.239, allocations: 31.94 kB / 1.564 GB, free: 20.96 MB / 0.7765 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/6.239, allocations: 3.609 kB / 1.564 GB, free: 20.96 MB / 0.7765 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09889/6.338, allocations: 26.28 MB / 1.59 GB, free: 10.66 MB / 0.7765 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01412/6.352, allocations: 2.997 MB / 1.593 GB, free: 8.57 MB / 0.7765 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01311/6.365, allocations: 384.2 kB / 1.593 GB, free: 8.273 MB / 0.7765 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05046/6.416, allocations: 3.39 MB / 1.596 GB, free: 7.922 MB / 0.7765 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007127/6.423, allocations: 2.501 MB / 1.599 GB, free: 7.75 MB / 0.7765 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006174/6.429, allocations: 0.7001 MB / 1.599 GB, free: 7.535 MB / 0.7765 GB Notification: Performance of sorting global known variables: time 0.05203/6.481, allocations: 13.06 MB / 1.612 GB, free: 13.17 MB / 0.7921 GB Notification: Performance of sort global known variables: time 3.216e-06/6.481, allocations: 0 / 1.612 GB, free: 13.17 MB / 0.7921 GB Notification: Performance of remove unused functions: time 0.04142/6.523, allocations: 8.803 MB / 1.621 GB, free: 4.344 MB / 0.7921 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.1307/6.653, allocations: 28.61 MB / 1.649 GB, free: 12.89 MB / 0.8234 GB Notification: Performance of simCode: created initialization part: time 0.7246/7.378, allocations: 23.52 MB / 1.672 GB, free: 142.6 MB / 0.8234 GB Notification: Performance of simCode: created event and clocks part: time 8.264e-05/7.378, allocations: 57.92 kB / 1.672 GB, free: 142.6 MB / 0.8234 GB Notification: Performance of simCode: created simulation system equations: time 0.04212/7.42, allocations: 10.65 MB / 1.682 GB, free: 142.1 MB / 0.8234 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04777/7.468, allocations: 5.422 MB / 1.687 GB, free: 141.7 MB / 0.8234 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1627/7.631, allocations: 38.52 MB / 1.725 GB, free: 132.3 MB / 0.8234 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02789/7.659, allocations: 11.58 MB / 1.736 GB, free: 130.9 MB / 0.8234 GB Notification: Performance of simCode: alias equations: time 0.03752/7.696, allocations: 2.643 MB / 1.739 GB, free: 130.7 MB / 0.8234 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0351/7.732, allocations: 14.09 MB / 1.753 GB, free: 130.7 MB / 0.8234 GB Notification: Performance of SimCode: time 1.653e-06/7.732, allocations: 0 / 1.753 GB, free: 130.7 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.895/9.627, allocations: 0.4894 GB / 2.242 GB, free: 15.96 MB / 0.8234 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/9.627, allocations: 275.2 kB / 2.242 GB, free: 15.62 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.38/34.01, allocations: 0 / 2.242 GB, free: 15.62 MB / 0.8234 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat does not exist to compare? outputFormat=mat