[: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.008/1.008, allocations: 111.2 MB / 118.2 MB, free: 11.23 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1457/1.154, allocations: 27.5 MB / 145.7 MB, free: 7.82 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0549/1.209, allocations: 25.17 MB / 170.9 MB, free: 14.61 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/1.38, allocations: 47.01 MB / 217.9 MB, free: 4.359 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.381, allocations: 73.8 kB / 217.9 MB, free: 4.348 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2050 * Number of variables: 2050 Notification: Performance of Generate backend data structure: time 1.125/2.505, allocations: 183.2 MB / 401.1 MB, free: 28.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/2.505, allocations: 17.02 kB / 401.2 MB, free: 28.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2683/2.774, allocations: 21.86 MB / 423 MB, free: 27.16 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02658/2.8, allocations: 7.134 MB / 430.1 MB, free: 26.47 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005252/2.801, allocations: 193.2 kB / 430.3 MB, free: 26.47 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005623/2.807, allocations: 330.8 kB / 430.7 MB, free: 26.47 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04687/2.853, allocations: 16.61 MB / 447.3 MB, free: 23.49 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05543/2.909, allocations: 18.28 MB / 465.5 MB, free: 8.242 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/2.909, allocations: 40.41 kB / 465.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005045/2.914, allocations: 27 kB / 465.6 MB, free: 8.195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.123/3.037, allocations: 8.716 MB / 474.3 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.163/4.2, allocations: 115.6 MB / 0.5761 GB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/4.208, allocations: 3.382 MB / 0.5794 GB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005209/4.213, allocations: 2.166 MB / 0.5815 GB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.284/4.497, allocations: 16.91 MB / 0.598 GB, free: 55.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/4.497, allocations: 56.69 kB / 0.598 GB, free: 55.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=190): time 7.585e-06/4.497, allocations: 0 / 0.598 GB, free: 55.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=202): time 0.037/4.534, allocations: 10.43 MB / 0.6082 GB, free: 52.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/4.534, allocations: 148.1 kB / 0.6084 GB, free: 52.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/4.544, allocations: 4.023 MB / 0.6123 GB, free: 51.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007391/4.545, allocations: 28.83 kB / 0.6123 GB, free: 51.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00315/4.548, allocations: 3.981 MB / 0.6162 GB, free: 49.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/4.55, allocations: 0.7802 MB / 0.617 GB, free: 48.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/4.551, allocations: 0 / 0.617 GB, free: 48.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0006968/4.552, allocations: 0.646 MB / 0.6176 GB, free: 48.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/4.564, allocations: 3.013 MB / 0.6206 GB, free: 48.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/4.578, allocations: 8.072 MB / 0.6284 GB, free: 41.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/4.588, allocations: 4.078 MB / 0.6324 GB, free: 41.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/4.589, allocations: 52.31 kB / 0.6325 GB, free: 41.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.0286/4.617, allocations: 9.328 MB / 0.6416 GB, free: 40.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/4.617, allocations: 7.281 kB / 0.6416 GB, free: 40.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/4.618, allocations: 187.8 kB / 0.6418 GB, free: 40.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/4.618, allocations: 265.1 kB / 0.642 GB, free: 40.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/4.631, allocations: 1.974 MB / 0.6439 GB, free: 40.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003211/4.632, allocations: 355.8 kB / 0.6443 GB, free: 39.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02639/4.658, allocations: 1.414 MB / 0.6457 GB, free: 39.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003037/4.661, allocations: 0.6908 MB / 0.6463 GB, free: 39.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 835 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (1000): * Single equations (assignments): 987 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003965/4.665, allocations: 0.5416 MB / 0.6469 GB, free: 39.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/4.667, allocations: 383.1 kB / 0.6472 GB, free: 39.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/4.672, allocations: 1.551 MB / 0.6487 GB, free: 38.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02884/4.701, allocations: 2.052 MB / 0.6507 GB, free: 38.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/4.701, allocations: 10.03 kB / 0.6508 GB, free: 38.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/4.701, allocations: 9.422 kB / 0.6508 GB, free: 38.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1036/4.805, allocations: 13.09 MB / 0.6636 GB, free: 31.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/4.805, allocations: 19.61 kB / 0.6636 GB, free: 31.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/4.808, allocations: 344.1 kB / 0.6639 GB, free: 31.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-05/4.808, allocations: 28 kB / 0.6639 GB, free: 31.19 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000653/4.809, allocations: 105.5 kB / 0.664 GB, free: 31.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.694e-05/4.809, allocations: 32.03 kB / 0.6641 GB, free: 31.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/4.809, allocations: 35.78 kB / 0.6641 GB, free: 31.06 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01463/4.824, allocations: 8.856 MB / 0.6727 GB, free: 22.2 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01904/4.843, allocations: 11.86 MB / 0.6843 GB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1122/4.955, allocations: 0.9461 MB / 0.6852 GB, free: 47.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003207/4.958, allocations: 23.27 kB / 0.6853 GB, free: 47.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02117/4.979, allocations: 1.07 MB / 0.6863 GB, free: 47.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/4.98, allocations: 142.3 kB / 0.6864 GB, free: 47.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007111/4.981, allocations: 253.1 kB / 0.6867 GB, free: 47.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.008035/4.989, allocations: 2.657 MB / 0.6893 GB, free: 47.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01257/5.001, allocations: 1.107 MB / 0.6904 GB, free: 47.51 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 163 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/5.003, allocations: 191.2 kB / 0.6905 GB, free: 47.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.03539/5.038, allocations: 7.789 MB / 0.6982 GB, free: 47.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/5.038, allocations: 0 / 0.6982 GB, free: 47.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02053/5.059, allocations: 2.801 MB / 0.7009 GB, free: 47.4 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/5.063, allocations: 371.8 kB / 0.7012 GB, free: 47.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/5.096, allocations: 10.06 MB / 0.7111 GB, free: 45.07 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01723/5.113, allocations: 5.066 MB / 0.716 GB, free: 44.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.763e-06/5.114, allocations: 0 / 0.716 GB, free: 44.25 MB / 250.7 MB