Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.025/3.025, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.347e-05, allocations: 1.25 kB / 422.3 MB, free: 0.543 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 80 MB / 0.4906 GB, free: 440 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6322/0.7926, allocations: 127.6 MB / 0.6151 GB, free: 8.949 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.7929, allocations: 63.47 kB / 0.6152 GB, free: 8.918 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 6.793/7.586, allocations: 1.151 GB / 1.766 GB, free: 33.71 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.174e-06/7.586, allocations: 4 kB / 1.766 GB, free: 33.71 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.01296/7.599, allocations: 1.739 MB / 1.768 GB, free: 32.1 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: 16361 * Number of variables: 16361 Notification: Performance of Generate backend data structure: time 0.3542/7.953, allocations: 82.28 MB / 1.848 GB, free: 3.535 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/7.953, allocations: 12.03 kB / 1.848 GB, free: 3.523 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03878/7.992, allocations: 8.907 MB / 1.857 GB, free: 100 kB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04684/8.039, allocations: 8.046 MB / 1.865 GB, free: 7.957 MB / 0.7765 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.432/9.47, allocations: 40.44 MB / 1.904 GB, free: 64.15 MB / 0.777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007695/9.478, allocations: 4.634 MB / 1.909 GB, free: 64.03 MB / 0.777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02634/9.505, allocations: 6.041 MB / 1.915 GB, free: 64.03 MB / 0.777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2987/9.803, allocations: 94.9 MB / 2.008 GB, free: 60.3 MB / 0.777 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003783/9.807, allocations: 0.9375 kB / 2.008 GB, free: 60.3 MB / 0.777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02562/9.833, allocations: 2.793 MB / 2.01 GB, free: 58.2 MB / 0.777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001363/9.834, allocations: 1.497 MB / 2.012 GB, free: 58.2 MB / 0.777 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2685/10.1, allocations: 97.03 MB / 2.106 GB, free: 26.05 MB / 0.777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.773/11.88, allocations: 313.7 MB / 2.413 GB, free: 35.76 MB / 0.8083 GB Notification: Performance of preOpt comSubExp (simulation): time 1.007/12.88, allocations: 93.36 MB / 2.504 GB, free: 65.39 MB / 0.8083 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1004/12.98, allocations: 41.66 MB / 2.545 GB, free: 64.22 MB / 0.8083 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005187/12.99, allocations: 494.8 kB / 2.545 GB, free: 64.18 MB / 0.8083 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/12.99, allocations: 0.9294 MB / 2.546 GB, free: 64.09 MB / 0.8083 GB Notification: Performance of pre-optimization done (n=4900): time 0.0003035/12.99, allocations: 0 / 2.546 GB, free: 64.09 MB / 0.8083 GB Notification: Performance of matching and sorting (n=4900): time 0.3175/13.31, allocations: 94.3 MB / 2.638 GB, free: 49 MB / 0.8083 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004314/13.31, allocations: 0.5394 MB / 2.639 GB, free: 48.89 MB / 0.8083 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1733/13.48, allocations: 61.4 MB / 2.699 GB, free: 34.35 MB / 0.8083 GB Notification: Performance of collectPreVariables (initialization): time 0.01316/13.49, allocations: 1.074 MB / 2.7 GB, free: 33.61 MB / 0.8083 GB Notification: Performance of collectInitialEqns (initialization): time 0.0382/13.53, allocations: 30.22 MB / 2.729 GB, free: 11.24 MB / 0.8083 GB Notification: Performance of collectInitialBindings (initialization): time 0.02496/13.56, allocations: 16.73 MB / 2.746 GB, free: 14.36 MB / 0.8239 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01469/13.57, allocations: 1.13 MB / 2.747 GB, free: 13.46 MB / 0.8239 GB Notification: Performance of setup shared object (initialization): time 0.007919/13.58, allocations: 2.892 MB / 2.749 GB, free: 12.12 MB / 0.8239 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9118/14.49, allocations: 46.75 MB / 2.795 GB, free: 92.44 MB / 0.8239 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1175/14.61, allocations: 47.5 MB / 2.841 GB, free: 85.53 MB / 0.8239 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1205/14.73, allocations: 47.81 MB / 2.888 GB, free: 84.86 MB / 0.8239 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004223/14.73, allocations: 51.19 kB / 2.888 GB, free: 84.86 MB / 0.8239 GB Notification: Performance of matching and sorting (n=7365) (initialization): time 0.4094/15.14, allocations: 130.6 MB / 3.016 GB, free: 69.62 MB / 0.8239 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/15.14, allocations: 87.48 kB / 3.016 GB, free: 69.62 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004539/15.14, allocations: 178.2 kB / 3.016 GB, free: 69.62 MB / 0.8239 GB Notification: Tearing is skipped for strong component 1 because system size of 3219 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.0006977/15.14, allocations: 357.1 kB / 3.016 GB, free: 69.62 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07728/15.22, allocations: 9.647 MB / 3.026 GB, free: 65.41 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009303/15.22, allocations: 446.5 kB / 3.026 GB, free: 65.01 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.132/15.35, allocations: 14.32 MB / 3.04 GB, free: 56.54 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01541/15.37, allocations: 1.824 MB / 3.042 GB, free: 54.71 MB / 0.8239 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4147): * Single equations (assignments): 4146 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03019/15.4, allocations: 2.955 MB / 3.045 GB, free: 51.75 MB / 0.8239 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03692/15.43, allocations: 5.64 MB / 3.05 GB, free: 46.04 MB / 0.8239 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02942/15.46, allocations: 8.756 MB / 3.059 GB, free: 37.85 MB / 0.8239 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003852/15.46, allocations: 463.9 kB / 3.059 GB, free: 37.4 MB / 0.8239 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001148/15.47, allocations: 456 kB / 3.06 GB, free: 36.95 MB / 0.8239 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/15.47, allocations: 230 kB / 3.06 GB, free: 36.95 MB / 0.8239 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9626/16.43, allocations: 63.8 MB / 3.122 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000327/16.43, allocations: 3.156 kB / 3.122 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03354/16.46, allocations: 4.307 MB / 3.127 GB, free: 91.52 MB / 0.8239 GB Notification: Tearing is skipped for strong component 2 because system size of 3219 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.0003266/16.46, allocations: 53.22 kB / 3.127 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01012/16.47, allocations: 0.7925 MB / 3.127 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002594/16.47, allocations: 55.12 kB / 3.127 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/16.47, allocations: 2.219 kB / 3.127 GB, free: 91.52 MB / 0.8239 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4656/16.94, allocations: 140.5 MB / 3.265 GB, free: 80.61 MB / 0.8239 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03868/16.98, allocations: 8.833 MB / 3.273 GB, free: 77.09 MB / 0.8239 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02916/17.01, allocations: 0.7933 MB / 3.274 GB, free: 76.48 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1514/17.16, allocations: 18.3 MB / 3.292 GB, free: 75.78 MB / 0.8239 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01968/17.18, allocations: 5.641 MB / 3.297 GB, free: 75.41 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0134/17.19, allocations: 1.389 MB / 3.299 GB, free: 75.02 MB / 0.8239 GB Notification: Performance of sorting global known variables: time 0.1219/17.31, allocations: 45.86 MB / 3.344 GB, free: 54.12 MB / 0.8239 GB Notification: Performance of sort global known variables: time 1.333e-06/17.31, allocations: 1.422 kB / 3.344 GB, free: 54.12 MB / 0.8239 GB Notification: Performance of remove unused functions: time 0.09649/17.41, allocations: 21.61 MB / 3.365 GB, free: 32.47 MB / 0.8239 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 56 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y,activeLoad[21].firstOrder1.y,activeLoad[21].firstOrder2.y,activeLoad[22].firstOrder1.y,activeLoad[22].firstOrder2.y,activeLoad[23].firstOrder1.y,activeLoad[23].firstOrder2.y,activeLoad[24].firstOrder1.y,activeLoad[24].firstOrder2.y,activeLoad[25].firstOrder1.y,activeLoad[25].firstOrder2.y,activeLoad[26].firstOrder1.y,activeLoad[26].firstOrder2.y,activeLoad[27].firstOrder1.y,activeLoad[27].firstOrder2.y,activeLoad[28].firstOrder1.y,activeLoad[28].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1682): * Single equations (assignments): 1681 * 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 {(3219,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.286/18.7, allocations: 143.1 MB / 3.504 GB, free: 68.62 MB / 0.8239 GB Notification: Performance of simCode: created initialization part: time 0.2418/18.94, allocations: 83.3 MB / 3.586 GB, free: 56.74 MB / 0.8239 GB Notification: Performance of simCode: created event and clocks part: time 0.0001095/18.94, allocations: 112.2 kB / 3.586 GB, free: 56.72 MB / 0.8239 GB Notification: Performance of simCode: created simulation system equations: time 0.1212/19.06, allocations: 38 MB / 3.623 GB, free: 46.83 MB / 0.8239 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1178/19.18, allocations: 14.35 MB / 3.637 GB, free: 42.9 MB / 0.8239 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.304/20.48, allocations: 168.6 MB / 3.802 GB, free: 67.14 MB / 0.8395 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1177/20.6, allocations: 44.32 MB / 3.845 GB, free: 64.02 MB / 0.8395 GB Notification: Performance of simCode: alias equations: time 0.14/20.74, allocations: 27.41 MB / 3.872 GB, free: 61.92 MB / 0.8395 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09395/20.83, allocations: 27.66 MB / 3.899 GB, free: 61.71 MB / 0.8395 GB Notification: Performance of SimCode: time 1.573e-06/20.83, allocations: 0 / 3.899 GB, free: 61.71 MB / 0.8395 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.499/27.33, allocations: 1.338 GB / 5.237 GB, free: 83.65 MB / 0.9489 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/27.33, allocations: 296.5 kB / 5.237 GB, free: 83.3 MB / 0.9489 GB Notification: Performance of buildModelFMU: Generate platform static: time 54.76/82.09, allocations: 0 / 5.237 GB, free: 83.3 MB / 0.9489 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28_res.mat does not exist to compare? outputFormat=mat