Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",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.34/2.34, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1942/2.534, allocations: 57.21 MB / 299.1 MB, free: 0.9258 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/2.874, allocations: 54.84 MB / 354 MB, free: 1.582 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/3.103, allocations: 101.7 MB / 455.6 MB, free: 6.391 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/3.103, allocations: 83.95 kB / 455.7 MB, free: 6.309 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.8384/3.941, allocations: 108.1 MB / 0.5506 GB, free: 99.55 MB / 450.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/3.942, allocations: 19.16 kB / 0.5507 GB, free: 99.54 MB / 450.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06497/4.007, allocations: 6.562 MB / 0.5571 GB, free: 99.14 MB / 450.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0386/4.045, allocations: 6.947 MB / 0.5638 GB, free: 97.19 MB / 450.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/4.046, allocations: 171.3 kB / 0.564 GB, free: 97.19 MB / 450.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004103/4.05, allocations: 329.5 kB / 0.5643 GB, free: 97.18 MB / 450.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03331/4.083, allocations: 7.79 MB / 0.5719 GB, free: 94.44 MB / 450.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05023/4.134, allocations: 11.56 MB / 0.5832 GB, free: 87.27 MB / 450.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006771/4.135, allocations: 73.42 kB / 0.5833 GB, free: 87.2 MB / 450.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0041/4.139, allocations: 39.84 kB / 0.5833 GB, free: 87.16 MB / 450.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/4.141, allocations: 1.209 MB / 0.5845 GB, free: 86.16 MB / 450.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09234/4.234, allocations: 57.18 MB / 0.6404 GB, free: 27.82 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/4.241, allocations: 3.604 MB / 0.6439 GB, free: 24.08 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/4.247, allocations: 2.565 MB / 0.6464 GB, free: 21.5 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/4.267, allocations: 7.991 MB / 0.6542 GB, free: 13.29 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/4.267, allocations: 51.88 kB / 0.6542 GB, free: 13.23 MB / 450.8 MB Notification: Performance of pre-optimization done (n=192): time 6.923e-06/4.267, allocations: 0 / 0.6542 GB, free: 13.23 MB / 450.8 MB Notification: Performance of matching and sorting (n=218): time 0.06907/4.336, allocations: 18.07 MB / 0.6719 GB, free: 11.06 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/4.336, allocations: 205.2 kB / 0.6721 GB, free: 10.82 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/4.348, allocations: 3.714 MB / 0.6757 GB, free: 7.09 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000575/4.349, allocations: 25.7 kB / 0.6757 GB, free: 7.059 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004266/4.353, allocations: 3.458 MB / 0.6791 GB, free: 3.547 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/4.355, allocations: 0.8057 MB / 0.6799 GB, free: 2.73 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/4.356, allocations: 4 kB / 0.6799 GB, free: 2.727 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0009961/4.357, allocations: 0.5913 MB / 0.6805 GB, free: 2.129 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007015/4.364, allocations: 2.177 MB / 0.6826 GB, free: 15.95 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/4.376, allocations: 6.25 MB / 0.6887 GB, free: 7.637 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/4.387, allocations: 3.712 MB / 0.6923 GB, free: 3.93 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/4.387, allocations: 40 kB / 0.6924 GB, free: 3.891 MB / 482.8 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.2369/4.624, allocations: 8.147 MB / 0.7003 GB, free: 162.3 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/4.624, allocations: 7.531 kB / 0.7003 GB, free: 162.3 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003554/4.624, allocations: 146.8 kB / 0.7005 GB, free: 162.3 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/4.631, allocations: 0.9136 MB / 0.7014 GB, free: 162.3 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/4.645, allocations: 1.553 MB / 0.7029 GB, free: 162.3 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/4.665, allocations: 6.898 MB / 0.7096 GB, free: 159.8 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/4.677, allocations: 209.3 kB / 0.7098 GB, free: 159.8 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/4.68, allocations: 416.1 kB / 0.7102 GB, free: 159.8 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 820 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003809/4.684, allocations: 473.5 kB / 0.7107 GB, free: 159.7 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/4.686, allocations: 397.6 kB / 0.711 GB, free: 159.7 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/4.7, allocations: 3.42 MB / 0.7144 GB, free: 159.6 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/4.7, allocations: 24.38 kB / 0.7144 GB, free: 159.6 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/4.7, allocations: 8.188 kB / 0.7144 GB, free: 159.6 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/4.7, allocations: 13.28 kB / 0.7144 GB, free: 159.6 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/4.727, allocations: 8.2 MB / 0.7224 GB, free: 159.1 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/4.727, allocations: 0 / 0.7224 GB, free: 159.1 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/4.73, allocations: 335.8 kB / 0.7227 GB, free: 159.1 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/4.734, allocations: 0.6693 MB / 0.7234 GB, free: 159.1 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003937/4.735, allocations: 4.984 kB / 0.7234 GB, free: 159.1 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/4.752, allocations: 6.034 MB / 0.7293 GB, free: 156.3 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/4.752, allocations: 0 / 0.7293 GB, free: 156.3 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01784/4.769, allocations: 6.258 MB / 0.7354 GB, free: 153.9 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02296/4.792, allocations: 8.79 MB / 0.744 GB, free: 150 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/4.795, allocations: 0.6942 MB / 0.7447 GB, free: 149.6 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/4.797, allocations: 5.5 kB / 0.7447 GB, free: 149.6 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005333/4.802, allocations: 65.22 kB / 0.7447 GB, free: 149.6 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009425/4.803, allocations: 104.3 kB / 0.7448 GB, free: 149.6 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003944/4.804, allocations: 57.73 kB / 0.7449 GB, free: 149.6 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0113/4.815, allocations: 2.537 MB / 0.7474 GB, free: 148.6 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.01386/4.829, allocations: 1.016 MB / 0.7484 GB, free: 148.6 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/4.83, allocations: 142.7 kB / 0.7485 GB, free: 148.5 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.01692/4.847, allocations: 5.432 MB / 0.7538 GB, free: 146.9 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/4.847, allocations: 0 / 0.7538 GB, free: 146.9 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006282/4.854, allocations: 1.872 MB / 0.7556 GB, free: 146.1 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/4.859, allocations: 435.6 kB / 0.7561 GB, free: 145.9 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/4.897, allocations: 9.344 MB / 0.7652 GB, free: 140.8 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01173/4.909, allocations: 4.405 MB / 0.7695 GB, free: 137.4 MB / 482.8 MB Notification: Performance of SimCode: time 1.904e-06/4.909, allocations: 0 / 0.7695 GB, free: 137.4 MB / 482.8 MB