Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque",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.663/2.663, allocations: 235.1 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1566/2.82, allocations: 57.19 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/3.157, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/3.609, allocations: 98.07 MB / 452.1 MB, free: 87.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/3.609, allocations: 75.62 kB / 452.2 MB, free: 87.68 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.9468/4.556, allocations: 168.5 MB / 0.6062 GB, free: 3.754 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/4.556, allocations: 8 kB / 0.6062 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03907/4.595, allocations: 3.05 MB / 0.6092 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4495/5.044, allocations: 9.787 MB / 0.6187 GB, free: 95.03 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009475/5.045, allocations: 274.1 kB / 0.619 GB, free: 95.03 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009852/5.055, allocations: 499.2 kB / 0.6195 GB, free: 95.02 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03912/5.095, allocations: 12.04 MB / 0.6312 GB, free: 94.98 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05766/5.152, allocations: 17.38 MB / 0.6482 GB, free: 90.86 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007234/5.153, allocations: 93.97 kB / 0.6483 GB, free: 90.86 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005465/5.159, allocations: 46.81 kB / 0.6483 GB, free: 90.86 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006849/5.165, allocations: 1.989 MB / 0.6503 GB, free: 90.84 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1797/5.345, allocations: 83.56 MB / 0.7319 GB, free: 38.32 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007579/5.353, allocations: 3.103 MB / 0.7349 GB, free: 36.86 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/5.357, allocations: 1.704 MB / 0.7366 GB, free: 36.23 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0271/5.385, allocations: 8.111 MB / 0.7445 GB, free: 32.33 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/5.385, allocations: 51.44 kB / 0.7446 GB, free: 32.28 MB / 458.8 MB Notification: Performance of pre-optimization done (n=202): time 7.063e-06/5.385, allocations: 3.906 kB / 0.7446 GB, free: 32.28 MB / 458.8 MB Notification: Performance of matching and sorting (n=202): time 0.03174/5.416, allocations: 4.743 MB / 0.7492 GB, free: 31.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/5.417, allocations: 151.9 kB / 0.7493 GB, free: 31.04 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02274/5.439, allocations: 5.356 MB / 0.7546 GB, free: 29.05 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005821/5.44, allocations: 25.7 kB / 0.7546 GB, free: 29.02 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006862/5.447, allocations: 5.501 MB / 0.76 GB, free: 24.83 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/5.449, allocations: 0.8072 MB / 0.7608 GB, free: 24.26 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/5.45, allocations: 1 kB / 0.7608 GB, free: 24.26 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009979/5.451, allocations: 0.6975 MB / 0.7614 GB, free: 23.79 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/5.461, allocations: 2.379 MB / 0.7638 GB, free: 22.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/5.477, allocations: 8.428 MB / 0.772 GB, free: 12.23 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/5.493, allocations: 4.448 MB / 0.7763 GB, free: 8.523 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002434/5.493, allocations: 60 kB / 0.7764 GB, free: 8.465 MB / 458.8 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.0344/5.527, allocations: 9.343 MB / 0.7855 GB, free: 192 kB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/5.528, allocations: 4 kB / 0.7855 GB, free: 188 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007539/5.528, allocations: 232.4 kB / 0.7857 GB, free: 0 / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/5.532, allocations: 478.1 kB / 0.7862 GB, free: 0 / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2234/5.756, allocations: 2.276 MB / 0.7884 GB, free: 82.86 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/5.756, allocations: 431.8 kB / 0.7888 GB, free: 82.86 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02185/5.778, allocations: 1.198 MB / 0.79 GB, free: 82.86 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/5.781, allocations: 0.5759 MB / 0.7906 GB, free: 82.86 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1000 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1192): * Single equations (assignments): 1189 * 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.003799/5.784, allocations: 0.6357 MB / 0.7912 GB, free: 82.75 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/5.786, allocations: 0.5388 MB / 0.7917 GB, free: 82.75 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008804/5.795, allocations: 2.369 MB / 0.794 GB, free: 82.63 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/5.795, allocations: 21.5 kB / 0.794 GB, free: 82.63 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/5.795, allocations: 0 / 0.794 GB, free: 82.63 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/5.795, allocations: 8.344 kB / 0.7941 GB, free: 82.63 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07261/5.868, allocations: 28.1 MB / 0.8215 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/5.868, allocations: 31.94 kB / 0.8215 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004481/5.872, allocations: 368.5 kB / 0.8219 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/5.873, allocations: 54.12 kB / 0.8219 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/5.873, allocations: 52.28 kB / 0.822 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-05/5.873, allocations: 67.83 kB / 0.822 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-05/5.873, allocations: 52.19 kB / 0.8221 GB, free: 80.69 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01061/5.884, allocations: 10.05 MB / 0.8319 GB, free: 72.12 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01107/5.895, allocations: 10.51 MB / 0.8422 GB, free: 63.06 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/5.897, allocations: 0.6176 MB / 0.8428 GB, free: 62.67 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/5.9, allocations: 51.94 kB / 0.8428 GB, free: 62.67 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00632/5.906, allocations: 140.4 kB / 0.843 GB, free: 62.67 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008069/5.907, allocations: 204.9 kB / 0.8432 GB, free: 62.64 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/5.907, allocations: 103.9 kB / 0.8433 GB, free: 62.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.01094/5.918, allocations: 3.611 MB / 0.8468 GB, free: 62.43 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01596/5.934, allocations: 1.965 MB / 0.8487 GB, free: 62.16 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 155 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 179 * 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.001132/5.935, allocations: 200.1 kB / 0.8489 GB, free: 62.07 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01533/5.951, allocations: 5.595 MB / 0.8544 GB, free: 62.05 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.583e-05/5.951, allocations: 3.656 kB / 0.8544 GB, free: 62.05 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/5.954, allocations: 1.256 MB / 0.8556 GB, free: 62.05 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007522/5.962, allocations: 0.6697 MB / 0.8562 GB, free: 62.02 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05957/6.022, allocations: 13.65 MB / 0.8696 GB, free: 58.22 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02409/6.046, allocations: 6.298 MB / 0.8757 GB, free: 57.33 MB / 458.8 MB Notification: Performance of SimCode: time 1.764e-06/6.046, allocations: 0 / 0.8757 GB, free: 57.33 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat