Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",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(Modelica): time 1.605/1.605, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2009/1.806, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/1.892, allocations: 44.51 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2991/2.192, allocations: 95.23 MB / 389.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.192, allocations: 85.45 kB / 389.2 MB, free: 3.602 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.4356/2.628, allocations: 98.66 MB / 487.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/2.628, allocations: 8 kB / 487.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03134/2.659, allocations: 4.053 MB / 491.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/2.68, allocations: 5.293 MB / 497.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/2.681, allocations: 160 kB / 497.3 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/2.684, allocations: 299.8 kB / 497.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1565/2.84, allocations: 7.85 MB / 0.4936 GB, free: 111.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02928/2.87, allocations: 11.55 MB / 0.5049 GB, free: 108.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002817/2.87, allocations: 61.53 kB / 0.505 GB, free: 108.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/2.872, allocations: 33.25 kB / 0.505 GB, free: 108.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002545/2.874, allocations: 1.152 MB / 0.5061 GB, free: 108.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0929/2.967, allocations: 54.69 MB / 0.5595 GB, free: 77.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009122/2.977, allocations: 4.906 MB / 0.5643 GB, free: 75.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006898/2.984, allocations: 3.561 MB / 0.5678 GB, free: 74.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/3.01, allocations: 9.903 MB / 0.5775 GB, free: 69.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/3.01, allocations: 64.62 kB / 0.5775 GB, free: 69.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=211): time 5.952e-06/3.01, allocations: 0 / 0.5775 GB, free: 69.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.1064/3.116, allocations: 25.83 MB / 0.6028 GB, free: 59.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/3.116, allocations: 209.8 kB / 0.603 GB, free: 58.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/3.124, allocations: 3.359 MB / 0.6062 GB, free: 56.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008576/3.125, allocations: 29.7 kB / 0.6063 GB, free: 56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002561/3.128, allocations: 3.249 MB / 0.6094 GB, free: 53.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/3.129, allocations: 0.9134 MB / 0.6103 GB, free: 52.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/3.13, allocations: 0 / 0.6103 GB, free: 52.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004616/3.131, allocations: 0.5976 MB / 0.6109 GB, free: 51.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00824/3.139, allocations: 3.412 MB / 0.6142 GB, free: 48.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/3.15, allocations: 7.36 MB / 0.6214 GB, free: 40.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/3.161, allocations: 4.971 MB / 0.6263 GB, free: 35.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/3.161, allocations: 43.94 kB / 0.6263 GB, free: 35.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.03722/3.199, allocations: 11.82 MB / 0.6379 GB, free: 25.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/3.199, allocations: 4 kB / 0.6379 GB, free: 25.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/3.199, allocations: 147.4 kB / 0.638 GB, free: 25.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/3.211, allocations: 2.171 MB / 0.6401 GB, free: 24.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/3.223, allocations: 1.641 MB / 0.6417 GB, free: 22.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03042/3.254, allocations: 13.93 MB / 0.6553 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/3.264, allocations: 263.5 kB / 0.6556 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/3.266, allocations: 451.8 kB / 0.656 GB, free: 7.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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 (828): * Single equations (assignments): 822 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002047/3.268, allocations: 449.1 kB / 0.6565 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/3.269, allocations: 371.2 kB / 0.6568 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1669/3.436, allocations: 7.455 MB / 0.6641 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/3.436, allocations: 23.81 kB / 0.6641 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/3.436, allocations: 10.12 kB / 0.6641 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.834e-05/3.436, allocations: 11.39 kB / 0.6641 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/3.481, allocations: 13.68 MB / 0.6775 GB, free: 98.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/3.481, allocations: 0 / 0.6775 GB, free: 98.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005414/3.486, allocations: 401.4 kB / 0.6779 GB, free: 98.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/3.498, allocations: 1.925 MB / 0.6798 GB, free: 98.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008316/3.499, allocations: 12.75 kB / 0.6798 GB, free: 98.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/3.527, allocations: 12.82 MB / 0.6923 GB, free: 95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/3.527, allocations: 0 / 0.6923 GB, free: 95 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03266/3.559, allocations: 11.88 MB / 0.7039 GB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04105/3.601, allocations: 16.48 MB / 0.72 GB, free: 88.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003554/3.604, allocations: 0.9332 MB / 0.7209 GB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/3.606, allocations: 2.625 kB / 0.7209 GB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005392/3.612, allocations: 114.8 kB / 0.721 GB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000993/3.613, allocations: 126.9 kB / 0.7211 GB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004153/3.613, allocations: 64.45 kB / 0.7212 GB, free: 87.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005586/3.619, allocations: 2.264 MB / 0.7234 GB, free: 86.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01021/3.629, allocations: 1.191 MB / 0.7246 GB, free: 86.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 187 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/3.63, allocations: 159.7 kB / 0.7247 GB, free: 86.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02038/3.651, allocations: 8.369 MB / 0.7329 GB, free: 84.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/3.651, allocations: 6 kB / 0.7329 GB, free: 84.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00946/3.66, allocations: 3.535 MB / 0.7364 GB, free: 82.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/3.664, allocations: 356.5 kB / 0.7367 GB, free: 82.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/3.698, allocations: 10.2 MB / 0.7467 GB, free: 77.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0115/3.709, allocations: 4.17 MB / 0.7507 GB, free: 74.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/3.71, allocations: 0 / 0.7507 GB, free: 74.59 MB / 394.7 MB