Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",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.245/2.245, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/2.416, allocations: 57.22 MB / 299.1 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/2.723, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/3.165, allocations: 102.5 MB / 456.5 MB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/3.165, allocations: 83.5 kB / 456.5 MB, free: 34.84 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: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 1.627/4.793, allocations: 289 MB / 0.7281 GB, free: 47.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/4.793, allocations: 13 kB / 0.7281 GB, free: 47.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1534/4.946, allocations: 16.85 MB / 0.7446 GB, free: 39.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05974/5.006, allocations: 15.02 MB / 0.7593 GB, free: 24.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/5.007, allocations: 491.8 kB / 0.7597 GB, free: 24.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0108/5.018, allocations: 0.8552 MB / 0.7606 GB, free: 23.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07651/5.095, allocations: 24.85 MB / 0.7848 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5901/5.685, allocations: 33.59 MB / 0.8176 GB, free: 84.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001632/5.687, allocations: 136.9 kB / 0.8178 GB, free: 84.29 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01163/5.698, allocations: 59.88 kB / 0.8178 GB, free: 84.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009408/5.708, allocations: 3.953 MB / 0.8217 GB, free: 84.26 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3406/6.048, allocations: 137.9 MB / 0.9564 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02668/6.075, allocations: 11.37 MB / 0.9675 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02287/6.098, allocations: 9.98 MB / 0.9772 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.114/6.212, allocations: 35.75 MB / 1.012 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/6.212, allocations: 114.1 kB / 1.012 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=747): time 1.281e-05/6.212, allocations: 0 / 1.012 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=819): time 0.551/6.763, allocations: 69.36 MB / 1.08 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/6.763, allocations: 306.7 kB / 1.08 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02954/6.793, allocations: 8.813 MB / 1.089 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002625/6.796, allocations: 25.7 kB / 1.089 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01174/6.808, allocations: 9.265 MB / 1.098 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007893/6.816, allocations: 2.883 MB / 1.101 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004844/6.82, allocations: 0 / 1.101 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003548/6.824, allocations: 1.149 MB / 1.102 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02656/6.851, allocations: 8.116 MB / 1.11 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03822/6.889, allocations: 18.33 MB / 1.128 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03636/6.925, allocations: 12.4 MB / 1.14 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000465/6.926, allocations: 105.9 kB / 1.14 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2527) (initialization): time 0.09984/7.026, allocations: 26.28 MB / 1.166 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/7.026, allocations: 8 kB / 1.166 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000799/7.027, allocations: 356 kB / 1.166 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/7.04, allocations: 2.334 MB / 1.168 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03248/7.072, allocations: 4.383 MB / 1.172 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/7.103, allocations: 12.88 MB / 1.185 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02377/7.127, allocations: 0.6112 MB / 1.186 GB, free: 62.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005357/7.133, allocations: 1.062 MB / 1.187 GB, free: 61.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1640 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2331): * Single equations (assignments): 2314 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008022/7.141, allocations: 1.019 MB / 1.188 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003184/7.144, allocations: 0.9909 MB / 1.189 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3262/7.47, allocations: 16.98 MB / 1.205 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006957/7.471, allocations: 142.9 kB / 1.205 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/7.471, allocations: 11.66 kB / 1.205 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002878/7.471, allocations: 36.97 kB / 1.205 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1237/7.595, allocations: 31.41 MB / 1.236 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/7.595, allocations: 0 / 1.236 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01749/7.613, allocations: 1.243 MB / 1.237 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01436/7.627, allocations: 1.713 MB / 1.239 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/7.629, allocations: 19.33 kB / 1.239 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/7.658, allocations: 11.69 MB / 1.25 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/7.658, allocations: 0 / 1.25 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07947/7.738, allocations: 25.17 MB / 1.275 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0948/7.832, allocations: 35.39 MB / 1.31 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01046/7.843, allocations: 2.219 MB / 1.312 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005084/7.848, allocations: 3.75 kB / 1.312 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01268/7.861, allocations: 277.3 kB / 1.312 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002866/7.864, allocations: 350.9 kB / 1.312 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00194/7.866, allocations: 180.5 kB / 1.313 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.02429/7.89, allocations: 5.902 MB / 1.318 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02986/7.92, allocations: 2.967 MB / 1.321 GB, free: 84.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (645): * Single equations (assignments): 628 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002672/7.923, allocations: 188.4 kB / 1.321 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04889/7.972, allocations: 19.27 MB / 1.34 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/7.972, allocations: 0 / 1.34 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02042/7.992, allocations: 7.392 MB / 1.347 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/8.003, allocations: 0.8934 MB / 1.348 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3829/8.386, allocations: 29.51 MB / 1.377 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05836/8.444, allocations: 11.4 MB / 1.388 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.787e-06/8.444, allocations: 0 / 1.388 GB, free: 104.8 MB / 0.5105 GB