Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque",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.96/1.96, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2375/2.198, allocations: 51.04 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/2.31, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/2.657, allocations: 91.57 MB / 407.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/2.658, allocations: 78.28 kB / 407.6 MB, free: 1.312 MB / 330.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.9931/3.651, allocations: 168.5 MB / 0.5626 GB, free: 66.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/3.651, allocations: 12 kB / 0.5627 GB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02938/3.68, allocations: 3.05 MB / 0.5656 GB, free: 63.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03704/3.717, allocations: 9.787 MB / 0.5752 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007969/3.718, allocations: 276 kB / 0.5755 GB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006459/3.725, allocations: 0.492 MB / 0.5759 GB, free: 53.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03361/3.758, allocations: 12.04 MB / 0.5877 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05338/3.812, allocations: 17.39 MB / 0.6047 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005345/3.813, allocations: 91.11 kB / 0.6048 GB, free: 22.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004732/3.817, allocations: 48 kB / 0.6048 GB, free: 22.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005221/3.823, allocations: 1.989 MB / 0.6067 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.526/4.349, allocations: 83.56 MB / 0.6883 GB, free: 72.07 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/4.356, allocations: 3.109 MB / 0.6914 GB, free: 71.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/4.36, allocations: 1.7 MB / 0.693 GB, free: 71.37 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02721/4.387, allocations: 8.1 MB / 0.701 GB, free: 69.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/4.387, allocations: 56.03 kB / 0.701 GB, free: 69.34 MB / 426.8 MB Notification: Performance of pre-optimization done (n=202): time 6.372e-06/4.387, allocations: 1.375 kB / 0.701 GB, free: 69.34 MB / 426.8 MB Notification: Performance of matching and sorting (n=202): time 0.0308/4.418, allocations: 4.745 MB / 0.7056 GB, free: 68.97 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/4.418, allocations: 150.5 kB / 0.7058 GB, free: 68.81 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0169/4.435, allocations: 5.362 MB / 0.711 GB, free: 68.3 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000508/4.436, allocations: 28.02 kB / 0.7111 GB, free: 68.27 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006694/4.442, allocations: 5.491 MB / 0.7164 GB, free: 65.11 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/4.444, allocations: 0.8085 MB / 0.7172 GB, free: 64.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/4.446, allocations: 3.828 kB / 0.7172 GB, free: 64.67 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001534/4.448, allocations: 0.6964 MB / 0.7179 GB, free: 64.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007666/4.455, allocations: 2.38 MB / 0.7202 GB, free: 64.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/4.467, allocations: 8.426 MB / 0.7284 GB, free: 55.41 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/4.479, allocations: 4.454 MB / 0.7328 GB, free: 54.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/4.479, allocations: 61.91 kB / 0.7328 GB, free: 54.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.03108/4.51, allocations: 9.33 MB / 0.742 GB, free: 51.21 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/4.51, allocations: 9.844 kB / 0.742 GB, free: 51.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004454/4.511, allocations: 219.5 kB / 0.7422 GB, free: 51.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/4.511, allocations: 323.1 kB / 0.7425 GB, free: 51.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0224/4.534, allocations: 2.276 MB / 0.7447 GB, free: 50.91 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/4.534, allocations: 427.6 kB / 0.7451 GB, free: 50.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/4.557, allocations: 1.196 MB / 0.7463 GB, free: 50.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003187/4.56, allocations: 0.5746 MB / 0.7468 GB, free: 50.11 MB / 426.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.004831/4.565, allocations: 0.6277 MB / 0.7475 GB, free: 49.59 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/4.567, allocations: 0.5419 MB / 0.748 GB, free: 49.29 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/4.579, allocations: 2.368 MB / 0.7503 GB, free: 48.43 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/4.579, allocations: 17.81 kB / 0.7503 GB, free: 48.43 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/4.579, allocations: 2.75 kB / 0.7503 GB, free: 48.43 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/4.579, allocations: 9.562 kB / 0.7503 GB, free: 48.43 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09672/4.676, allocations: 28.11 MB / 0.7778 GB, free: 30.99 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002346/4.677, allocations: 36 kB / 0.7778 GB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005842/4.682, allocations: 361.7 kB / 0.7782 GB, free: 30.65 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/4.683, allocations: 48 kB / 0.7782 GB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008015/4.683, allocations: 58.94 kB / 0.7783 GB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.424e-05/4.684, allocations: 66.5 kB / 0.7783 GB, free: 30.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/4.684, allocations: 55.75 kB / 0.7784 GB, free: 30.44 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01283/4.696, allocations: 10.05 MB / 0.7882 GB, free: 19.16 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0103/4.707, allocations: 10.5 MB / 0.7984 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/4.709, allocations: 0.6293 MB / 0.7991 GB, free: 6.797 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002595/4.712, allocations: 50.84 kB / 0.7991 GB, free: 6.754 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005765/4.717, allocations: 142.6 kB / 0.7992 GB, free: 6.648 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008243/4.718, allocations: 200.3 kB / 0.7994 GB, free: 6.488 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/4.719, allocations: 98.58 kB / 0.7995 GB, free: 6.395 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01153/4.73, allocations: 3.617 MB / 0.8031 GB, free: 3.262 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01771/4.748, allocations: 1.965 MB / 0.805 GB, free: 1.289 MB / 426.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.001572/4.75, allocations: 190.3 kB / 0.8052 GB, free: 1.102 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2144/4.964, allocations: 5.596 MB / 0.8106 GB, free: 112.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.21e-05/4.964, allocations: 6.156 kB / 0.8106 GB, free: 112.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004656/4.969, allocations: 1.257 MB / 0.8119 GB, free: 112.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009738/4.979, allocations: 0.6752 MB / 0.8125 GB, free: 112.2 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06031/5.039, allocations: 13.64 MB / 0.8258 GB, free: 108.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02706/5.066, allocations: 6.292 MB / 0.832 GB, free: 107.5 MB / 426.8 MB Notification: Performance of SimCode: time 3.006e-06/5.066, allocations: 0 / 0.832 GB, free: 107.5 MB / 426.8 MB