[: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.06/1.06, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08118/1.141, allocations: 27.51 MB / 145.7 MB, free: 4.16 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/1.274, allocations: 25.15 MB / 170.9 MB, free: 1.828 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09243/1.366, allocations: 50.39 MB / 221.2 MB, free: 3.258 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.367, allocations: 75.95 kB / 221.3 MB, free: 3.184 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: 3136 * Number of variables: 3136 Notification: Performance of Generate backend data structure: time 1.681/3.048, allocations: 276.8 MB / 498.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/3.048, allocations: 10.78 kB / 498.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4133/3.461, allocations: 37.99 MB / 0.5235 GB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06249/3.523, allocations: 16.15 MB / 0.5393 GB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007389/3.524, allocations: 308 kB / 0.5396 GB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007888/3.532, allocations: 0.5504 MB / 0.5401 GB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3293/3.862, allocations: 21.97 MB / 0.5616 GB, free: 55.23 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1099/3.972, allocations: 25.34 MB / 0.5863 GB, free: 48.72 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009094/3.973, allocations: 84.98 kB / 0.5864 GB, free: 48.71 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00819/3.981, allocations: 27.97 kB / 0.5864 GB, free: 48.71 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1348/4.116, allocations: 9.928 MB / 0.5961 GB, free: 48.36 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.365/5.481, allocations: 152.2 MB / 0.7447 GB, free: 15.53 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/5.497, allocations: 7.693 MB / 0.7522 GB, free: 11.8 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01343/5.51, allocations: 6.294 MB / 0.7584 GB, free: 8.598 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3444/5.855, allocations: 31.79 MB / 0.7894 GB, free: 46.07 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.344e-05/5.855, allocations: 79.17 kB / 0.7895 GB, free: 46.03 MB / 266.8 MB Notification: Performance of pre-optimization done (n=358): time 9.788e-06/5.855, allocations: 0 / 0.7895 GB, free: 46.03 MB / 266.8 MB Notification: Performance of matching and sorting (n=444): time 0.1688/6.024, allocations: 36.3 MB / 0.825 GB, free: 40.33 MB / 266.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/6.024, allocations: 405.2 kB / 0.8253 GB, free: 39.89 MB / 266.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02019/6.044, allocations: 6.87 MB / 0.8321 GB, free: 37.48 MB / 266.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001448/6.045, allocations: 26.98 kB / 0.8321 GB, free: 37.45 MB / 266.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005373/6.051, allocations: 5.715 MB / 0.8377 GB, free: 33.3 MB / 266.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002839/6.054, allocations: 1.583 MB / 0.8392 GB, free: 32.01 MB / 266.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/6.056, allocations: 0 / 0.8392 GB, free: 32.01 MB / 266.8 MB Notification: Performance of setup shared object (initialization): time 0.0009615/6.057, allocations: 0.7822 MB / 0.84 GB, free: 31.36 MB / 266.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01367/6.07, allocations: 5.27 MB / 0.8451 GB, free: 26.71 MB / 266.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1372/6.208, allocations: 11.62 MB / 0.8565 GB, free: 38.11 MB / 266.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/6.224, allocations: 6.98 MB / 0.8633 GB, free: 38.05 MB / 266.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/6.225, allocations: 64.16 kB / 0.8633 GB, free: 38.05 MB / 266.8 MB Notification: Performance of matching and sorting (n=1479) (initialization): time 0.06301/6.288, allocations: 17.97 MB / 0.8809 GB, free: 37.2 MB / 266.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/6.288, allocations: 8.062 kB / 0.8809 GB, free: 37.2 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004717/6.288, allocations: 226.5 kB / 0.8811 GB, free: 37.2 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02186/6.31, allocations: 3.587 MB / 0.8846 GB, free: 37.15 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/6.329, allocations: 2.526 MB / 0.8871 GB, free: 36.94 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05861/6.388, allocations: 20.67 MB / 0.9073 GB, free: 30.86 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03139/6.419, allocations: 1.362 MB / 0.9086 GB, free: 30.86 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00406/6.423, allocations: 0.8362 MB / 0.9094 GB, free: 30.77 MB / 266.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1021 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1325): * Single equations (assignments): 1310 * 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 {(9,69.1%) 97,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.005867/6.429, allocations: 0.6712 MB / 0.9101 GB, free: 30.35 MB / 266.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003378/6.433, allocations: 0.7376 MB / 0.9108 GB, free: 30.35 MB / 266.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03979/6.472, allocations: 9.44 MB / 0.92 GB, free: 27.28 MB / 266.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02624/6.499, allocations: 1.915 MB / 0.9219 GB, free: 27.24 MB / 266.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001032/6.499, allocations: 20 kB / 0.9219 GB, free: 27.24 MB / 266.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001668/6.499, allocations: 18.58 kB / 0.9219 GB, free: 27.24 MB / 266.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3031/6.802, allocations: 26.93 MB / 0.9482 GB, free: 38.32 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/6.802, allocations: 12.08 kB / 0.9482 GB, free: 38.32 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005892/6.808, allocations: 0.517 MB / 0.9487 GB, free: 38.32 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02083/6.829, allocations: 3.249 MB / 0.9519 GB, free: 38.29 MB / 266.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/6.831, allocations: 89.8 kB / 0.952 GB, free: 38.29 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05472/6.885, allocations: 19.88 MB / 0.9714 GB, free: 34.48 MB / 266.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/6.885, allocations: 16.23 kB / 0.9714 GB, free: 34.48 MB / 266.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05754/6.943, allocations: 19.51 MB / 0.9905 GB, free: 28.29 MB / 266.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0732/7.016, allocations: 26.28 MB / 1.016 GB, free: 15.37 MB / 266.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007423/7.024, allocations: 1.687 MB / 1.018 GB, free: 13.86 MB / 266.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004159/7.028, allocations: 17.53 kB / 1.018 GB, free: 13.85 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02227/7.05, allocations: 1.081 MB / 1.019 GB, free: 13.2 MB / 266.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00153/7.052, allocations: 228.1 kB / 1.019 GB, free: 13.07 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001027/7.053, allocations: 271.2 kB / 1.019 GB, free: 12.84 MB / 266.8 MB Notification: Performance of sort global known variables: time 0.0135/7.066, allocations: 4.759 MB / 1.024 GB, free: 8.719 MB / 266.8 MB Notification: Performance of remove unused functions: time 0.02453/7.091, allocations: 2.123 MB / 1.026 GB, free: 6.609 MB / 266.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (303): * Single equations (assignments): 288 * 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 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001749/7.093, allocations: 175.9 kB / 1.026 GB, free: 6.48 MB / 266.8 MB Notification: Performance of simCode: created initialization part: time 0.1877/7.28, allocations: 14.4 MB / 1.04 GB, free: 42.27 MB / 266.8 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-05/7.281, allocations: 9.438 kB / 1.04 GB, free: 42.27 MB / 266.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03315/7.314, allocations: 6.088 MB / 1.046 GB, free: 41.91 MB / 266.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/7.325, allocations: 0.9122 MB / 1.047 GB, free: 41.88 MB / 266.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08407/7.409, allocations: 19.41 MB / 1.066 GB, free: 38.43 MB / 266.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0365/7.445, allocations: 8.066 MB / 1.074 GB, free: 37.48 MB / 266.8 MB Notification: Performance of SimCode: time 1.924e-06/7.445, allocations: 0 / 1.074 GB, free: 37.48 MB / 266.8 MB