Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_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 2.314/2.314, allocations: 234.9 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1684/2.482, allocations: 57.21 MB / 299.1 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/2.751, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/3.199, allocations: 98.08 MB / 452.1 MB, free: 32.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/3.199, allocations: 77.69 kB / 452.1 MB, free: 32.57 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.8506/4.05, allocations: 168.5 MB / 0.6061 GB, free: 9.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/4.05, allocations: 8 kB / 0.6061 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03091/4.081, allocations: 3.054 MB / 0.6091 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3972/4.478, allocations: 9.779 MB / 0.6186 GB, free: 105.5 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006871/4.479, allocations: 273 kB / 0.6189 GB, free: 105.5 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004822/4.484, allocations: 0.4933 MB / 0.6194 GB, free: 105.5 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04119/4.525, allocations: 12.04 MB / 0.6311 GB, free: 105.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06813/4.593, allocations: 17.38 MB / 0.6481 GB, free: 101.4 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007421/4.594, allocations: 91.88 kB / 0.6482 GB, free: 101.4 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00563/4.6, allocations: 43.91 kB / 0.6482 GB, free: 101.4 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007379/4.607, allocations: 1.992 MB / 0.6502 GB, free: 101.3 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1545/4.762, allocations: 83.57 MB / 0.7318 GB, free: 50.83 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/4.77, allocations: 3.096 MB / 0.7348 GB, free: 49.38 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005633/4.776, allocations: 1.711 MB / 0.7365 GB, free: 48.75 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03261/4.809, allocations: 8.102 MB / 0.7444 GB, free: 60.85 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/4.809, allocations: 66.61 kB / 0.7445 GB, free: 60.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=202): time 8.426e-06/4.809, allocations: 0 / 0.7445 GB, free: 60.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=202): time 0.03218/4.841, allocations: 4.74 MB / 0.7491 GB, free: 59.72 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/4.841, allocations: 156.2 kB / 0.7492 GB, free: 59.57 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/4.859, allocations: 5.357 MB / 0.7545 GB, free: 57.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005626/4.86, allocations: 25.7 kB / 0.7545 GB, free: 57.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005195/4.865, allocations: 5.499 MB / 0.7599 GB, free: 53.65 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/4.867, allocations: 0.7996 MB / 0.7607 GB, free: 53.09 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/4.868, allocations: 3.594 kB / 0.7607 GB, free: 53.09 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001085/4.869, allocations: 0.7005 MB / 0.7613 GB, free: 52.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007605/4.877, allocations: 2.375 MB / 0.7637 GB, free: 51.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/4.891, allocations: 8.435 MB / 0.7719 GB, free: 42.76 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/4.904, allocations: 4.438 MB / 0.7762 GB, free: 41.45 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004352/4.904, allocations: 67.28 kB / 0.7763 GB, free: 41.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02888/4.933, allocations: 9.34 MB / 0.7854 GB, free: 34.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/4.933, allocations: 4 kB / 0.7854 GB, free: 34.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000357/4.934, allocations: 220 kB / 0.7856 GB, free: 33.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/4.934, allocations: 320 kB / 0.7859 GB, free: 33.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/4.955, allocations: 2.262 MB / 0.7881 GB, free: 31.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005674/4.955, allocations: 437.7 kB / 0.7886 GB, free: 31.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02177/4.977, allocations: 1.195 MB / 0.7897 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00311/4.98, allocations: 0.5773 MB / 0.7903 GB, free: 29.58 MB / 490.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.004187/4.984, allocations: 0.6293 MB / 0.7909 GB, free: 28.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002037/4.986, allocations: 0.5398 MB / 0.7914 GB, free: 28.4 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/4.998, allocations: 2.374 MB / 0.7938 GB, free: 26.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/4.998, allocations: 20 kB / 0.7938 GB, free: 26.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/4.998, allocations: 3.906 kB / 0.7938 GB, free: 26.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/4.998, allocations: 9.609 kB / 0.7938 GB, free: 26.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07282/5.071, allocations: 28.1 MB / 0.8212 GB, free: 2.641 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001429/5.071, allocations: 36.94 kB / 0.8213 GB, free: 2.605 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003783/5.075, allocations: 364.2 kB / 0.8216 GB, free: 2.297 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.609e-05/5.075, allocations: 52 kB / 0.8217 GB, free: 2.246 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007318/5.076, allocations: 51.94 kB / 0.8217 GB, free: 2.199 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/5.076, allocations: 67.3 kB / 0.8218 GB, free: 2.141 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.714e-05/5.076, allocations: 59.16 kB / 0.8218 GB, free: 2.086 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.206/5.282, allocations: 10.05 MB / 0.8316 GB, free: 98.5 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0103/5.293, allocations: 10.51 MB / 0.8419 GB, free: 89.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/5.295, allocations: 0.6246 MB / 0.8425 GB, free: 89.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003585/5.299, allocations: 50.86 kB / 0.8426 GB, free: 89.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008911/5.308, allocations: 140.3 kB / 0.8427 GB, free: 89.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007446/5.309, allocations: 201.4 kB / 0.8429 GB, free: 89.28 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/5.309, allocations: 102.2 kB / 0.843 GB, free: 89.28 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.009986/5.319, allocations: 3.609 MB / 0.8465 GB, free: 89.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01597/5.335, allocations: 1.965 MB / 0.8484 GB, free: 88.79 MB / 490.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.001206/5.336, allocations: 197.2 kB / 0.8486 GB, free: 88.71 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01839/5.355, allocations: 5.598 MB / 0.8541 GB, free: 88.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.033e-05/5.355, allocations: 3.625 kB / 0.8541 GB, free: 88.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00471/5.36, allocations: 1.255 MB / 0.8553 GB, free: 88.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009006/5.369, allocations: 0.6658 MB / 0.856 GB, free: 88.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05231/5.421, allocations: 13.64 MB / 0.8693 GB, free: 84.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01936/5.441, allocations: 6.302 MB / 0.8754 GB, free: 83.98 MB / 490.8 MB Notification: Performance of SimCode: time 2.033e-06/5.441, allocations: 3.438 kB / 0.8754 GB, free: 83.98 MB / 490.8 MB