Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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 1.959/1.959, allocations: 209.3 MB / 216.3 MB, free: 6.848 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2376/2.197, allocations: 51.03 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/2.306, allocations: 48.68 MB / 316 MB, free: 4.445 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/2.675, allocations: 91.9 MB / 407.9 MB, free: 1.062 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/2.675, allocations: 88.34 kB / 408 MB, free: 1.016 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.3228/2.998, allocations: 67.16 MB / 475.1 MB, free: 1.047 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/2.998, allocations: 11.98 kB / 475.1 MB, free: 1.035 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/3.013, allocations: 1.61 MB / 476.7 MB, free: 15.42 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007572/3.021, allocations: 2.04 MB / 478.8 MB, free: 13.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/3.021, allocations: 120 kB / 478.9 MB, free: 13.21 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/3.024, allocations: 208 kB / 479.1 MB, free: 13.01 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01735/3.041, allocations: 5.469 MB / 484.6 MB, free: 7.539 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2026/3.244, allocations: 7.484 MB / 492.1 MB, free: 140.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/3.244, allocations: 17.03 kB / 492.1 MB, free: 140.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00265/3.247, allocations: 7.625 kB / 492.1 MB, free: 140.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/3.249, allocations: 0.8598 MB / 492.9 MB, free: 140.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06069/3.31, allocations: 26.62 MB / 0.5074 GB, free: 129.2 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/3.314, allocations: 1.738 MB / 0.5091 GB, free: 128.6 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/3.315, allocations: 0.7212 MB / 0.5098 GB, free: 128.6 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/3.316, allocations: 25.42 kB / 0.5098 GB, free: 128.6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/3.316, allocations: 42.53 kB / 0.5098 GB, free: 128.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=132): time 6.412e-06/3.316, allocations: 3.281 kB / 0.5098 GB, free: 128.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=132): time 0.008029/3.324, allocations: 1.952 MB / 0.5118 GB, free: 128.4 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/3.324, allocations: 62.25 kB / 0.5118 GB, free: 128.4 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/3.328, allocations: 1.775 MB / 0.5135 GB, free: 128.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/3.328, allocations: 25.7 kB / 0.5136 GB, free: 128.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/3.33, allocations: 2.259 MB / 0.5158 GB, free: 126.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008081/3.331, allocations: 485 kB / 0.5162 GB, free: 126.6 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/3.331, allocations: 0 / 0.5162 GB, free: 126.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004736/3.332, allocations: 0.5175 MB / 0.5167 GB, free: 126.2 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/3.335, allocations: 1.088 MB / 0.5178 GB, free: 126.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/3.34, allocations: 3.357 MB / 0.5211 GB, free: 123.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/3.345, allocations: 1.976 MB / 0.523 GB, free: 122.6 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.295e-05/3.345, allocations: 22.06 kB / 0.523 GB, free: 122.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.0114/3.357, allocations: 3.981 MB / 0.5269 GB, free: 121.3 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/3.357, allocations: 7.875 kB / 0.5269 GB, free: 121.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/3.357, allocations: 79.19 kB / 0.527 GB, free: 121.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/3.357, allocations: 120.1 kB / 0.5271 GB, free: 121.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/3.363, allocations: 0.8736 MB / 0.528 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/3.363, allocations: 161.1 kB / 0.5281 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/3.367, allocations: 422.2 kB / 0.5285 GB, free: 120.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007973/3.368, allocations: 234.7 kB / 0.5288 GB, free: 120.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * Array equations: 3 * 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.0008425/3.369, allocations: 315.3 kB / 0.5291 GB, free: 120.6 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/3.369, allocations: 191 kB / 0.5292 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/3.373, allocations: 1.668 MB / 0.5309 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/3.373, allocations: 14.5 kB / 0.5309 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/3.373, allocations: 3.906 kB / 0.5309 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/3.374, allocations: 4.641 kB / 0.5309 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/3.393, allocations: 7.942 MB / 0.5386 GB, free: 116.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/3.393, allocations: 19.62 kB / 0.5387 GB, free: 116.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/3.395, allocations: 206 kB / 0.5389 GB, free: 116.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.375e-05/3.395, allocations: 23.19 kB / 0.5389 GB, free: 116.6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/3.395, allocations: 37.97 kB / 0.5389 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-05/3.395, allocations: 34.47 kB / 0.539 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/3.395, allocations: 26.78 kB / 0.539 GB, free: 116.5 MB / 410.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004419/3.399, allocations: 3.36 MB / 0.5423 GB, free: 113.3 MB / 410.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004744/3.404, allocations: 3.754 MB / 0.5459 GB, free: 109.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/3.405, allocations: 289.9 kB / 0.5462 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/3.406, allocations: 24.53 kB / 0.5462 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/3.407, allocations: 29.69 kB / 0.5463 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/3.407, allocations: 106.1 kB / 0.5464 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/3.408, allocations: 58.98 kB / 0.5464 GB, free: 109.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 0.003077/3.411, allocations: 1.186 MB / 0.5476 GB, free: 109 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006301/3.417, allocations: 0.876 MB / 0.5484 GB, free: 108.8 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 3 * 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.0007686/3.418, allocations: 156 kB / 0.5486 GB, free: 108.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007221/3.425, allocations: 2.593 MB / 0.5511 GB, free: 107.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.313e-05/3.425, allocations: 2.469 kB / 0.5511 GB, free: 107.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/3.427, allocations: 0.7594 MB / 0.5518 GB, free: 107.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/3.43, allocations: 198 kB / 0.552 GB, free: 107.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/3.449, allocations: 5.933 MB / 0.5578 GB, free: 102.3 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007791/3.457, allocations: 3.094 MB / 0.5609 GB, free: 99.87 MB / 410.8 MB Notification: Performance of SimCode: time 1.864e-06/3.457, allocations: 0 / 0.5609 GB, free: 99.87 MB / 410.8 MB