Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [: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.81/1.81, allocations: 209.3 MB / 216.3 MB, free: 6.75 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 7.778e-06/7.838e-06, allocations: 0 / 267.3 MB, free: 5.262 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 48.7 MB / 316 MB, free: 4.469 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4773, allocations: 93.97 MB / 409.9 MB, free: 14.74 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4777, allocations: 80.77 kB / 410 MB, free: 14.7 MB / 346.8 MB Notification: Performance of FrontEnd: time 0.6297/1.107, allocations: 128.4 MB / 0.5258 GB, free: 82.59 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003532/1.108, allocations: 130 kB / 0.5259 GB, free: 82.58 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02112/1.129, allocations: 6.384 MB / 0.5322 GB, free: 79.74 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.129, allocations: 13.78 kB / 0.5322 GB, free: 79.73 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03856/1.168, allocations: 6.753 MB / 0.5388 GB, free: 78.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0241/1.192, allocations: 7.303 MB / 0.5459 GB, free: 75.92 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/1.192, allocations: 217.8 kB / 0.5461 GB, free: 75.92 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.195, allocations: 396.7 kB / 0.5465 GB, free: 75.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02358/1.219, allocations: 9.798 MB / 0.5561 GB, free: 72.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/1.251, allocations: 14.67 MB / 0.5704 GB, free: 56.84 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003436/1.251, allocations: 87.27 kB / 0.5705 GB, free: 56.76 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.253, allocations: 40 kB / 0.5705 GB, free: 56.72 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/1.256, allocations: 1.669 MB / 0.5721 GB, free: 55.05 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09212/1.348, allocations: 68.37 MB / 0.6389 GB, free: 1.363 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1496/1.498, allocations: 5.919 MB / 0.6447 GB, free: 134.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006676/1.504, allocations: 4.114 MB / 0.6487 GB, free: 134.4 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/1.53, allocations: 11.26 MB / 0.6597 GB, free: 132.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/1.53, allocations: 70.25 kB / 0.6598 GB, free: 132.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=272): time 7.542e-06/1.531, allocations: 7.734 kB / 0.6598 GB, free: 132.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=314): time 0.08049/1.611, allocations: 26.28 MB / 0.6854 GB, free: 125 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/1.611, allocations: 215.8 kB / 0.6856 GB, free: 124.7 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009132/1.62, allocations: 4.386 MB / 0.6899 GB, free: 123.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007325/1.621, allocations: 28.23 kB / 0.69 GB, free: 123.1 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002972/1.624, allocations: 4.363 MB / 0.6942 GB, free: 119.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.626, allocations: 1.144 MB / 0.6953 GB, free: 118.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008817/1.627, allocations: 0 / 0.6953 GB, free: 118.9 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006086/1.627, allocations: 0.682 MB / 0.696 GB, free: 118.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007813/1.635, allocations: 3.698 MB / 0.6996 GB, free: 117.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/1.646, allocations: 8.7 MB / 0.7081 GB, free: 109.1 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.657, allocations: 5.634 MB / 0.7136 GB, free: 107.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002375/1.658, allocations: 51.5 kB / 0.7137 GB, free: 107.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.03111/1.689, allocations: 12.66 MB / 0.726 GB, free: 97.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.689, allocations: 8 kB / 0.726 GB, free: 97.89 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002654/1.689, allocations: 176 kB / 0.7262 GB, free: 97.72 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/1.695, allocations: 1.612 MB / 0.7278 GB, free: 96.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/1.705, allocations: 2.109 MB / 0.7298 GB, free: 94.65 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.723, allocations: 10.42 MB / 0.74 GB, free: 85.26 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01943/1.742, allocations: 308.8 kB / 0.7403 GB, free: 85.01 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003848/1.746, allocations: 0.5179 MB / 0.7408 GB, free: 84.51 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1083): * Single equations (assignments): 1078 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005548/1.752, allocations: 0.5481 MB / 0.7413 GB, free: 83.96 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/1.755, allocations: 488.8 kB / 0.7418 GB, free: 83.48 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03793/1.793, allocations: 7.033 MB / 0.7487 GB, free: 77.69 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001706/1.793, allocations: 28 kB / 0.7487 GB, free: 77.66 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/1.793, allocations: 8 kB / 0.7487 GB, free: 77.66 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/1.793, allocations: 15.53 kB / 0.7487 GB, free: 77.65 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04782/1.841, allocations: 14.29 MB / 0.7627 GB, free: 65.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/1.841, allocations: 4 kB / 0.7627 GB, free: 65.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004673/1.846, allocations: 0.5551 MB / 0.7632 GB, free: 65.54 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004889/1.851, allocations: 1.314 MB / 0.7645 GB, free: 64.57 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000798/1.851, allocations: 8 kB / 0.7645 GB, free: 64.57 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.868, allocations: 9.658 MB / 0.7739 GB, free: 55.85 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.135e-06/1.868, allocations: 4 kB / 0.774 GB, free: 55.84 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02321/1.892, allocations: 11.75 MB / 0.7854 GB, free: 45.04 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/1.895, allocations: 1.065 MB / 0.7865 GB, free: 43.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/1.897, allocations: 3.906 kB / 0.7865 GB, free: 43.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004288/1.901, allocations: 147.8 kB / 0.7866 GB, free: 43.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009625/1.902, allocations: 145.2 kB / 0.7868 GB, free: 43.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004417/1.903, allocations: 82.58 kB / 0.7868 GB, free: 43.59 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.006461/1.909, allocations: 2.952 MB / 0.7897 GB, free: 40.65 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01064/1.92, allocations: 1.424 MB / 0.7911 GB, free: 39.23 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 253 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001002/1.921, allocations: 163.2 kB / 0.7913 GB, free: 39.07 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01756/1.938, allocations: 9.057 MB / 0.8001 GB, free: 30.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.938, allocations: 0 / 0.8001 GB, free: 30.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007426/1.946, allocations: 3.564 MB / 0.8036 GB, free: 26.44 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.95, allocations: 482.8 kB / 0.804 GB, free: 25.98 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1711/2.121, allocations: 13.17 MB / 0.8169 GB, free: 125 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01415/2.135, allocations: 5.367 MB / 0.8222 GB, free: 124.2 MB / 426.8 MB Notification: Performance of SimCode: time 2.166e-06/2.135, allocations: 3.656 kB / 0.8222 GB, free: 124.2 MB / 426.8 MB Notification: Performance of Templates: time 0.1773/2.312, allocations: 64.8 MB / 0.8854 GB, free: 100.8 MB / 426.8 MB