Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2353/2.279, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/2.396, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/2.768, allocations: 77.97 MB / 393.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/2.769, allocations: 70.28 kB / 394 MB, free: 14.75 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.1243/2.893, allocations: 19.04 MB / 413.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/2.893, allocations: 8 kB / 413.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/2.894, allocations: 90.97 kB / 413.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/2.897, allocations: 0.6165 MB / 413.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/2.897, allocations: 15.25 kB / 413.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/2.897, allocations: 35.83 kB / 413.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/2.898, allocations: 296.1 kB / 414.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/2.899, allocations: 444.1 kB / 414.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/2.899, allocations: 4 kB / 414.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/2.9, allocations: 0 / 414.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/2.9, allocations: 8 kB / 414.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/2.905, allocations: 1.409 MB / 416 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/2.906, allocations: 422.9 kB / 416.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/2.907, allocations: 186.2 kB / 416.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/2.907, allocations: 17.23 kB / 416.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/2.907, allocations: 38.19 kB / 416.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/2.907, allocations: 0 / 416.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001561/2.909, allocations: 404 kB / 417 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/2.909, allocations: 136.5 kB / 417.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/2.91, allocations: 386.4 kB / 417.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/2.91, allocations: 25.7 kB / 417.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/2.91, allocations: 204.5 kB / 417.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/2.91, allocations: 149.7 kB / 417.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/2.91, allocations: 0 / 417.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/2.911, allocations: 374.7 kB / 418.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/2.911, allocations: 140.9 kB / 418.4 MB, free: 9.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/2.912, allocations: 191.3 kB / 418.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/2.913, allocations: 144.7 kB / 418.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/2.913, allocations: 0 / 418.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001628/2.914, allocations: 430.5 kB / 419.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/2.914, allocations: 4 kB / 419.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/2.914, allocations: 0 / 419.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/2.914, allocations: 4 kB / 419.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/2.917, allocations: 191.8 kB / 419.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/2.917, allocations: 11.98 kB / 419.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/2.918, allocations: 99.53 kB / 419.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/2.918, allocations: 19.98 kB / 419.5 MB, free: 8.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000201/2.918, allocations: 104.9 kB / 419.6 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/2.918, allocations: 63.25 kB / 419.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/2.92, allocations: 412.2 kB / 420 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/2.92, allocations: 8 kB / 420 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/2.92, allocations: 0 / 420 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/2.92, allocations: 4 kB / 420 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/2.924, allocations: 1.034 MB / 421.1 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/2.925, allocations: 0 / 421.1 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/2.927, allocations: 159.8 kB / 421.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/2.927, allocations: 0 / 421.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/2.927, allocations: 15.98 kB / 421.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/2.927, allocations: 4 kB / 421.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.927, allocations: 0 / 421.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003565/2.931, allocations: 0.8056 MB / 422.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004484/2.936, allocations: 1.409 MB / 423.5 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/2.936, allocations: 188.1 kB / 423.6 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/2.937, allocations: 7.938 kB / 423.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/2.938, allocations: 75.94 kB / 423.7 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/2.938, allocations: 31.94 kB / 423.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/2.938, allocations: 19.98 kB / 423.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006038/2.939, allocations: 302.9 kB / 424.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001699/2.94, allocations: 99.69 kB / 424.2 MB, free: 3.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0002787/2.941, allocations: 107.1 kB / 424.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/2.942, allocations: 365.5 kB / 424.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.942, allocations: 4 kB / 424.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/2.943, allocations: 199.8 kB / 424.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/2.944, allocations: 106.8 kB / 424.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/2.95, allocations: 1.023 MB / 426 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/2.951, allocations: 0.9721 MB / 426.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/2.951, allocations: 0 / 426.9 MB, free: 1.137 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat