Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",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.434/2.434, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2007/2.635, allocations: 57.21 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/2.926, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/3.354, allocations: 101.7 MB / 455.7 MB, free: 34.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/3.354, allocations: 84.16 kB / 455.7 MB, free: 34.32 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.5006/3.855, allocations: 107.7 MB / 0.5502 GB, free: 3.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/3.855, allocations: 8 kB / 0.5502 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06083/3.916, allocations: 6.524 MB / 0.5566 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03141/3.947, allocations: 6.926 MB / 0.5634 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/3.947, allocations: 172 kB / 0.5635 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/3.95, allocations: 323.8 kB / 0.5638 GB, free: 5.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02474/3.975, allocations: 7.444 MB / 0.5711 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03731/4.012, allocations: 11.37 MB / 0.5822 GB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003433/4.013, allocations: 75.23 kB / 0.5823 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/4.014, allocations: 36 kB / 0.5823 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/4.017, allocations: 1.211 MB / 0.5835 GB, free: 144 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/4.317, allocations: 56.73 MB / 0.6389 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00762/4.325, allocations: 3.5 MB / 0.6423 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006319/4.331, allocations: 2.448 MB / 0.6447 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/4.35, allocations: 7.714 MB / 0.6522 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/4.351, allocations: 64.66 kB / 0.6523 GB, free: 100.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.101e-06/4.351, allocations: 0 / 0.6523 GB, free: 100.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.06923/4.42, allocations: 18.54 MB / 0.6704 GB, free: 97.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/4.42, allocations: 207 kB / 0.6706 GB, free: 97.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/4.431, allocations: 3.729 MB / 0.6742 GB, free: 96.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005544/4.431, allocations: 25.7 kB / 0.6743 GB, free: 96.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004244/4.436, allocations: 3.448 MB / 0.6776 GB, free: 94.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/4.437, allocations: 0.7951 MB / 0.6784 GB, free: 94.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008855/4.438, allocations: 0 / 0.6784 GB, free: 94.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005223/4.439, allocations: 0.587 MB / 0.679 GB, free: 93.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005722/4.445, allocations: 2.166 MB / 0.6811 GB, free: 93.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009423/4.454, allocations: 6.222 MB / 0.6872 GB, free: 88.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008911/4.463, allocations: 3.684 MB / 0.6908 GB, free: 87.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/4.463, allocations: 41.53 kB / 0.6908 GB, free: 87.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.03031/4.494, allocations: 8.103 MB / 0.6987 GB, free: 85.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/4.494, allocations: 5.438 kB / 0.6987 GB, free: 85.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004959/4.494, allocations: 145.1 kB / 0.6989 GB, free: 85.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007124/4.501, allocations: 0.9151 MB / 0.6998 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/4.512, allocations: 1.532 MB / 0.7013 GB, free: 85.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/4.526, allocations: 6.714 MB / 0.7078 GB, free: 80.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008733/4.535, allocations: 208.9 kB / 0.708 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/4.537, allocations: 408.1 kB / 0.7084 GB, free: 80.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * 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 (820): * Single equations (assignments): 815 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002797/4.539, allocations: 472.8 kB / 0.7089 GB, free: 80.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/4.541, allocations: 406.4 kB / 0.7092 GB, free: 80.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/4.553, allocations: 3.36 MB / 0.7125 GB, free: 79.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/4.553, allocations: 18.88 kB / 0.7125 GB, free: 79.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/4.553, allocations: 7.562 kB / 0.7125 GB, free: 79.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-05/4.553, allocations: 15.41 kB / 0.7126 GB, free: 79.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/4.582, allocations: 8.06 MB / 0.7204 GB, free: 76.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/4.582, allocations: 3.469 kB / 0.7204 GB, free: 76.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/4.586, allocations: 323.6 kB / 0.7207 GB, free: 76.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/4.59, allocations: 0.6644 MB / 0.7214 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005456/4.591, allocations: 5.125 kB / 0.7214 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/4.609, allocations: 6.032 MB / 0.7273 GB, free: 72.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/4.609, allocations: 4.938 kB / 0.7273 GB, free: 72.12 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02482/4.634, allocations: 6.16 MB / 0.7333 GB, free: 68.61 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03061/4.665, allocations: 8.672 MB / 0.7418 GB, free: 60.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004121/4.669, allocations: 0.6965 MB / 0.7425 GB, free: 60.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/4.671, allocations: 0 / 0.7425 GB, free: 60.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005782/4.677, allocations: 63.27 kB / 0.7425 GB, free: 60.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/4.678, allocations: 93.95 kB / 0.7426 GB, free: 60.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009165/4.679, allocations: 59.75 kB / 0.7427 GB, free: 60.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007984/4.687, allocations: 2.548 MB / 0.7452 GB, free: 57.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01007/4.697, allocations: 1.008 MB / 0.7461 GB, free: 56.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (164): * Single equations (assignments): 159 * 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.0009871/4.698, allocations: 145.6 kB / 0.7463 GB, free: 56.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01929/4.718, allocations: 5.373 MB / 0.7515 GB, free: 51.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/4.718, allocations: 0.5312 kB / 0.7515 GB, free: 51.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007636/4.725, allocations: 1.838 MB / 0.7533 GB, free: 50.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006299/4.732, allocations: 450.8 kB / 0.7537 GB, free: 49.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/4.773, allocations: 9.283 MB / 0.7628 GB, free: 41.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01614/4.789, allocations: 4.407 MB / 0.7671 GB, free: 38.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.833e-06/4.789, allocations: 3.938 kB / 0.7671 GB, free: 38.12 MB / 474.7 MB