Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.786/2.786, allocations: 235 MB / 242 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.193/2.979, allocations: 57.19 MB / 299.2 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/3.275, allocations: 54.87 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/3.772, allocations: 100.1 MB / 454.2 MB, free: 33.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/3.772, allocations: 76.92 kB / 454.2 MB, free: 33.43 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 1.321/5.093, allocations: 203.4 MB / 0.6422 GB, free: 53.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/5.093, allocations: 11.84 kB / 0.6423 GB, free: 53.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03712/5.13, allocations: 3.393 MB / 0.6456 GB, free: 52.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05236/5.183, allocations: 10.68 MB / 0.656 GB, free: 51.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/5.184, allocations: 350.7 kB / 0.6563 GB, free: 51.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006937/5.191, allocations: 0.6036 MB / 0.6569 GB, free: 51.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05065/5.242, allocations: 15.05 MB / 0.6716 GB, free: 51.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07989/5.322, allocations: 21.21 MB / 0.6923 GB, free: 47.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00113/5.323, allocations: 100.7 kB / 0.6924 GB, free: 47.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007694/5.331, allocations: 46.72 kB / 0.6925 GB, free: 47.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01/5.341, allocations: 2.408 MB / 0.6948 GB, free: 47.41 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2701/5.611, allocations: 95.33 MB / 0.7879 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/5.623, allocations: 4.101 MB / 0.7919 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006528/5.629, allocations: 2.146 MB / 0.794 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4699/6.099, allocations: 9.983 MB / 0.8038 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/6.1, allocations: 65.59 kB / 0.8038 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=288): time 1.325e-05/6.1, allocations: 0 / 0.8038 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=288): time 0.04906/6.149, allocations: 6.29 MB / 0.81 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/6.149, allocations: 155.4 kB / 0.8101 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01864/6.167, allocations: 5.869 MB / 0.8159 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008419/6.168, allocations: 25.7 kB / 0.8159 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006396/6.175, allocations: 6.511 MB / 0.8222 GB, free: 115 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002265/6.177, allocations: 1.099 MB / 0.8233 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/6.179, allocations: 3.625 kB / 0.8233 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001387/6.18, allocations: 0.7617 MB / 0.8241 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009865/6.19, allocations: 2.892 MB / 0.8269 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/6.206, allocations: 9.724 MB / 0.8364 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/6.221, allocations: 5.25 MB / 0.8415 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003073/6.221, allocations: 70.44 kB / 0.8416 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.04641/6.268, allocations: 11.03 MB / 0.8523 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/6.268, allocations: 6.688 kB / 0.8524 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006113/6.269, allocations: 246 kB / 0.8526 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/6.269, allocations: 361.9 kB / 0.8529 GB, free: 104.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0238/6.293, allocations: 2.658 MB / 0.8555 GB, free: 104.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/6.294, allocations: 481.2 kB / 0.856 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01912/6.313, allocations: 1.365 MB / 0.8573 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003338/6.316, allocations: 0.6663 MB / 0.858 GB, free: 103.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1124 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1402): * Single equations (assignments): 1399 * 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.004766/6.321, allocations: 0.7067 MB / 0.8587 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002202/6.323, allocations: 0.6059 MB / 0.8593 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/6.337, allocations: 3.415 MB / 0.8626 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/6.337, allocations: 25.03 kB / 0.8626 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/6.337, allocations: 3.219 kB / 0.8626 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.27e-05/6.337, allocations: 20.81 kB / 0.8626 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1549/6.492, allocations: 58.78 MB / 0.92 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002474/6.493, allocations: 56 kB / 0.9201 GB, free: 90.09 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006255/6.499, allocations: 0.5529 MB / 0.9206 GB, free: 89.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/6.499, allocations: 76 kB / 0.9207 GB, free: 89.54 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008676/6.5, allocations: 96.98 kB / 0.9208 GB, free: 89.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-05/6.5, allocations: 104.7 kB / 0.9209 GB, free: 89.37 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/6.5, allocations: 83.62 kB / 0.921 GB, free: 89.29 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01556/6.516, allocations: 15.92 MB / 0.9365 GB, free: 71.26 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01598/6.532, allocations: 16.4 MB / 0.9525 GB, free: 52.66 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/6.534, allocations: 0.7233 MB / 0.9532 GB, free: 51.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002824/6.537, allocations: 85.64 kB / 0.9533 GB, free: 51.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008278/6.546, allocations: 197 kB / 0.9535 GB, free: 51.72 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/6.547, allocations: 314.9 kB / 0.9538 GB, free: 51.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004621/6.547, allocations: 154.8 kB / 0.954 GB, free: 51.32 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.0113/6.559, allocations: 3.927 MB / 0.9578 GB, free: 47.93 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02265/6.581, allocations: 2.453 MB / 0.9602 GB, free: 45.48 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001962/6.583, allocations: 240.1 kB / 0.9604 GB, free: 45.23 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01861/6.602, allocations: 6.87 MB / 0.9671 GB, free: 39.03 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-05/6.602, allocations: 15.94 kB / 0.9672 GB, free: 39.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/6.607, allocations: 1.783 MB / 0.9689 GB, free: 37.46 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007949/6.615, allocations: 0.7626 MB / 0.9696 GB, free: 36.82 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3185/6.934, allocations: 17.25 MB / 0.9865 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0397/6.973, allocations: 7.591 MB / 0.9939 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of SimCode: time 2.875e-06/6.973, allocations: 0 / 0.9939 GB, free: 100.6 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat