Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",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.26/2.26, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2153/2.475, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/2.769, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4063/3.176, allocations: 100.8 MB / 454.8 MB, free: 34.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/3.176, allocations: 77.02 kB / 454.8 MB, free: 34.09 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: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.7168/3.893, allocations: 133.5 MB / 0.5745 GB, free: 10.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/3.893, allocations: 8 kB / 0.5745 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08213/3.975, allocations: 9.022 MB / 0.5833 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04307/4.018, allocations: 9.085 MB / 0.5922 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008124/4.019, allocations: 204 kB / 0.5924 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005479/4.025, allocations: 391.8 kB / 0.5928 GB, free: 7.645 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03902/4.064, allocations: 10.39 MB / 0.6029 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2536/4.317, allocations: 14.58 MB / 0.6172 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006108/4.318, allocations: 90.98 kB / 0.6172 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003615/4.322, allocations: 35.91 kB / 0.6173 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004014/4.326, allocations: 1.619 MB / 0.6189 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1479/4.474, allocations: 69.81 MB / 0.687 GB, free: 78.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/4.488, allocations: 6.949 MB / 0.6938 GB, free: 77.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01665/4.505, allocations: 5.678 MB / 0.6994 GB, free: 75.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05854/4.563, allocations: 19.48 MB / 0.7184 GB, free: 66.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.251e-05/4.564, allocations: 70.64 kB / 0.7184 GB, free: 66.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 7.805e-06/4.564, allocations: 0 / 0.7184 GB, free: 66.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=384): time 0.2458/4.809, allocations: 42.37 MB / 0.7598 GB, free: 52.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/4.81, allocations: 328.1 kB / 0.7601 GB, free: 51.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01263/4.822, allocations: 4.378 MB / 0.7644 GB, free: 49.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00162/4.824, allocations: 29.7 kB / 0.7644 GB, free: 49.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004127/4.828, allocations: 3.947 MB / 0.7683 GB, free: 45.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003341/4.832, allocations: 1.352 MB / 0.7696 GB, free: 44.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/4.834, allocations: 0 / 0.7696 GB, free: 44.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007313/4.834, allocations: 0.6736 MB / 0.7703 GB, free: 44.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/4.846, allocations: 4.549 MB / 0.7747 GB, free: 39.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01575/4.862, allocations: 9.054 MB / 0.7836 GB, free: 29.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/4.878, allocations: 6.378 MB / 0.7898 GB, free: 24.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/4.878, allocations: 44 kB / 0.7898 GB, free: 24.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.06948/4.948, allocations: 16.55 MB / 0.806 GB, free: 10.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/4.948, allocations: 10.5 kB / 0.806 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000275/4.948, allocations: 157.2 kB / 0.8061 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02874/4.977, allocations: 4.42 MB / 0.8105 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/4.992, allocations: 1.981 MB / 0.8124 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2959/5.288, allocations: 23.12 MB / 0.835 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.017/5.305, allocations: 350.9 kB / 0.8353 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003671/5.309, allocations: 0.4913 MB / 0.8358 GB, free: 105.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1005 * 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 {(2,100.0%) 16,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00684/5.316, allocations: 0.5119 MB / 0.8363 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004118/5.32, allocations: 0.5108 MB / 0.8368 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07095/5.391, allocations: 11.95 MB / 0.8485 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001685/5.391, allocations: 40.72 kB / 0.8485 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-05/5.391, allocations: 14.16 kB / 0.8485 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001256/5.392, allocations: 23.45 kB / 0.8485 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1007/5.492, allocations: 20.69 MB / 0.8687 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-05/5.492, allocations: 3.438 kB / 0.8687 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00797/5.5, allocations: 0.6144 MB / 0.8693 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02957/5.53, allocations: 4.197 MB / 0.8734 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001528/5.532, allocations: 13.25 kB / 0.8735 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07186/5.604, allocations: 22.42 MB / 0.8954 GB, free: 94.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/5.604, allocations: 6 kB / 0.8954 GB, free: 94.56 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06719/5.671, allocations: 18.33 MB / 0.9133 GB, free: 88.12 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08541/5.756, allocations: 24.93 MB / 0.9376 GB, free: 75.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005612/5.762, allocations: 1.312 MB / 0.9389 GB, free: 73.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002915/5.765, allocations: 4 kB / 0.9389 GB, free: 73.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008433/5.773, allocations: 192.7 kB / 0.9391 GB, free: 73.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002049/5.776, allocations: 183 kB / 0.9392 GB, free: 73.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001114/5.777, allocations: 102.3 kB / 0.9393 GB, free: 73.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008853/5.786, allocations: 3.008 MB / 0.9423 GB, free: 71.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01538/5.801, allocations: 1.608 MB / 0.9439 GB, free: 69.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.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 (295): * Single equations (assignments): 289 * 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,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/5.803, allocations: 155.3 kB / 0.944 GB, free: 69.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03545/5.839, allocations: 11.53 MB / 0.9553 GB, free: 59.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/5.839, allocations: 6.781 kB / 0.9553 GB, free: 59.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02143/5.86, allocations: 5.452 MB / 0.9606 GB, free: 54.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007132/5.867, allocations: 0.5384 MB / 0.9611 GB, free: 54.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06253/5.93, allocations: 14.78 MB / 0.9756 GB, free: 41.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01701/5.947, allocations: 5.446 MB / 0.9809 GB, free: 37.14 MB / 474.7 MB Notification: Performance of SimCode: time 3.476e-06/5.947, allocations: 0 / 0.9809 GB, free: 37.14 MB / 474.7 MB