Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") [: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(ModelicaTest): time 1.759/1.759, allocations: 209.4 MB / 216.3 MB, free: 6.766 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.134e-05/1.147e-05, allocations: 4 kB / 267.3 MB, free: 5.223 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 48.7 MB / 316 MB, free: 4.426 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.4078, allocations: 96.58 MB / 412.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4081, allocations: 77.55 kB / 412.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.033/1.441, allocations: 215.8 MB / 0.6137 GB, free: 15.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006322/1.442, allocations: 235.9 kB / 0.6139 GB, free: 15.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.03602/1.478, allocations: 11.33 MB / 0.6249 GB, free: 3.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.478, allocations: 8.031 kB / 0.6249 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06925/1.547, allocations: 12.2 MB / 0.6369 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1941/1.741, allocations: 12.65 MB / 0.6492 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007008/1.742, allocations: 392.9 kB / 0.6496 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005305/1.747, allocations: 0.7033 MB / 0.6503 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03828/1.786, allocations: 17.25 MB / 0.6671 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05921/1.845, allocations: 24.95 MB / 0.6915 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008245/1.846, allocations: 134.6 kB / 0.6916 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004978/1.851, allocations: 59.59 kB / 0.6917 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004906/1.856, allocations: 2.853 MB / 0.6945 GB, free: 76.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3808/2.236, allocations: 112.6 MB / 0.8044 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/2.254, allocations: 11.43 MB / 0.8156 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/2.267, allocations: 8.159 MB / 0.8236 GB, free: 41.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04819/2.315, allocations: 23.07 MB / 0.8461 GB, free: 36.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/2.316, allocations: 94.47 kB / 0.8462 GB, free: 36.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=524): time 1.11e-05/2.316, allocations: 3.188 kB / 0.8462 GB, free: 36.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=609): time 0.1664/2.482, allocations: 51.63 MB / 0.8966 GB, free: 21.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/2.482, allocations: 320.7 kB / 0.8969 GB, free: 21.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01809/2.5, allocations: 7.199 MB / 0.904 GB, free: 16.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001486/2.502, allocations: 25.7 kB / 0.904 GB, free: 16.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005269/2.507, allocations: 7.139 MB / 0.9109 GB, free: 9.738 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004222/2.511, allocations: 2.167 MB / 0.9131 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/2.514, allocations: 0 / 0.9131 GB, free: 7.781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001832/2.516, allocations: 0.9308 MB / 0.914 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01545/2.531, allocations: 6.347 MB / 0.9202 GB, free: 1.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05161/2.583, allocations: 15.9 MB / 0.9357 GB, free: 4.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02174/2.604, allocations: 9.505 MB / 0.945 GB, free: 13.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000298/2.605, allocations: 80 kB / 0.9451 GB, free: 13.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.2325/2.837, allocations: 21.82 MB / 0.9664 GB, free: 107 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.837, allocations: 3.375 kB / 0.9664 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000507/2.838, allocations: 277.2 kB / 0.9666 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/2.85, allocations: 3.111 MB / 0.9697 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01942/2.869, allocations: 3.471 MB / 0.9731 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03919/2.908, allocations: 20.65 MB / 0.9932 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/2.925, allocations: 489.1 kB / 0.9937 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003762/2.928, allocations: 0.8316 MB / 0.9945 GB, free: 102 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1784): * Single equations (assignments): 1777 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005598/2.934, allocations: 0.8234 MB / 0.9953 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00291/2.937, allocations: 0.8125 MB / 0.9961 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03614/2.973, allocations: 13.55 MB / 1.009 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001547/2.973, allocations: 57.72 kB / 1.009 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.266e-05/2.973, allocations: 17.88 kB / 1.009 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000138/2.974, allocations: 28.45 kB / 1.009 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07547/3.049, allocations: 27.18 MB / 1.036 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.48e-05/3.049, allocations: 1.375 kB / 1.036 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008702/3.058, allocations: 1.087 MB / 1.037 GB, free: 99.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/3.069, allocations: 2.627 MB / 1.04 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001705/3.071, allocations: 20.52 kB / 1.04 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03589/3.107, allocations: 19.24 MB / 1.058 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.074e-06/3.107, allocations: 2.062 kB / 1.058 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04963/3.156, allocations: 21.52 MB / 1.079 GB, free: 79.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006639/3.163, allocations: 1.816 MB / 1.081 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003713/3.167, allocations: 9.016 kB / 1.081 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008203/3.175, allocations: 271.6 kB / 1.081 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001941/3.177, allocations: 274.8 kB / 1.082 GB, free: 77.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001555/3.179, allocations: 149.7 kB / 1.082 GB, free: 77.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01232/3.191, allocations: 4.878 MB / 1.087 GB, free: 73.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01884/3.21, allocations: 2.495 MB / 1.089 GB, free: 70.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (522): * Single equations (assignments): 515 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/3.212, allocations: 179.9 kB / 1.089 GB, free: 70.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03193/3.244, allocations: 15.84 MB / 1.105 GB, free: 56.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.67e-06/3.244, allocations: 2.312 kB / 1.105 GB, free: 56.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01517/3.259, allocations: 6.667 MB / 1.111 GB, free: 50.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007225/3.266, allocations: 0.8371 MB / 1.112 GB, free: 49.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2331/3.499, allocations: 23.7 MB / 1.135 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02603/3.525, allocations: 8.957 MB / 1.144 GB, free: 105.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.792e-06/3.526, allocations: 0 / 1.144 GB, free: 105.5 MB / 474.7 MB Notification: Performance of Templates: time 0.3098/3.835, allocations: 115.2 MB / 1.256 GB, free: 60.92 MB / 474.7 MB