Running command: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.154/3.154, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.234e-05/4.237e-05, allocations: 11.98 kB / 422.3 MB, free: 0.5469 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 80 MB / 0.4906 GB, free: 444 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6536/0.8467, allocations: 125.3 MB / 0.613 GB, free: 11.59 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.8469, allocations: 46.98 kB / 0.613 GB, free: 11.57 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0608/0.9077, allocations: 10.93 MB / 0.6237 GB, free: 2.012 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9078, allocations: 4 kB / 0.6237 GB, free: 2.008 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.443e-05/0.9078, allocations: 8 kB / 0.6237 GB, free: 2 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002993/0.9108, allocations: 0.8442 MB / 0.6245 GB, free: 1.133 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.9109, allocations: 12.03 kB / 0.6245 GB, free: 1.121 MB / 0.4953 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.911, allocations: 74.03 kB / 0.6246 GB, free: 1.059 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.9112, allocations: 39.53 kB / 0.6246 GB, free: 1.02 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.9135, allocations: 0.5472 MB / 0.6252 GB, free: 464 kB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.9136, allocations: 36.11 kB / 0.6252 GB, free: 444 kB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.9139, allocations: 58.64 kB / 0.6252 GB, free: 400 kB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.9153, allocations: 0.5189 MB / 0.6258 GB, free: 15.98 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.9153, allocations: 3.906 kB / 0.6258 GB, free: 15.98 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.9154, allocations: 15.5 kB / 0.6258 GB, free: 15.97 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.9154, allocations: 12.78 kB / 0.6258 GB, free: 15.96 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.9167, allocations: 499.3 kB / 0.6263 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.9224, allocations: 1.593 MB / 0.6278 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.9251, allocations: 0.8484 MB / 0.6286 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/0.9261, allocations: 382.4 kB / 0.629 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.9261, allocations: 8.375 kB / 0.629 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.9262, allocations: 38.81 kB / 0.6291 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=52): time 3.026e-06/0.9262, allocations: 0 / 0.6291 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of matching and sorting (n=52): time 0.001852/0.9281, allocations: 0.6897 MB / 0.6297 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.9281, allocations: 63.84 kB / 0.6298 GB, free: 12.6 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.9286, allocations: 280.7 kB / 0.6301 GB, free: 12.37 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.9287, allocations: 33.33 kB / 0.6301 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.9289, allocations: 177.9 kB / 0.6303 GB, free: 12.2 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.9292, allocations: 211.1 kB / 0.6305 GB, free: 12.02 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.9292, allocations: 7.562 kB / 0.6305 GB, free: 12.02 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.9294, allocations: 365.6 kB / 0.6308 GB, free: 11.67 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000987/0.9304, allocations: 404.4 kB / 0.6312 GB, free: 11.37 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.9315, allocations: 492.8 kB / 0.6317 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.9327, allocations: 476.6 kB / 0.6321 GB, free: 10.62 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9327, allocations: 0 / 0.6321 GB, free: 10.62 MB / 0.5109 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002459/0.9352, allocations: 1.004 MB / 0.6331 GB, free: 9.828 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.9352, allocations: 6.5 kB / 0.6331 GB, free: 9.824 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9352, allocations: 8 kB / 0.6331 GB, free: 9.816 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.9353, allocations: 4 kB / 0.6331 GB, free: 9.812 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.9372, allocations: 231.2 kB / 0.6333 GB, free: 9.59 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.9372, allocations: 8 kB / 0.6334 GB, free: 9.582 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.9379, allocations: 91.48 kB / 0.6334 GB, free: 9.504 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.938, allocations: 19.94 kB / 0.6335 GB, free: 9.488 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002065/0.9383, allocations: 144.9 kB / 0.6336 GB, free: 9.359 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.9384, allocations: 35.53 kB / 0.6336 GB, free: 9.324 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.9404, allocations: 0.7896 MB / 0.6344 GB, free: 8.738 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.9404, allocations: 7.938 kB / 0.6344 GB, free: 8.73 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9405, allocations: 0 / 0.6344 GB, free: 8.73 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.9405, allocations: 7.984 kB / 0.6344 GB, free: 8.723 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.9416, allocations: 0.5794 MB / 0.635 GB, free: 8.195 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9417, allocations: 0 / 0.635 GB, free: 8.195 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.9439, allocations: 202.3 kB / 0.6352 GB, free: 8.004 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.9439, allocations: 7.984 kB / 0.6352 GB, free: 7.996 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.781e-05/0.944, allocations: 23.23 kB / 0.6352 GB, free: 7.98 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.944, allocations: 7.984 kB / 0.6352 GB, free: 7.973 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9441, allocations: 0 / 0.6352 GB, free: 7.973 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.9467, allocations: 1.215 MB / 0.6364 GB, free: 7 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.9471, allocations: 187.9 kB / 0.6366 GB, free: 6.812 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9473, allocations: 31.66 kB / 0.6366 GB, free: 6.789 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.9479, allocations: 43.75 kB / 0.6366 GB, free: 6.754 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.948, allocations: 32.27 kB / 0.6367 GB, free: 6.727 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.9481, allocations: 11.88 kB / 0.6367 GB, free: 6.719 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 0.0003287/0.9484, allocations: 218 kB / 0.6369 GB, free: 6.543 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9484, allocations: 0 / 0.6369 GB, free: 6.543 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0006887/0.9491, allocations: 138.5 kB / 0.637 GB, free: 6.426 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.002989/0.9521, allocations: 1.786 MB / 0.6388 GB, free: 4.883 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.9542, allocations: 0.8023 MB / 0.6396 GB, free: 4.27 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9542, allocations: 8.125 kB / 0.6396 GB, free: 4.262 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.955, allocations: 361 kB / 0.6399 GB, free: 3.996 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.9553, allocations: 18.83 kB / 0.6399 GB, free: 3.988 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.961, allocations: 2.61 MB / 0.6425 GB, free: 1.48 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.9616, allocations: 0.9066 MB / 0.6434 GB, free: 0.5586 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.001044/0.9627, allocations: 255 kB / 0.6436 GB, free: 316 kB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.9631, allocations: 125.5 kB / 0.6437 GB, free: 276 kB / 0.5109 GB Notification: Performance of SimCode: time 1.533e-06/0.9631, allocations: 0 / 0.6437 GB, free: 276 kB / 0.5109 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/1.004, allocations: 8.703 MB / 0.6522 GB, free: 7.691 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/1.004, allocations: 218 kB / 0.6524 GB, free: 7.453 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.558, allocations: 0 / 0.6524 GB, free: 7.453 MB / 0.5265 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat does not exist to compare? outputFormat=mat