Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.3_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.017e-05, allocations: 0 / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.489, allocations: 108.7 MB / 490.9 MB, free: 15.81 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4893, allocations: 75.95 kB / 491 MB, free: 15.73 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8033/1.293, allocations: 152.7 MB / 0.6286 GB, free: 45.77 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.663e-06/1.293, allocations: 0 / 0.6286 GB, free: 45.77 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004275/1.293, allocations: 156 kB / 0.6287 GB, free: 45.62 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02282/1.316, allocations: 7.39 MB / 0.636 GB, free: 38.15 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.316, allocations: 12.03 kB / 0.636 GB, free: 38.14 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04845/1.365, allocations: 9.627 MB / 0.6454 GB, free: 28.49 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.389, allocations: 9.137 MB / 0.6543 GB, free: 19.27 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006994/1.39, allocations: 0.5776 MB / 0.6549 GB, free: 18.69 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/1.393, allocations: 0.7653 MB / 0.6556 GB, free: 17.93 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04321/1.436, allocations: 17.95 MB / 0.6731 GB, free: 14.32 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005461/1.437, allocations: 111 kB / 0.6732 GB, free: 14.21 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003265/1.44, allocations: 371.8 kB / 0.6736 GB, free: 13.85 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/1.444, allocations: 1.699 MB / 0.6753 GB, free: 12.15 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03887/1.483, allocations: 14.1 MB / 0.689 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4616/1.944, allocations: 80.89 MB / 0.768 GB, free: 45.47 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/1.967, allocations: 7.109 MB / 0.775 GB, free: 44.74 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006665/1.974, allocations: 4.07 MB / 0.7789 GB, free: 44.68 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/1.974, allocations: 63.59 kB / 0.779 GB, free: 44.68 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.974, allocations: 66.91 kB / 0.7791 GB, free: 44.64 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 8.615e-06/1.975, allocations: 0 / 0.7791 GB, free: 44.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340): time 0.08981/2.064, allocations: 27.39 MB / 0.8058 GB, free: 37.59 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/2.064, allocations: 295.5 kB / 0.8061 GB, free: 37.28 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/2.078, allocations: 6.541 MB / 0.8125 GB, free: 36.74 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006693/2.079, allocations: 72.89 kB / 0.8125 GB, free: 36.71 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00428/2.083, allocations: 5.377 MB / 0.8178 GB, free: 33.79 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/2.085, allocations: 1.282 MB / 0.8191 GB, free: 32.85 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/2.086, allocations: 192.2 kB / 0.8192 GB, free: 32.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005983/2.087, allocations: 0.7161 MB / 0.8199 GB, free: 32.22 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007686/2.094, allocations: 3.613 MB / 0.8235 GB, free: 30.98 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/2.105, allocations: 9.151 MB / 0.8324 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/2.116, allocations: 5.701 MB / 0.838 GB, free: 20.59 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/2.116, allocations: 59.84 kB / 0.838 GB, free: 20.59 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03142/2.147, allocations: 13.22 MB / 0.8509 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/2.148, allocations: 94.62 kB / 0.851 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/2.148, allocations: 196 kB / 0.8512 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/2.152, allocations: 1.371 MB / 0.8525 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009995/2.162, allocations: 2.243 MB / 0.8547 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/2.177, allocations: 11.24 MB / 0.8657 GB, free: 2.031 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/2.188, allocations: 0.54 MB / 0.8662 GB, free: 1.559 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/2.19, allocations: 0.5643 MB / 0.8668 GB, free: 1.012 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1175): * Single equations (assignments): 1169 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002818/2.193, allocations: 0.8497 MB / 0.8676 GB, free: 168 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/2.194, allocations: 0.6404 MB / 0.8683 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/2.211, allocations: 6.594 MB / 0.8747 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-05/2.212, allocations: 36 kB / 0.8747 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.608e-05/2.212, allocations: 15.95 kB / 0.8747 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.888e-05/2.212, allocations: 16.55 kB / 0.8748 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04539/2.257, allocations: 15.72 MB / 0.8901 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/2.257, allocations: 0 / 0.8901 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004241/2.261, allocations: 0.5878 MB / 0.8907 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004002/2.266, allocations: 1.048 MB / 0.8917 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007743/2.266, allocations: 63.94 kB / 0.8918 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/2.285, allocations: 10.24 MB / 0.9018 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/2.285, allocations: 4 kB / 0.9018 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0245/2.309, allocations: 11.12 MB / 0.9126 GB, free: 9.699 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004504/2.314, allocations: 1.216 MB / 0.9138 GB, free: 8.566 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/2.316, allocations: 59.8 kB / 0.9139 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004897/2.321, allocations: 199.2 kB / 0.9141 GB, free: 8.383 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.322, allocations: 194.1 kB / 0.9143 GB, free: 8.266 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005784/2.322, allocations: 89.5 kB / 0.9143 GB, free: 8.188 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01315/2.336, allocations: 4.64 MB / 0.9189 GB, free: 4.117 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.599e-06/2.336, allocations: 0 / 0.9189 GB, free: 4.117 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01271/2.348, allocations: 1.806 MB / 0.9206 GB, free: 2.32 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/2.35, allocations: 205.4 kB / 0.9208 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.3297/2.679, allocations: 8.84 MB / 0.9295 GB, free: 143.7 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.431e-06/2.679, allocations: 0 / 0.9295 GB, free: 143.7 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007003/2.686, allocations: 3.435 MB / 0.9328 GB, free: 143.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005547/2.692, allocations: 0.815 MB / 0.9336 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/2.724, allocations: 14.33 MB / 0.9476 GB, free: 140.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.736, allocations: 5.618 MB / 0.9531 GB, free: 139.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01116/2.747, allocations: 3.178 MB / 0.9562 GB, free: 139.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/2.749, allocations: 446.9 kB / 0.9566 GB, free: 139.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.107e-06/2.749, allocations: 0 / 0.9566 GB, free: 139.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.1745/2.924, allocations: 65.44 MB / 1.021 GB, free: 110.9 MB / 0.5418 GB