[: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.236/1.236, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1019/1.338, allocations: 27.51 MB / 145.7 MB, free: 4.152 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/1.474, allocations: 25.15 MB / 170.9 MB, free: 1.855 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/1.584, allocations: 60.15 MB / 231 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.585, allocations: 83.89 kB / 231.1 MB, free: 9.398 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: 3326 * Number of variables: 3326 Notification: Performance of Generate backend data structure: time 1.654/3.239, allocations: 280.1 MB / 0.4992 GB, free: 2.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/3.239, allocations: 15.94 kB / 0.4992 GB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6039/3.843, allocations: 35.24 MB / 0.5336 GB, free: 39.13 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1041/3.947, allocations: 16.77 MB / 0.55 GB, free: 38.24 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007944/3.948, allocations: 336.8 kB / 0.5503 GB, free: 38.24 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007976/3.956, allocations: 0.5996 MB / 0.5509 GB, free: 38.22 MB / 250.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06205/4.018, allocations: 22.67 MB / 0.5731 GB, free: 34.3 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07835/4.096, allocations: 26.05 MB / 0.5985 GB, free: 14.31 MB / 250.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008137/4.097, allocations: 96.72 kB / 0.5986 GB, free: 14.25 MB / 250.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006734/4.104, allocations: 24 kB / 0.5986 GB, free: 14.23 MB / 250.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1011/4.205, allocations: 9.119 MB / 0.6075 GB, free: 7.977 MB / 250.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.387/5.592, allocations: 149.3 MB / 0.7533 GB, free: 25.41 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/5.608, allocations: 7.43 MB / 0.7605 GB, free: 24.55 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01317/5.622, allocations: 6.139 MB / 0.7665 GB, free: 24.43 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2339/5.856, allocations: 32.06 MB / 0.7978 GB, free: 8.105 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/5.856, allocations: 71.08 kB / 0.7979 GB, free: 8.027 MB / 266.8 MB Notification: Performance of pre-optimization done (n=360): time 1.273e-05/5.856, allocations: 4 kB / 0.7979 GB, free: 8.023 MB / 266.8 MB Notification: Performance of matching and sorting (n=469): time 0.4641/6.32, allocations: 38.58 MB / 0.8356 GB, free: 58.97 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/6.32, allocations: 409.1 kB / 0.836 GB, free: 58.53 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02898/6.349, allocations: 7.013 MB / 0.8428 GB, free: 57.95 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001962/6.351, allocations: 25.7 kB / 0.8429 GB, free: 57.92 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008023/6.359, allocations: 5.953 MB / 0.8487 GB, free: 54.29 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004373/6.364, allocations: 1.658 MB / 0.8503 GB, free: 53.28 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003194/6.367, allocations: 0 / 0.8503 GB, free: 53.28 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.001699/6.369, allocations: 0.7919 MB / 0.8511 GB, free: 52.95 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02244/6.391, allocations: 5.552 MB / 0.8565 GB, free: 52.93 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02894/6.42, allocations: 11.92 MB / 0.8681 GB, free: 44.73 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02683/6.447, allocations: 7.391 MB / 0.8754 GB, free: 43.69 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004055/6.448, allocations: 64.81 kB / 0.8754 GB, free: 43.69 MB / 282.8 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.08233/6.53, allocations: 18.84 MB / 0.8938 GB, free: 37.77 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/6.53, allocations: 6.25 kB / 0.8938 GB, free: 37.77 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004785/6.531, allocations: 229.6 kB / 0.894 GB, free: 37.77 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/6.559, allocations: 4.314 MB / 0.8983 GB, free: 36.87 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01861/6.577, allocations: 2.541 MB / 0.9007 GB, free: 36.57 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/6.596, allocations: 7.51 MB / 0.9081 GB, free: 31.85 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02887/6.625, allocations: 1.294 MB / 0.9093 GB, free: 30.98 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003865/6.629, allocations: 0.8152 MB / 0.9101 GB, free: 30.23 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1023 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1338): * Single equations (assignments): 1325 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 124} Notification: Performance of prepare postOptimizeDAE: time 0.005578/6.635, allocations: 0.6737 MB / 0.9108 GB, free: 29.55 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00307/6.638, allocations: 0.7626 MB / 0.9115 GB, free: 28.79 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1732/6.811, allocations: 9.854 MB / 0.9212 GB, free: 53.76 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02374/6.835, allocations: 1.754 MB / 0.9229 GB, free: 53.76 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/6.835, allocations: 3.688 kB / 0.9229 GB, free: 53.76 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/6.835, allocations: 18.52 kB / 0.9229 GB, free: 53.76 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1562/6.991, allocations: 28.39 MB / 0.9506 GB, free: 52.64 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.351e-05/6.991, allocations: 7.375 kB / 0.9506 GB, free: 52.64 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006581/6.998, allocations: 0.5889 MB / 0.9512 GB, free: 52.64 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02696/7.025, allocations: 3.795 MB / 0.9549 GB, free: 52.61 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00163/7.027, allocations: 80.95 kB / 0.955 GB, free: 52.61 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/7.043, allocations: 6.659 MB / 0.9615 GB, free: 50.42 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/7.043, allocations: 12.97 kB / 0.9615 GB, free: 50.42 MB / 282.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05372/7.096, allocations: 19.98 MB / 0.981 GB, free: 41.75 MB / 282.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0693/7.166, allocations: 27.23 MB / 1.008 GB, free: 20.39 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1647/7.33, allocations: 1.781 MB / 1.009 GB, free: 54.03 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00506/7.336, allocations: 14.16 kB / 1.009 GB, free: 54.03 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02059/7.356, allocations: 1.025 MB / 1.01 GB, free: 54.03 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/7.358, allocations: 233.8 kB / 1.011 GB, free: 54.03 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001217/7.359, allocations: 264.4 kB / 1.011 GB, free: 54.03 MB / 282.8 MB Notification: Performance of sort global known variables: time 0.01595/7.375, allocations: 4.874 MB / 1.016 GB, free: 53.78 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.02008/7.395, allocations: 2.079 MB / 1.018 GB, free: 53.78 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (329): * Single equations (assignments): 317 * Array equations: 11 * 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: 0 * Non-linear torn systems: 1 {3 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/7.398, allocations: 218.5 kB / 1.018 GB, free: 53.69 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.03984/7.437, allocations: 13.04 MB / 1.031 GB, free: 53.61 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/7.437, allocations: 1.781 kB / 1.031 GB, free: 53.61 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01962/7.457, allocations: 5.225 MB / 1.036 GB, free: 53.57 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/7.468, allocations: 0.9447 MB / 1.037 GB, free: 53.54 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08807/7.556, allocations: 21.04 MB / 1.057 GB, free: 49.18 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03061/7.587, allocations: 8.548 MB / 1.065 GB, free: 46.86 MB / 282.8 MB Notification: Performance of SimCode: time 1.533e-06/7.587, allocations: 0 / 1.065 GB, free: 46.86 MB / 282.8 MB