Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_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.315/2.315, allocations: 235 MB / 241.9 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1493/2.464, allocations: 57.21 MB / 299.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/2.763, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/3.168, allocations: 103.3 MB / 457.2 MB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/3.168, allocations: 73.27 kB / 457.3 MB, free: 34.98 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.7615/3.93, allocations: 165.9 MB / 0.6086 GB, free: 7.047 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/3.93, allocations: 8 kB / 0.6086 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4327/4.363, allocations: 9.053 MB / 0.6175 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03969/4.402, allocations: 8.49 MB / 0.6258 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006512/4.403, allocations: 268 kB / 0.626 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005462/4.409, allocations: 490.5 kB / 0.6265 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0391/4.448, allocations: 13.44 MB / 0.6396 GB, free: 104.5 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06919/4.517, allocations: 19.11 MB / 0.6583 GB, free: 100.5 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006736/4.518, allocations: 87.19 kB / 0.6584 GB, free: 100.5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005407/4.523, allocations: 45.44 kB / 0.6584 GB, free: 100.5 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005699/4.529, allocations: 2.237 MB / 0.6606 GB, free: 100.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1817/4.711, allocations: 82.23 MB / 0.7409 GB, free: 51.22 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/4.726, allocations: 6.522 MB / 0.7473 GB, free: 48.23 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/4.737, allocations: 5.278 MB / 0.7524 GB, free: 46.04 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04516/4.782, allocations: 14.83 MB / 0.7669 GB, free: 39.34 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/4.782, allocations: 77.27 kB / 0.767 GB, free: 39.26 MB / 474.8 MB Notification: Performance of pre-optimization done (n=422): time 1.441e-05/4.782, allocations: 0 / 0.767 GB, free: 39.26 MB / 474.8 MB Notification: Performance of matching and sorting (n=487): time 0.1493/4.932, allocations: 39.39 MB / 0.8055 GB, free: 5.559 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/4.932, allocations: 223 kB / 0.8057 GB, free: 5.297 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02005/4.952, allocations: 5.388 MB / 0.8109 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001568/4.954, allocations: 25.7 kB / 0.8109 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2173/5.171, allocations: 5.515 MB / 0.8163 GB, free: 97.99 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004715/5.176, allocations: 1.726 MB / 0.818 GB, free: 97.15 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003216/5.179, allocations: 0 / 0.818 GB, free: 97.15 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.002489/5.182, allocations: 0.8298 MB / 0.8188 GB, free: 96.82 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01644/5.198, allocations: 5.065 MB / 0.8238 GB, free: 96.79 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02439/5.222, allocations: 11.57 MB / 0.8351 GB, free: 88.44 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/5.242, allocations: 7.758 MB / 0.8427 GB, free: 88.38 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002927/5.243, allocations: 65.72 kB / 0.8427 GB, free: 88.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=1569) (initialization): time 0.05042/5.293, allocations: 16.62 MB / 0.8589 GB, free: 87.54 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/5.293, allocations: 3.5 kB / 0.8589 GB, free: 87.54 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000408/5.294, allocations: 236.1 kB / 0.8592 GB, free: 87.54 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008602/5.302, allocations: 1.667 MB / 0.8608 GB, free: 87.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01954/5.322, allocations: 2.684 MB / 0.8634 GB, free: 87.27 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0271/5.349, allocations: 12.9 MB / 0.876 GB, free: 81.96 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/5.369, allocations: 388 kB / 0.8764 GB, free: 81.94 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004608/5.374, allocations: 0.6738 MB / 0.877 GB, free: 81.94 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1048 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1445): * Single equations (assignments): 1432 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005913/5.38, allocations: 0.6781 MB / 0.8777 GB, free: 81.48 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/5.382, allocations: 0.5862 MB / 0.8783 GB, free: 81.15 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03054/5.413, allocations: 9.477 MB / 0.8875 GB, free: 80.88 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002749/5.413, allocations: 78.39 kB / 0.8876 GB, free: 80.88 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.144e-05/5.413, allocations: 10.47 kB / 0.8876 GB, free: 80.88 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/5.413, allocations: 21.8 kB / 0.8876 GB, free: 80.88 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06469/5.478, allocations: 19.2 MB / 0.9064 GB, free: 75.11 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-05/5.478, allocations: 13.28 kB / 0.9064 GB, free: 75.11 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01067/5.489, allocations: 0.6933 MB / 0.9071 GB, free: 75.06 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009874/5.499, allocations: 1.284 MB / 0.9083 GB, free: 74.75 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001459/5.5, allocations: 22.73 kB / 0.9084 GB, free: 74.75 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02849/5.529, allocations: 11.77 MB / 0.9199 GB, free: 67.01 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/5.529, allocations: 7.562 kB / 0.9199 GB, free: 67.01 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05061/5.579, allocations: 16.68 MB / 0.9361 GB, free: 59.73 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06064/5.64, allocations: 23.03 MB / 0.9586 GB, free: 39.19 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005488/5.646, allocations: 1.387 MB / 0.96 GB, free: 37.89 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002743/5.649, allocations: 8 kB / 0.96 GB, free: 37.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007799/5.656, allocations: 160.6 kB / 0.9602 GB, free: 37.79 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/5.658, allocations: 221.5 kB / 0.9604 GB, free: 37.65 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007092/5.659, allocations: 125.3 kB / 0.9605 GB, free: 37.54 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01129/5.67, allocations: 3.602 MB / 0.964 GB, free: 34.42 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02073/5.691, allocations: 1.776 MB / 0.9657 GB, free: 32.64 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (373): * Single equations (assignments): 360 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/5.693, allocations: 173.9 kB / 0.9659 GB, free: 32.48 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.2475/5.94, allocations: 13.38 MB / 0.979 GB, free: 90.23 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/5.94, allocations: 0 / 0.979 GB, free: 90.23 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01514/5.955, allocations: 4.83 MB / 0.9837 GB, free: 89.81 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/5.962, allocations: 0.5278 MB / 0.9842 GB, free: 89.79 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05945/6.021, allocations: 17.46 MB / 1.001 GB, free: 86.86 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02175/6.043, allocations: 6.789 MB / 1.008 GB, free: 85.94 MB / 474.8 MB Notification: Performance of SimCode: time 3.045e-06/6.043, allocations: 3.656 kB / 1.008 GB, free: 85.94 MB / 474.8 MB