Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [: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 1.624/1.624, allocations: 209.4 MB / 216.3 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.593e-06, allocations: 0 / 267.3 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08577, allocations: 48.69 MB / 315.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.3861, allocations: 101.4 MB / 417.4 MB, free: 7.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.3864, allocations: 78.38 kB / 417.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.7077/1.094, allocations: 137.4 MB / 0.5418 GB, free: 79.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004557/1.095, allocations: 130.1 kB / 0.5419 GB, free: 79.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02233/1.117, allocations: 6.544 MB / 0.5483 GB, free: 76.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.117, allocations: 11.84 kB / 0.5483 GB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0473/1.164, allocations: 8.937 MB / 0.5571 GB, free: 71.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/1.191, allocations: 9.186 MB / 0.566 GB, free: 63.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/1.192, allocations: 204 kB / 0.5662 GB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/1.194, allocations: 387.8 kB / 0.5666 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01927/1.213, allocations: 9.658 MB / 0.576 GB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/1.246, allocations: 13.57 MB / 0.5893 GB, free: 38.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000571/1.247, allocations: 87.23 kB / 0.5894 GB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003032/1.25, allocations: 36 kB / 0.5894 GB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004123/1.254, allocations: 1.474 MB / 0.5908 GB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3154/1.569, allocations: 63.71 MB / 0.6531 GB, free: 92.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.58, allocations: 4.284 MB / 0.6572 GB, free: 91.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008664/1.589, allocations: 3.362 MB / 0.6605 GB, free: 91.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03394/1.623, allocations: 12.37 MB / 0.6726 GB, free: 87.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/1.623, allocations: 62.34 kB / 0.6727 GB, free: 87.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 1.26e-05/1.623, allocations: 0 / 0.6727 GB, free: 87.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=338): time 0.1424/1.766, allocations: 27.28 MB / 0.6993 GB, free: 82.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.766, allocations: 243 kB / 0.6995 GB, free: 82.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009911/1.776, allocations: 4.441 MB / 0.7039 GB, free: 81.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.777, allocations: 29.52 kB / 0.7039 GB, free: 81.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004404/1.781, allocations: 4.008 MB / 0.7078 GB, free: 78.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002454/1.784, allocations: 1.198 MB / 0.709 GB, free: 77.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/1.785, allocations: 0 / 0.709 GB, free: 77.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008232/1.786, allocations: 0.6587 MB / 0.7096 GB, free: 76.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01172/1.797, allocations: 3.52 MB / 0.7131 GB, free: 75.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01501/1.813, allocations: 8.156 MB / 0.721 GB, free: 67.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.825, allocations: 5.341 MB / 0.7262 GB, free: 66.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/1.825, allocations: 54.16 kB / 0.7263 GB, free: 66.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.06511/1.89, allocations: 13.59 MB / 0.7396 GB, free: 59.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.89, allocations: 8 kB / 0.7396 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004639/1.891, allocations: 171.5 kB / 0.7397 GB, free: 59.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0524/1.943, allocations: 3.358 MB / 0.743 GB, free: 57.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/1.96, allocations: 1.817 MB / 0.7448 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/2.002, allocations: 16.07 MB / 0.7605 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009181/2.011, allocations: 263.2 kB / 0.7607 GB, free: 41.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/2.013, allocations: 495 kB / 0.7612 GB, free: 41.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 748 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (996): * Single equations (assignments): 992 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002167/2.015, allocations: 0.5046 MB / 0.7617 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/2.016, allocations: 0.5046 MB / 0.7622 GB, free: 40.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02455/2.041, allocations: 8.48 MB / 0.7705 GB, free: 33.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.254e-05/2.041, allocations: 32 kB / 0.7705 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/2.041, allocations: 12 kB / 0.7705 GB, free: 33.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/2.041, allocations: 22.11 kB / 0.7705 GB, free: 33.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05706/2.098, allocations: 17.12 MB / 0.7872 GB, free: 19.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.039e-05/2.098, allocations: 8 kB / 0.7873 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006374/2.105, allocations: 462.9 kB / 0.7877 GB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0286/2.133, allocations: 2.963 MB / 0.7906 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/2.134, allocations: 12 kB / 0.7906 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/2.169, allocations: 14 MB / 0.8043 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/2.169, allocations: 11.94 kB / 0.8043 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1753/2.345, allocations: 13.93 MB / 0.8179 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003271/2.348, allocations: 1.058 MB / 0.8189 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/2.35, allocations: 11.12 kB / 0.8189 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004069/2.354, allocations: 99.7 kB / 0.819 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007522/2.354, allocations: 169.2 kB / 0.8192 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004311/2.355, allocations: 90.22 kB / 0.8193 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006365/2.361, allocations: 3.048 MB / 0.8223 GB, free: 113.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01031/2.372, allocations: 1.423 MB / 0.8236 GB, free: 113.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 250 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/2.373, allocations: 198.1 kB / 0.8238 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01571/2.388, allocations: 8.483 MB / 0.8321 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.424e-06/2.389, allocations: 5.031 kB / 0.8321 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006279/2.395, allocations: 3.279 MB / 0.8353 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/2.399, allocations: 0.5609 MB / 0.8359 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/2.432, allocations: 13.06 MB / 0.8486 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01214/2.444, allocations: 5.31 MB / 0.8538 GB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.197e-06/2.445, allocations: 0 / 0.8538 GB, free: 108.6 MB / 426.7 MB Notification: Performance of Templates: time 0.2364/2.681, allocations: 70.8 MB / 0.9229 GB, free: 68 MB / 426.7 MB