[: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.11/1.11, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07721/1.187, allocations: 27.51 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/1.334, allocations: 25.15 MB / 170.9 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/1.459, allocations: 49.3 MB / 220.2 MB, free: 4.352 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/1.46, allocations: 75.95 kB / 220.2 MB, free: 4.277 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: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 1.833/3.292, allocations: 271.8 MB / 492.1 MB, free: 4.988 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/3.292, allocations: 13.84 kB / 492.1 MB, free: 4.984 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4567/3.749, allocations: 37.66 MB / 0.5173 GB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06462/3.814, allocations: 15.87 MB / 0.5328 GB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008584/3.814, allocations: 300 kB / 0.5331 GB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008408/3.823, allocations: 0.5345 MB / 0.5336 GB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2873/4.11, allocations: 21.56 MB / 0.5547 GB, free: 54.37 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07806/4.188, allocations: 24.81 MB / 0.5789 GB, free: 51.14 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001009/4.189, allocations: 88.94 kB / 0.579 GB, free: 51.13 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007563/4.197, allocations: 29.56 kB / 0.579 GB, free: 51.13 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1133/4.31, allocations: 9.881 MB / 0.5887 GB, free: 50.8 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.366/5.676, allocations: 150.6 MB / 0.7357 GB, free: 22.02 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/5.693, allocations: 7.614 MB / 0.7432 GB, free: 17.63 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01275/5.706, allocations: 6.311 MB / 0.7493 GB, free: 14.43 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3114/6.017, allocations: 31.18 MB / 0.7798 GB, free: 47.03 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/6.017, allocations: 75.05 kB / 0.7798 GB, free: 46.99 MB / 266.8 MB Notification: Performance of pre-optimization done (n=341): time 9.177e-06/6.017, allocations: 0 / 0.7798 GB, free: 46.99 MB / 266.8 MB Notification: Performance of matching and sorting (n=409): time 0.1881/6.205, allocations: 39.57 MB / 0.8185 GB, free: 40.89 MB / 266.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/6.205, allocations: 410 kB / 0.8189 GB, free: 40.44 MB / 266.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/6.222, allocations: 6.68 MB / 0.8254 GB, free: 38.1 MB / 266.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001431/6.223, allocations: 29.48 kB / 0.8254 GB, free: 38.07 MB / 266.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004784/6.228, allocations: 5.542 MB / 0.8308 GB, free: 34.09 MB / 266.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003029/6.231, allocations: 1.462 MB / 0.8323 GB, free: 33 MB / 266.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/6.233, allocations: 0 / 0.8323 GB, free: 33 MB / 266.8 MB Notification: Performance of setup shared object (initialization): time 0.0009363/6.234, allocations: 0.7604 MB / 0.833 GB, free: 32.5 MB / 266.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01394/6.248, allocations: 5.269 MB / 0.8382 GB, free: 30.59 MB / 266.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01853/6.267, allocations: 11.42 MB / 0.8493 GB, free: 19.07 MB / 266.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1411/6.408, allocations: 7.345 MB / 0.8565 GB, free: 40.02 MB / 266.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/6.408, allocations: 63.97 kB / 0.8565 GB, free: 40.02 MB / 266.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.08041/6.489, allocations: 18.74 MB / 0.8748 GB, free: 39.29 MB / 266.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/6.489, allocations: 6.531 kB / 0.8748 GB, free: 39.29 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003861/6.489, allocations: 220.1 kB / 0.8751 GB, free: 39.29 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03296/6.522, allocations: 4.732 MB / 0.8797 GB, free: 39.24 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01668/6.539, allocations: 2.426 MB / 0.882 GB, free: 39.03 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06297/6.602, allocations: 23.98 MB / 0.9055 GB, free: 33.45 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03148/6.634, allocations: 1.361 MB / 0.9068 GB, free: 33.45 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004427/6.638, allocations: 0.8154 MB / 0.9076 GB, free: 33.36 MB / 266.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B1.frame_b.r_0[2]:DUMMY_STATE(flow=false unit = "m" ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 991 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1245 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.006178/6.644, allocations: 0.6525 MB / 0.9082 GB, free: 32.97 MB / 266.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/6.648, allocations: 0.7016 MB / 0.9089 GB, free: 32.97 MB / 266.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0624/6.71, allocations: 10.41 MB / 0.9191 GB, free: 29.68 MB / 266.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02634/6.737, allocations: 1.917 MB / 0.921 GB, free: 29.66 MB / 266.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/6.737, allocations: 19.06 kB / 0.921 GB, free: 29.66 MB / 266.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/6.737, allocations: 19.89 kB / 0.921 GB, free: 29.66 MB / 266.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2981/7.035, allocations: 30 MB / 0.9503 GB, free: 37.91 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/7.035, allocations: 7.812 kB / 0.9503 GB, free: 37.91 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005037/7.04, allocations: 479.5 kB / 0.9508 GB, free: 37.91 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03022/7.07, allocations: 4.312 MB / 0.955 GB, free: 37.88 MB / 266.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/7.072, allocations: 91.56 kB / 0.955 GB, free: 37.88 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0599/7.132, allocations: 22.66 MB / 0.9772 GB, free: 34.16 MB / 266.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/7.132, allocations: 13.31 kB / 0.9772 GB, free: 34.16 MB / 266.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0616/7.193, allocations: 19.87 MB / 0.9966 GB, free: 28.68 MB / 266.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07721/7.271, allocations: 26.62 MB / 1.023 GB, free: 16.88 MB / 266.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006722/7.278, allocations: 1.655 MB / 1.024 GB, free: 15.39 MB / 266.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003542/7.281, allocations: 14.47 kB / 1.024 GB, free: 15.39 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02113/7.302, allocations: 1.088 MB / 1.025 GB, free: 14.74 MB / 266.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003068/7.305, allocations: 198 kB / 1.025 GB, free: 14.63 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00218/7.308, allocations: 261.4 kB / 1.026 GB, free: 14.41 MB / 266.8 MB Notification: Performance of sort global known variables: time 0.01571/7.323, allocations: 4.632 MB / 1.03 GB, free: 10.39 MB / 266.8 MB Notification: Performance of remove unused functions: time 0.02596/7.349, allocations: 2.063 MB / 1.032 GB, free: 8.336 MB / 266.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 251 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/7.351, allocations: 173.4 kB / 1.032 GB, free: 8.207 MB / 266.8 MB Notification: Performance of simCode: created initialization part: time 0.1907/7.542, allocations: 13.76 MB / 1.046 GB, free: 42.12 MB / 266.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/7.542, allocations: 3.281 kB / 1.046 GB, free: 42.12 MB / 266.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03589/7.578, allocations: 5.93 MB / 1.052 GB, free: 41.76 MB / 266.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/7.588, allocations: 0.8797 MB / 1.053 GB, free: 41.73 MB / 266.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06775/7.656, allocations: 19.19 MB / 1.071 GB, free: 38.45 MB / 266.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02572/7.682, allocations: 7.801 MB / 1.079 GB, free: 37.51 MB / 266.8 MB Notification: Performance of SimCode: time 1.593e-06/7.682, allocations: 0 / 1.079 GB, free: 37.51 MB / 266.8 MB