[: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.093/1.093, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.099/1.192, allocations: 27.51 MB / 145.7 MB, free: 4.16 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/1.339, allocations: 25.16 MB / 170.9 MB, free: 1.852 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/1.443, allocations: 47.61 MB / 218.5 MB, free: 6.035 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.443, allocations: 75.95 kB / 218.5 MB, free: 5.961 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2674 * Number of variables: 2674 Notification: Performance of Generate backend data structure: time 1.722/3.166, allocations: 228.9 MB / 447.5 MB, free: 34.31 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/3.166, allocations: 10.84 kB / 447.5 MB, free: 34.31 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3943/3.56, allocations: 29.66 MB / 477.1 MB, free: 33.01 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04147/3.602, allocations: 10.77 MB / 487.9 MB, free: 32.44 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006441/3.602, allocations: 253.7 kB / 488.2 MB, free: 32.44 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007013/3.609, allocations: 438.7 kB / 488.6 MB, free: 32.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05521/3.665, allocations: 20.3 MB / 0.497 GB, free: 25.99 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06804/3.733, allocations: 22.94 MB / 0.5194 GB, free: 6.625 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000513/3.733, allocations: 59.77 kB / 0.5194 GB, free: 6.586 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005847/3.739, allocations: 24 kB / 0.5194 GB, free: 6.562 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2245/3.964, allocations: 9.497 MB / 0.5287 GB, free: 31.71 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.264/5.228, allocations: 142.2 MB / 0.6676 GB, free: 24.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/5.249, allocations: 9.834 MB / 0.6772 GB, free: 23.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01613/5.265, allocations: 7.833 MB / 0.6849 GB, free: 19.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4254/5.691, allocations: 40.55 MB / 0.7245 GB, free: 44.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.575e-05/5.691, allocations: 81.41 kB / 0.7246 GB, free: 44.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=464): time 1.16e-05/5.691, allocations: 0 / 0.7246 GB, free: 44.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=728): time 0.5014/6.193, allocations: 80.25 MB / 0.8029 GB, free: 41.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/6.193, allocations: 280.7 kB / 0.8032 GB, free: 41.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/6.207, allocations: 5.144 MB / 0.8082 GB, free: 40.94 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00295/6.21, allocations: 28.86 kB / 0.8082 GB, free: 40.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004074/6.214, allocations: 4.559 MB / 0.8127 GB, free: 38.72 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00601/6.22, allocations: 2.46 MB / 0.8151 GB, free: 37.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005266/6.225, allocations: 0 / 0.8151 GB, free: 37.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00163/6.227, allocations: 0.831 MB / 0.8159 GB, free: 36.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03758/6.265, allocations: 10.88 MB / 0.8265 GB, free: 36.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04392/6.309, allocations: 16.17 MB / 0.8423 GB, free: 29.2 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0417/6.35, allocations: 12.54 MB / 0.8546 GB, free: 24.79 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/6.351, allocations: 51.72 kB / 0.8546 GB, free: 24.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=1594) (initialization): time 0.3505/6.701, allocations: 43.27 MB / 0.8969 GB, free: 33.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/6.701, allocations: 6.625 kB / 0.8969 GB, free: 33.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00038/6.702, allocations: 180.2 kB / 0.8971 GB, free: 33.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1366/6.838, allocations: 20.58 MB / 0.9172 GB, free: 33.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/6.855, allocations: 2.14 MB / 0.9192 GB, free: 33.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5368/7.392, allocations: 124.5 MB / 1.041 GB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04595/7.438, allocations: 1.852 MB / 1.043 GB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006069/7.444, allocations: 0.9296 MB / 1.044 GB, free: 9.527 MB / 250.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b2.frame_b.R.T[3,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] j2.box.rxvisobj[2]:DUMMY_STATE(unit = "1" protected = true ) "x-axis unit vector of shape, resolved in world frame" type: Real [3] j2.box.rxvisobj[1]:DUMMY_STATE(unit = "1" protected = true ) "x-axis unit vector of shape, resolved in world frame" type: Real [3] b2.frame_b.R.T[3,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] j2.box.rxvisobj[3]:DUMMY_STATE(unit = "1" protected = true ) "x-axis unit vector of shape, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1107): * Single equations (assignments): 1087 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,38.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.009114/7.453, allocations: 0.5702 MB / 1.044 GB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005589/7.459, allocations: 0.6395 MB / 1.045 GB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3699/7.829, allocations: 37.1 MB / 1.081 GB, free: 29.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05265/7.881, allocations: 2.604 MB / 1.083 GB, free: 29.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003508/7.882, allocations: 64.44 kB / 1.084 GB, free: 29.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002614/7.882, allocations: 31.22 kB / 1.084 GB, free: 29.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5235/8.405, allocations: 67 MB / 1.149 GB, free: 26.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.543e-05/8.406, allocations: 0 / 1.149 GB, free: 26.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005584/8.411, allocations: 453.8 kB / 1.149 GB, free: 26.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1296/8.541, allocations: 19.77 MB / 1.169 GB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00312/8.544, allocations: 111.7 kB / 1.169 GB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5338/9.078, allocations: 115.3 MB / 1.281 GB, free: 22.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/9.078, allocations: 0 / 1.281 GB, free: 22.04 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3718/9.45, allocations: 55.02 MB / 1.335 GB, free: 25.49 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4736/9.924, allocations: 106 MB / 1.439 GB, free: 25.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01248/9.936, allocations: 2.985 MB / 1.442 GB, free: 25.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005413/9.942, allocations: 1.906 kB / 1.442 GB, free: 25.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03437/9.976, allocations: 1.588 MB / 1.443 GB, free: 25.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003468/9.979, allocations: 325.6 kB / 1.443 GB, free: 25.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002469/9.982, allocations: 388.3 kB / 1.444 GB, free: 25.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.01039/9.992, allocations: 3.51 MB / 1.447 GB, free: 25.61 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.02767/10.02, allocations: 3.309 MB / 1.451 GB, free: 25.61 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 226 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.003432/10.02, allocations: 153 kB / 1.451 GB, free: 25.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.1251/10.15, allocations: 30.21 MB / 1.48 GB, free: 17.24 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/10.15, allocations: 0 / 1.48 GB, free: 17.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09695/10.25, allocations: 16.9 MB / 1.497 GB, free: 4.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/10.26, allocations: 0.5694 MB / 1.497 GB, free: 3.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2428/10.5, allocations: 26.16 MB / 1.523 GB, free: 40.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02738/10.53, allocations: 7.2 MB / 1.53 GB, free: 39.69 MB / 266.7 MB Notification: Performance of SimCode: time 2.334e-06/10.53, allocations: 3.031 kB / 1.53 GB, free: 39.69 MB / 266.7 MB