Running command: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.138/3.138, allocations: 326.3 MB / 339.3 MB, free: 11.18 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.405e-05, allocations: 4 kB / 422.3 MB, free: 0.5391 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 79.99 MB / 0.4905 GB, free: 444 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6668/0.8423, allocations: 125.3 MB / 0.613 GB, free: 11.2 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001549/0.8425, allocations: 46.3 kB / 0.613 GB, free: 11.18 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1369/0.9793, allocations: 25.92 MB / 0.6383 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9794, allocations: 0 / 0.6383 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 5.059e-05/0.9795, allocations: 15.94 kB / 0.6383 GB, free: 4.609 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006069/0.9855, allocations: 1.47 MB / 0.6398 GB, free: 3.137 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9856, allocations: 8.031 kB / 0.6398 GB, free: 3.129 MB / 0.5109 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.9858, allocations: 119.1 kB / 0.6399 GB, free: 3.047 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.9861, allocations: 86.97 kB / 0.64 GB, free: 2.961 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.9904, allocations: 0.9451 MB / 0.6409 GB, free: 2.023 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.9905, allocations: 72.2 kB / 0.641 GB, free: 1.98 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000627/0.9911, allocations: 134.6 kB / 0.6411 GB, free: 1.879 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.9939, allocations: 1.117 MB / 0.6422 GB, free: 1.027 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.9939, allocations: 4 kB / 0.6422 GB, free: 1.023 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.994, allocations: 26.69 kB / 0.6422 GB, free: 1.02 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.9941, allocations: 29.98 kB / 0.6422 GB, free: 0.9883 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.9971, allocations: 1.205 MB / 0.6434 GB, free: 64 kB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/1.009, allocations: 3.239 MB / 0.6466 GB, free: 13.32 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/1.014, allocations: 1.804 MB / 0.6483 GB, free: 12.03 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/1.016, allocations: 0.8821 MB / 0.6492 GB, free: 11.39 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/1.016, allocations: 16.98 kB / 0.6492 GB, free: 11.38 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.016, allocations: 47.38 kB / 0.6493 GB, free: 11.33 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=118): time 3.657e-06/1.016, allocations: 3.938 kB / 0.6493 GB, free: 11.32 MB / 0.5265 GB Notification: Performance of matching and sorting (n=118): time 0.003996/1.02, allocations: 1.567 MB / 0.6508 GB, free: 10.1 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.02, allocations: 64.41 kB / 0.6509 GB, free: 10.02 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/1.021, allocations: 451.3 kB / 0.6513 GB, free: 9.66 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.021, allocations: 52.77 kB / 0.6513 GB, free: 9.621 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/1.021, allocations: 255.3 kB / 0.6516 GB, free: 9.438 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/1.022, allocations: 462.9 kB / 0.652 GB, free: 9.043 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.022, allocations: 35.25 kB / 0.6521 GB, free: 9.031 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002247/1.022, allocations: 396.8 kB / 0.6524 GB, free: 8.668 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/1.024, allocations: 0.8774 MB / 0.6533 GB, free: 8.016 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/1.027, allocations: 1.042 MB / 0.6543 GB, free: 7.172 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/1.029, allocations: 1.037 MB / 0.6553 GB, free: 6.379 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.029, allocations: 7.938 kB / 0.6553 GB, free: 6.371 MB / 0.5265 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.005276/1.034, allocations: 2.187 MB / 0.6575 GB, free: 4.664 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.034, allocations: 12 kB / 0.6575 GB, free: 4.652 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.035, allocations: 4 kB / 0.6575 GB, free: 4.648 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/1.035, allocations: 8 kB / 0.6575 GB, free: 4.641 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/1.039, allocations: 482.7 kB / 0.658 GB, free: 4.18 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/1.039, allocations: 12 kB / 0.658 GB, free: 4.168 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.04, allocations: 193.8 kB / 0.6582 GB, free: 4 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.04, allocations: 51.61 kB / 0.6582 GB, free: 3.961 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000344/1.041, allocations: 182.7 kB / 0.6584 GB, free: 3.816 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.041, allocations: 71.11 kB / 0.6584 GB, free: 3.746 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/1.045, allocations: 1.846 MB / 0.6602 GB, free: 2.387 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.045, allocations: 12 kB / 0.6603 GB, free: 2.375 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/1.045, allocations: 0 / 0.6603 GB, free: 2.375 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.045, allocations: 3.984 kB / 0.6603 GB, free: 2.371 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/1.048, allocations: 1.128 MB / 0.6614 GB, free: 1.426 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.048, allocations: 4 kB / 0.6614 GB, free: 1.422 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004671/1.052, allocations: 455.2 kB / 0.6618 GB, free: 0.9883 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/1.052, allocations: 4 kB / 0.6618 GB, free: 0.9844 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/1.053, allocations: 63.28 kB / 0.6619 GB, free: 0.9453 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/1.053, allocations: 4 kB / 0.6619 GB, free: 0.9414 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.053, allocations: 0 / 0.6619 GB, free: 0.9414 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/1.059, allocations: 2.678 MB / 0.6645 GB, free: 14.86 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008389/1.06, allocations: 326.4 kB / 0.6648 GB, free: 14.55 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/1.06, allocations: 59.14 kB / 0.6649 GB, free: 14.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.061, allocations: 103.3 kB / 0.665 GB, free: 14.43 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.061, allocations: 65.03 kB / 0.665 GB, free: 14.37 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.061, allocations: 35.8 kB / 0.665 GB, free: 14.34 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0005753/1.062, allocations: 349.4 kB / 0.6654 GB, free: 14.07 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.5e-07/1.062, allocations: 0 / 0.6654 GB, free: 14.07 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001091/1.063, allocations: 286.2 kB / 0.6657 GB, free: 13.83 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].err_p_t_int,generator[4].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006454/1.07, allocations: 3.296 MB / 0.6689 GB, free: 11.15 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004445/1.074, allocations: 1.837 MB / 0.6707 GB, free: 9.746 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.074, allocations: 0 / 0.6707 GB, free: 9.746 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.076, allocations: 0.8432 MB / 0.6715 GB, free: 9.105 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/1.077, allocations: 45.52 kB / 0.6715 GB, free: 9.09 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.088, allocations: 5.336 MB / 0.6767 GB, free: 4.043 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.089, allocations: 1.15 MB / 0.6779 GB, free: 2.895 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002244/1.091, allocations: 0.5448 MB / 0.6784 GB, free: 2.344 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/1.092, allocations: 291.2 kB / 0.6787 GB, free: 2.258 MB / 0.5421 GB Notification: Performance of SimCode: time 9.22e-07/1.092, allocations: 0 / 0.6787 GB, free: 2.258 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.213, allocations: 18.11 MB / 0.6964 GB, free: 260 kB / 0.5578 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.213, allocations: 213.8 kB / 0.6966 GB, free: 20 kB / 0.5578 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.169, allocations: 0 / 0.6966 GB, free: 20 kB / 0.5578 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat does not exist to compare? outputFormat=mat