[: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(Modelica): time 1.083/1.083, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1004/1.184, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/1.319, allocations: 25.16 MB / 170.9 MB, free: 1.832 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09982/1.419, allocations: 54.15 MB / 225 MB, free: 15.49 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/1.419, allocations: 75.95 kB / 225.1 MB, free: 15.42 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3095 * Number of variables: 3095 Notification: Performance of Generate backend data structure: time 1.766/3.185, allocations: 273.8 MB / 498.9 MB, free: 10.71 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/3.185, allocations: 11.25 kB / 498.9 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4458/3.631, allocations: 33.04 MB / 0.5195 GB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3402/3.971, allocations: 12.37 MB / 0.5316 GB, free: 43.36 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01078/3.982, allocations: 294.6 kB / 0.5319 GB, free: 43.36 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0105/3.993, allocations: 0.4977 MB / 0.5323 GB, free: 43.36 MB / 250.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08493/4.078, allocations: 23.83 MB / 0.5556 GB, free: 43.32 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1079/4.186, allocations: 26.53 MB / 0.5815 GB, free: 34.28 MB / 250.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007032/4.187, allocations: 69.95 kB / 0.5816 GB, free: 34.27 MB / 250.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007426/4.194, allocations: 27.88 kB / 0.5816 GB, free: 34.27 MB / 250.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1331/4.327, allocations: 11.7 MB / 0.593 GB, free: 31.05 MB / 250.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.74/6.067, allocations: 169.2 MB / 0.7583 GB, free: 29.23 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/6.091, allocations: 7.939 MB / 0.766 GB, free: 28.38 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01623/6.108, allocations: 6.618 MB / 0.7725 GB, free: 28.28 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2893/6.397, allocations: 39.44 MB / 0.811 GB, free: 19.97 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.886e-05/6.397, allocations: 81.03 kB / 0.8111 GB, free: 19.9 MB / 266.8 MB Notification: Performance of pre-optimization done (n=408): time 1.018e-05/6.397, allocations: 3.344 kB / 0.8111 GB, free: 19.9 MB / 266.8 MB Notification: Performance of matching and sorting (n=505): time 0.2256/6.623, allocations: 47.76 MB / 0.8577 GB, free: 0.5039 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/6.623, allocations: 278.4 kB / 0.858 GB, free: 176 kB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1356/6.758, allocations: 6.031 MB / 0.8639 GB, free: 65.96 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001793/6.76, allocations: 25.7 kB / 0.8639 GB, free: 65.93 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004598/6.765, allocations: 5.652 MB / 0.8694 GB, free: 63.38 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003571/6.769, allocations: 1.785 MB / 0.8712 GB, free: 62.29 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/6.771, allocations: 0 / 0.8712 GB, free: 62.29 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0009812/6.772, allocations: 0.8355 MB / 0.872 GB, free: 61.96 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01673/6.789, allocations: 5.935 MB / 0.8778 GB, free: 61.93 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02224/6.811, allocations: 12.88 MB / 0.8904 GB, free: 52.98 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02161/6.833, allocations: 8.015 MB / 0.8982 GB, free: 52.92 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003226/6.833, allocations: 70.78 kB / 0.8983 GB, free: 52.92 MB / 282.8 MB Notification: Performance of matching and sorting (n=1648) (initialization): time 0.07569/6.909, allocations: 19.98 MB / 0.9178 GB, free: 48.06 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/6.909, allocations: 15.22 kB / 0.9178 GB, free: 48.06 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008655/6.91, allocations: 245.8 kB / 0.918 GB, free: 48.06 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02552/6.935, allocations: 3.818 MB / 0.9217 GB, free: 47.47 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02323/6.959, allocations: 2.908 MB / 0.9246 GB, free: 47.14 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04523/7.004, allocations: 14.54 MB / 0.9388 GB, free: 39.95 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03724/7.041, allocations: 1.791 MB / 0.9405 GB, free: 38.79 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004309/7.046, allocations: 1.007 MB / 0.9415 GB, free: 37.89 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1503): * Single equations (assignments): 1485 * Array equations: 16 * 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: 1 {(5,64.0%) 47} * Non-linear torn systems: 1 {2 43} Notification: Performance of prepare postOptimizeDAE: time 0.005271/7.051, allocations: 0.7151 MB / 0.9422 GB, free: 37.17 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00245/7.053, allocations: 0.6478 MB / 0.9428 GB, free: 36.52 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04054/7.094, allocations: 10.7 MB / 0.9533 GB, free: 28.11 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03478/7.129, allocations: 2.572 MB / 0.9558 GB, free: 26.54 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.004e-05/7.129, allocations: 12 kB / 0.9558 GB, free: 26.52 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001723/7.129, allocations: 22.17 kB / 0.9558 GB, free: 26.52 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.308/7.437, allocations: 29.63 MB / 0.9848 GB, free: 53.77 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-05/7.437, allocations: 1.812 kB / 0.9848 GB, free: 53.77 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008036/7.445, allocations: 0.6582 MB / 0.9854 GB, free: 53.77 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02606/7.471, allocations: 3.294 MB / 0.9886 GB, free: 53.75 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002518/7.474, allocations: 123.4 kB / 0.9887 GB, free: 53.75 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04072/7.515, allocations: 12.91 MB / 1.001 GB, free: 52.02 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/7.515, allocations: 2.156 kB / 1.001 GB, free: 52.02 MB / 282.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06453/7.579, allocations: 19.76 MB / 1.021 GB, free: 46.64 MB / 282.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08713/7.666, allocations: 27.31 MB / 1.047 GB, free: 29.98 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007151/7.674, allocations: 1.721 MB / 1.049 GB, free: 28.5 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003778/7.677, allocations: 7.906 kB / 1.049 GB, free: 28.49 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02632/7.704, allocations: 1.427 MB / 1.05 GB, free: 27.64 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001692/7.706, allocations: 224.8 kB / 1.051 GB, free: 27.52 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001253/7.707, allocations: 360.3 kB / 1.051 GB, free: 27.22 MB / 282.8 MB Notification: Performance of sort global known variables: time 0.01099/7.718, allocations: 4.051 MB / 1.055 GB, free: 23.72 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.01961/7.738, allocations: 2.099 MB / 1.057 GB, free: 21.79 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 360 * Array equations: 16 * 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: 1 {(2,100.0%) 43} * Non-linear torn systems: 1 {1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.1214/7.859, allocations: 210.4 kB / 1.057 GB, free: 56.21 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.07319/7.932, allocations: 16.3 MB / 1.073 GB, free: 56.01 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/7.932, allocations: 0 / 1.073 GB, free: 56.01 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.05133/7.984, allocations: 7.702 MB / 1.081 GB, free: 55.82 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007418/7.991, allocations: 0.6281 MB / 1.081 GB, free: 55.8 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06535/8.056, allocations: 18.03 MB / 1.099 GB, free: 52.94 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0263/8.083, allocations: 7.6 MB / 1.106 GB, free: 52.02 MB / 282.8 MB Notification: Performance of SimCode: time 1.743e-06/8.083, allocations: 0 / 1.106 GB, free: 52.02 MB / 282.8 MB