Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_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.014/2.014, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2162/2.23, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/2.361, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/2.774, allocations: 94.65 MB / 410.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/2.774, allocations: 82.02 kB / 410.7 MB, free: 14.31 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.7792/3.554, allocations: 107.8 MB / 0.5064 GB, free: 81.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/3.554, allocations: 7.281 kB / 0.5064 GB, free: 81.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0512/3.605, allocations: 6.525 MB / 0.5128 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/3.633, allocations: 6.937 MB / 0.5195 GB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/3.633, allocations: 171.2 kB / 0.5197 GB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/3.636, allocations: 325.3 kB / 0.52 GB, free: 79.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02205/3.659, allocations: 7.45 MB / 0.5273 GB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03616/3.695, allocations: 11.38 MB / 0.5384 GB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000603/3.695, allocations: 70.91 kB / 0.5385 GB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003616/3.699, allocations: 34.19 kB / 0.5385 GB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002912/3.702, allocations: 1.208 MB / 0.5397 GB, free: 73.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/3.808, allocations: 56.58 MB / 0.5949 GB, free: 27.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007506/3.815, allocations: 3.495 MB / 0.5984 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/3.821, allocations: 2.459 MB / 0.6008 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02782/3.849, allocations: 7.722 MB / 0.6083 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/3.849, allocations: 52.48 kB / 0.6083 GB, free: 15.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 7.254e-06/3.849, allocations: 1.875 kB / 0.6083 GB, free: 15.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=217): time 0.08531/3.934, allocations: 17.73 MB / 0.6257 GB, free: 13.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/3.934, allocations: 205.1 kB / 0.6259 GB, free: 13.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01694/3.951, allocations: 3.73 MB / 0.6295 GB, free: 9.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000673/3.952, allocations: 25.7 kB / 0.6295 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005382/3.958, allocations: 3.462 MB / 0.6329 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002371/3.96, allocations: 0.8057 MB / 0.6337 GB, free: 5.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/3.961, allocations: 0 / 0.6337 GB, free: 5.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001247/3.963, allocations: 0.5951 MB / 0.6343 GB, free: 4.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009021/3.972, allocations: 2.157 MB / 0.6364 GB, free: 2.453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1944/4.166, allocations: 6.231 MB / 0.6425 GB, free: 130.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009131/4.175, allocations: 3.681 MB / 0.6461 GB, free: 130.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001713/4.176, allocations: 48.03 kB / 0.6461 GB, free: 130.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02835/4.204, allocations: 8.117 MB / 0.654 GB, free: 129.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/4.204, allocations: 6.906 kB / 0.654 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004829/4.205, allocations: 146.6 kB / 0.6542 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00619/4.211, allocations: 0.9239 MB / 0.6551 GB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/4.221, allocations: 1.541 MB / 0.6566 GB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/4.242, allocations: 6.88 MB / 0.6633 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/4.255, allocations: 208.3 kB / 0.6635 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/4.257, allocations: 410.6 kB / 0.6639 GB, free: 127 MB / 426.7 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 (824): * Single equations (assignments): 819 * 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.0042/4.261, allocations: 477 kB / 0.6643 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002084/4.263, allocations: 397.8 kB / 0.6647 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/4.278, allocations: 3.384 MB / 0.668 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/4.279, allocations: 19.14 kB / 0.6681 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/4.279, allocations: 10.25 kB / 0.6681 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/4.279, allocations: 13.92 kB / 0.6681 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/4.31, allocations: 8.128 MB / 0.676 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/4.31, allocations: 3.688 kB / 0.676 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00546/4.316, allocations: 333.5 kB / 0.6763 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007191/4.323, allocations: 0.6713 MB / 0.677 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007576/4.324, allocations: 4.938 kB / 0.677 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/4.341, allocations: 6.042 MB / 0.6829 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/4.341, allocations: 2 kB / 0.6829 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01584/4.357, allocations: 6.178 MB / 0.6889 GB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02153/4.378, allocations: 8.685 MB / 0.6974 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/4.381, allocations: 0.7003 MB / 0.6981 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/4.382, allocations: 3.969 kB / 0.6981 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/4.386, allocations: 63.73 kB / 0.6982 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/4.387, allocations: 95.23 kB / 0.6982 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000408/4.388, allocations: 57.84 kB / 0.6983 GB, free: 115.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.009477/4.397, allocations: 2.549 MB / 0.7008 GB, free: 114.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01049/4.408, allocations: 1.011 MB / 0.7018 GB, free: 114.7 MB / 426.7 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 (168): * Single equations (assignments): 163 * 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.0008427/4.409, allocations: 146 kB / 0.7019 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02033/4.429, allocations: 5.381 MB / 0.7072 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/4.429, allocations: 1.438 kB / 0.7072 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006759/4.436, allocations: 1.84 MB / 0.709 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/4.44, allocations: 445 kB / 0.7094 GB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03113/4.472, allocations: 9.317 MB / 0.7185 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0165/4.488, allocations: 4.408 MB / 0.7228 GB, free: 99.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.637e-06/4.488, allocations: 0 / 0.7228 GB, free: 99.98 MB / 426.7 MB