Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_KinematicPTP",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.294/2.294, allocations: 235 MB / 241.9 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/2.464, allocations: 57.19 MB / 299.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/2.736, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/2.903, allocations: 82.32 MB / 436.3 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/2.903, allocations: 59.97 kB / 436.3 MB, free: 10.94 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.293/3.196, allocations: 11.99 MB / 448.3 MB, free: 86.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/3.196, allocations: 11.66 kB / 448.3 MB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/3.197, allocations: 61.59 kB / 448.4 MB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/3.198, allocations: 334.7 kB / 448.7 MB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007772/3.198, allocations: 262.6 kB / 449 MB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/3.199, allocations: 26.44 kB / 449 MB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003316/3.202, allocations: 0.7964 MB / 449.8 MB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/3.204, allocations: 0.5074 MB / 450.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/3.204, allocations: 7.875 kB / 450.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/3.204, allocations: 0.8438 kB / 450.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/3.204, allocations: 13.2 kB / 450.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/3.208, allocations: 1.322 MB / 451.7 MB, free: 85.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/3.21, allocations: 468.4 kB / 452.1 MB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/3.211, allocations: 302 kB / 452.4 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/3.211, allocations: 8.219 kB / 452.4 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/3.211, allocations: 39.12 kB / 452.5 MB, free: 85.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.337e-06/3.211, allocations: 3.25 kB / 452.5 MB, free: 85.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.05943/3.271, allocations: 7.175 MB / 459.6 MB, free: 82.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/3.271, allocations: 94.14 kB / 459.7 MB, free: 81.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/3.272, allocations: 330.3 kB / 460.1 MB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003863/3.272, allocations: 25.7 kB / 460.1 MB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/3.272, allocations: 160.2 kB / 460.2 MB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/3.273, allocations: 382.8 kB / 460.6 MB, free: 81.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/3.273, allocations: 0 / 460.6 MB, free: 81.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/3.273, allocations: 367.3 kB / 461 MB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/3.278, allocations: 0.9505 MB / 461.9 MB, free: 80.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/3.283, allocations: 1.047 MB / 463 MB, free: 79.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/3.286, allocations: 0.7912 MB / 463.8 MB, free: 79.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/3.286, allocations: 0 / 463.8 MB, free: 79.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00934/3.296, allocations: 1.997 MB / 465.8 MB, free: 77.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/3.296, allocations: 4.516 kB / 465.8 MB, free: 77.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/3.296, allocations: 0 / 465.8 MB, free: 77.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-05/3.296, allocations: 8.609 kB / 465.8 MB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008444/3.304, allocations: 483.3 kB / 466.2 MB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/3.305, allocations: 8.5 kB / 466.2 MB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/3.309, allocations: 272.7 kB / 466.5 MB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/3.31, allocations: 43.47 kB / 466.6 MB, free: 77.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * 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.0005522/3.31, allocations: 121.9 kB / 466.7 MB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/3.31, allocations: 59.25 kB / 466.7 MB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/3.311, allocations: 55.78 kB / 466.8 MB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/3.311, allocations: 12 kB / 466.8 MB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/3.311, allocations: 0 / 466.8 MB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/3.311, allocations: 9.953 kB / 466.8 MB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/3.326, allocations: 4.739 MB / 471.5 MB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/3.326, allocations: 20 kB / 471.6 MB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/3.33, allocations: 434.6 kB / 472 MB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.223e-05/3.33, allocations: 35.94 kB / 472 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/3.33, allocations: 28.8 kB / 472.1 MB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-05/3.33, allocations: 47.78 kB / 472.1 MB, free: 72.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-05/3.33, allocations: 35.81 kB / 472.1 MB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004561/3.335, allocations: 3.234 MB / 475.4 MB, free: 67.96 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005969/3.341, allocations: 4.145 MB / 479.5 MB, free: 62.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/3.341, allocations: 240.2 kB / 479.8 MB, free: 62.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/3.342, allocations: 31.98 kB / 479.8 MB, free: 62.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/3.344, allocations: 263.8 kB / 480 MB, free: 62.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/3.345, allocations: 219.2 kB / 480.3 MB, free: 62.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/3.345, allocations: 56 kB / 480.3 MB, free: 62.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003738/3.346, allocations: 239.1 kB / 480.5 MB, free: 61.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002321/3.348, allocations: 203.9 kB / 480.7 MB, free: 61.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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/3.348, allocations: 142.7 kB / 480.9 MB, free: 61.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004319/3.352, allocations: 1.608 MB / 482.5 MB, free: 59.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.498e-05/3.353, allocations: 8 kB / 482.5 MB, free: 59.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/3.356, allocations: 0.7731 MB / 483.3 MB, free: 59.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/3.358, allocations: 105.7 kB / 483.4 MB, free: 59.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/3.366, allocations: 1.645 MB / 485 MB, free: 57.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/3.368, allocations: 1.025 MB / 486 MB, free: 56.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.695e-06/3.368, allocations: 0 / 486 MB, free: 56.05 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat