Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_KinematicPTP",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.296/2.296, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.232/2.528, allocations: 57.19 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/2.82, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/2.998, allocations: 82.31 MB / 436.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/2.998, allocations: 67.91 kB / 436.4 MB, free: 10.9 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.2634/3.261, allocations: 12 MB / 448.4 MB, free: 86.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/3.261, allocations: 13.83 kB / 448.5 MB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/3.262, allocations: 60.44 kB / 448.5 MB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/3.262, allocations: 338.4 kB / 448.8 MB, free: 86.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/3.263, allocations: 259.7 kB / 449.1 MB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/3.263, allocations: 31.62 kB / 449.1 MB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002656/3.266, allocations: 0.8005 MB / 449.9 MB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/3.267, allocations: 0.5037 MB / 450.4 MB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/3.268, allocations: 6.875 kB / 450.4 MB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/3.268, allocations: 3.828 kB / 450.4 MB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/3.268, allocations: 6.875 kB / 450.4 MB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/3.273, allocations: 1.325 MB / 451.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/3.276, allocations: 462 kB / 452.2 MB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/3.277, allocations: 298.3 kB / 452.5 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/3.277, allocations: 9.938 kB / 452.5 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/3.277, allocations: 42.72 kB / 452.6 MB, free: 85.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.757e-06/3.277, allocations: 0 / 452.6 MB, free: 85.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.04671/3.324, allocations: 7.177 MB / 459.7 MB, free: 82.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/3.324, allocations: 97.83 kB / 459.8 MB, free: 81.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/3.325, allocations: 319.8 kB / 460.2 MB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005783/3.325, allocations: 25.7 kB / 460.2 MB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/3.326, allocations: 165.1 kB / 460.3 MB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009751/3.327, allocations: 381.1 kB / 460.7 MB, free: 81.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/3.327, allocations: 0 / 460.7 MB, free: 81.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/3.327, allocations: 371.2 kB / 461.1 MB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/3.333, allocations: 0.9516 MB / 462 MB, free: 80.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005491/3.338, allocations: 1.046 MB / 463.1 MB, free: 79.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/3.341, allocations: 0.7887 MB / 463.9 MB, free: 79.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/3.341, allocations: 0 / 463.9 MB, free: 79.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.007024/3.348, allocations: 1.998 MB / 465.9 MB, free: 77.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/3.349, allocations: 8.844 kB / 465.9 MB, free: 77.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/3.349, allocations: 4 kB / 465.9 MB, free: 77.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.266e-05/3.349, allocations: 4 kB / 465.9 MB, free: 77.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/3.355, allocations: 478.4 kB / 466.3 MB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.005e-05/3.355, allocations: 8 kB / 466.3 MB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/3.361, allocations: 281 kB / 466.6 MB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004784/3.362, allocations: 35.8 kB / 466.7 MB, free: 76.98 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.0006994/3.362, allocations: 116.8 kB / 466.8 MB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/3.363, allocations: 59.81 kB / 466.8 MB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/3.363, allocations: 63.39 kB / 466.9 MB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/3.363, allocations: 17.08 kB / 466.9 MB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/3.363, allocations: 5.438 kB / 466.9 MB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/3.363, allocations: 9.344 kB / 466.9 MB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/3.381, allocations: 4.724 MB / 471.6 MB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/3.381, allocations: 20.94 kB / 471.7 MB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003842/3.385, allocations: 442.1 kB / 472.1 MB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-05/3.385, allocations: 28 kB / 472.1 MB, free: 72.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/3.385, allocations: 28.8 kB / 472.2 MB, free: 72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.49e-05/3.385, allocations: 48.48 kB / 472.2 MB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-05/3.385, allocations: 31.88 kB / 472.2 MB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005628/3.391, allocations: 3.239 MB / 475.5 MB, free: 67.88 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007183/3.398, allocations: 4.147 MB / 479.6 MB, free: 62.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/3.399, allocations: 244.2 kB / 479.9 MB, free: 62.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/3.399, allocations: 31.98 kB / 479.9 MB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/3.402, allocations: 251.8 kB / 480.1 MB, free: 62.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008559/3.403, allocations: 223.2 kB / 480.4 MB, free: 62.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/3.403, allocations: 56 kB / 480.4 MB, free: 62.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004285/3.404, allocations: 243.1 kB / 480.6 MB, free: 61.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002622/3.406, allocations: 191.9 kB / 480.8 MB, free: 61.62 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.0004511/3.407, allocations: 154.9 kB / 481 MB, free: 61.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004904/3.412, allocations: 1.612 MB / 482.6 MB, free: 59.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/3.412, allocations: 4 kB / 482.6 MB, free: 59.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/3.416, allocations: 0.7699 MB / 483.4 MB, free: 59.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/3.418, allocations: 118.1 kB / 483.5 MB, free: 58.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/3.424, allocations: 1.644 MB / 485.1 MB, free: 57.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/3.426, allocations: 1.017 MB / 486.1 MB, free: 55.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/3.426, allocations: 4 kB / 486.1 MB, free: 55.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat