[: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 0.9813/0.9813, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1225/1.104, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/1.272, allocations: 25.16 MB / 170.9 MB, free: 1.875 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/1.399, allocations: 50.68 MB / 221.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/1.399, allocations: 71.95 kB / 221.6 MB, free: 2.898 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: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 1.815/3.214, allocations: 268.8 MB / 490.4 MB, free: 7.391 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/3.215, allocations: 18.22 kB / 490.5 MB, free: 7.383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.431/3.646, allocations: 37.68 MB / 0.5158 GB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2907/3.936, allocations: 15.51 MB / 0.5309 GB, free: 40.82 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00078/3.937, allocations: 288.8 kB / 0.5312 GB, free: 40.82 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008605/3.946, allocations: 0.5016 MB / 0.5317 GB, free: 40.82 MB / 250.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06807/4.014, allocations: 21.73 MB / 0.5529 GB, free: 40.78 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08045/4.094, allocations: 25.21 MB / 0.5775 GB, free: 31.25 MB / 250.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007886/4.095, allocations: 80.05 kB / 0.5776 GB, free: 31.25 MB / 250.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007698/4.103, allocations: 32.41 kB / 0.5776 GB, free: 31.25 MB / 250.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1338/4.237, allocations: 10.43 MB / 0.5878 GB, free: 30.51 MB / 250.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.599/5.836, allocations: 159.3 MB / 0.7434 GB, free: 48.23 MB / 266.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/5.854, allocations: 8.067 MB / 0.7512 GB, free: 47.34 MB / 266.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01405/5.869, allocations: 6.727 MB / 0.7578 GB, free: 47.22 MB / 266.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.209/6.078, allocations: 32.65 MB / 0.7897 GB, free: 39.64 MB / 266.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/6.078, allocations: 81.92 kB / 0.7898 GB, free: 39.58 MB / 266.8 MB Notification: Performance of pre-optimization done (n=338): time 1.552e-05/6.078, allocations: 0 / 0.7898 GB, free: 39.58 MB / 266.8 MB Notification: Performance of matching and sorting (n=448): time 0.3982/6.476, allocations: 52.16 MB / 0.8407 GB, free: 46.08 MB / 266.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/6.476, allocations: 330.1 kB / 0.841 GB, free: 45.73 MB / 266.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02255/6.499, allocations: 7.004 MB / 0.8479 GB, free: 45.15 MB / 266.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002562/6.501, allocations: 25.7 kB / 0.8479 GB, free: 45.12 MB / 266.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008469/6.51, allocations: 5.711 MB / 0.8535 GB, free: 41.73 MB / 266.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003877/6.514, allocations: 1.65 MB / 0.8551 GB, free: 40.75 MB / 266.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003354/6.517, allocations: 0 / 0.8551 GB, free: 40.75 MB / 266.8 MB Notification: Performance of setup shared object (initialization): time 0.001387/6.519, allocations: 0.8302 MB / 0.8559 GB, free: 40.42 MB / 266.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01777/6.537, allocations: 6.729 MB / 0.8625 GB, free: 40.39 MB / 266.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02388/6.561, allocations: 13.57 MB / 0.8757 GB, free: 31.57 MB / 266.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02175/6.582, allocations: 8.617 MB / 0.8841 GB, free: 28.89 MB / 266.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003191/6.583, allocations: 70.09 kB / 0.8842 GB, free: 28.89 MB / 266.8 MB Notification: Performance of matching and sorting (n=1615) (initialization): time 0.1577/6.74, allocations: 30.02 MB / 0.9135 GB, free: 20.11 MB / 266.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/6.741, allocations: 7.828 kB / 0.9135 GB, free: 20.11 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2353/6.976, allocations: 17.75 MB / 0.9308 GB, free: 39.54 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09859/7.075, allocations: 11.44 MB / 0.942 GB, free: 39.48 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02327/7.098, allocations: 2.864 MB / 0.9448 GB, free: 39.48 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0961/7.194, allocations: 28.87 MB / 0.973 GB, free: 32.46 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03715/7.231, allocations: 1.719 MB / 0.9747 GB, free: 32.46 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004924/7.236, allocations: 0.9314 MB / 0.9756 GB, free: 32.36 MB / 266.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1105 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1449): * Single equations (assignments): 1426 * Array equations: 17 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.007135/7.243, allocations: 0.7055 MB / 0.9763 GB, free: 32.18 MB / 266.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003367/7.247, allocations: 0.7223 MB / 0.977 GB, free: 32.18 MB / 266.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04624/7.293, allocations: 11.59 MB / 0.9883 GB, free: 25.46 MB / 266.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0764/7.37, allocations: 12.3 MB / 1 GB, free: 15.86 MB / 266.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001276/7.37, allocations: 16 kB / 1 GB, free: 15.84 MB / 266.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001855/7.37, allocations: 22.31 kB / 1 GB, free: 15.84 MB / 266.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/7.704, allocations: 34.29 MB / 1.034 GB, free: 37.41 MB / 266.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-05/7.704, allocations: 2.312 kB / 1.034 GB, free: 37.41 MB / 266.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009226/7.713, allocations: 0.6686 MB / 1.034 GB, free: 37.41 MB / 266.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02812/7.741, allocations: 3.8 MB / 1.038 GB, free: 37.34 MB / 266.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002088/7.744, allocations: 138.8 kB / 1.038 GB, free: 37.34 MB / 266.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05163/7.795, allocations: 21.64 MB / 1.059 GB, free: 26.98 MB / 266.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002402/7.798, allocations: 2.777 MB / 1.062 GB, free: 24.31 MB / 266.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06815/7.866, allocations: 21.79 MB / 1.083 GB, free: 16.21 MB / 266.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2239/8.09, allocations: 30.34 MB / 1.113 GB, free: 34.18 MB / 266.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008743/8.099, allocations: 1.945 MB / 1.115 GB, free: 34.09 MB / 266.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004256/8.103, allocations: 44.83 kB / 1.115 GB, free: 34.09 MB / 266.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02628/8.129, allocations: 1.308 MB / 1.116 GB, free: 34.09 MB / 266.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/8.131, allocations: 205.5 kB / 1.117 GB, free: 34.09 MB / 266.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001963/8.133, allocations: 291.5 kB / 1.117 GB, free: 34.09 MB / 266.8 MB Notification: Performance of sort global known variables: time 0.01483/8.148, allocations: 4.807 MB / 1.121 GB, free: 33.84 MB / 266.8 MB Notification: Performance of remove unused functions: time 0.02639/8.175, allocations: 2.362 MB / 1.124 GB, free: 33.84 MB / 266.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 299 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/8.178, allocations: 184.1 kB / 1.124 GB, free: 33.75 MB / 266.8 MB Notification: Performance of simCode: created initialization part: time 0.09668/8.274, allocations: 17.68 MB / 1.141 GB, free: 30.32 MB / 266.8 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/8.274, allocations: 0 / 1.141 GB, free: 30.32 MB / 266.8 MB Notification: Performance of simCode: created simulation system equations: time 0.05897/8.333, allocations: 8.289 MB / 1.149 GB, free: 27.36 MB / 266.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01437/8.348, allocations: 0.8372 MB / 1.15 GB, free: 27.03 MB / 266.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09879/8.447, allocations: 21.16 MB / 1.171 GB, free: 15.86 MB / 266.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03037/8.477, allocations: 7.889 MB / 1.179 GB, free: 10.12 MB / 266.8 MB Notification: Performance of SimCode: time 1.943e-06/8.477, allocations: 0 / 1.179 GB, free: 10.12 MB / 266.8 MB