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.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.008e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 54.85 MB / 359.8 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5644, allocations: 102.5 MB / 462.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5647, allocations: 79.95 kB / 462.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7956/1.36, allocations: 151.9 MB / 0.5999 GB, free: 88.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.409e-06/1.36, allocations: 0 / 0.5999 GB, free: 88.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000433/1.361, allocations: 155.5 kB / 0.6001 GB, free: 88.53 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02369/1.385, allocations: 7.364 MB / 0.6073 GB, free: 81.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.385, allocations: 12.03 kB / 0.6073 GB, free: 81.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04785/1.432, allocations: 9.632 MB / 0.6167 GB, free: 71.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03595/1.468, allocations: 9.121 MB / 0.6256 GB, free: 62.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/1.47, allocations: 0.5852 MB / 0.6262 GB, free: 62.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004892/1.474, allocations: 0.7653 MB / 0.6269 GB, free: 61.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06365/1.538, allocations: 17.93 MB / 0.6444 GB, free: 41.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004186/1.539, allocations: 103 kB / 0.6445 GB, free: 41.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002482/1.541, allocations: 367.8 kB / 0.6449 GB, free: 41.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/1.544, allocations: 1.703 MB / 0.6465 GB, free: 39.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03413/1.578, allocations: 14.1 MB / 0.6603 GB, free: 25.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4555/2.034, allocations: 80.8 MB / 0.7392 GB, free: 40.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02306/2.057, allocations: 7.107 MB / 0.7462 GB, free: 39.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006485/2.063, allocations: 4.065 MB / 0.7501 GB, free: 39.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/2.064, allocations: 61.38 kB / 0.7502 GB, free: 39.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/2.064, allocations: 70.78 kB / 0.7503 GB, free: 39.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 8.116e-06/2.064, allocations: 0 / 0.7503 GB, free: 39.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.08584/2.15, allocations: 27.35 MB / 0.777 GB, free: 32.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/2.15, allocations: 296.6 kB / 0.7772 GB, free: 32.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/2.164, allocations: 6.513 MB / 0.7836 GB, free: 31.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006985/2.165, allocations: 78.31 kB / 0.7837 GB, free: 31.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004183/2.169, allocations: 5.362 MB / 0.7889 GB, free: 27.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/2.171, allocations: 1.276 MB / 0.7902 GB, free: 26.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009561/2.172, allocations: 193.2 kB / 0.7904 GB, free: 26.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005924/2.172, allocations: 0.7137 MB / 0.791 GB, free: 26.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00723/2.18, allocations: 3.601 MB / 0.7946 GB, free: 24.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/2.19, allocations: 9.142 MB / 0.8035 GB, free: 16.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.2, allocations: 5.694 MB / 0.8091 GB, free: 14.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/2.201, allocations: 58.52 kB / 0.8091 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.0541/2.255, allocations: 13.19 MB / 0.822 GB, free: 9.164 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/2.255, allocations: 90.5 kB / 0.8221 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004298/2.255, allocations: 196 kB / 0.8223 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008336/2.264, allocations: 1.38 MB / 0.8236 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01961/2.284, allocations: 2.239 MB / 0.8258 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/2.302, allocations: 11.28 MB / 0.8368 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/2.313, allocations: 0.5388 MB / 0.8373 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/2.315, allocations: 0.5617 MB / 0.8379 GB, free: 10.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1172): * Single equations (assignments): 1166 * 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.002974/2.318, allocations: 0.8421 MB / 0.8387 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001856/2.32, allocations: 0.6441 MB / 0.8393 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/2.337, allocations: 6.585 MB / 0.8458 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.999e-05/2.337, allocations: 36 kB / 0.8458 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-05/2.337, allocations: 18.19 kB / 0.8458 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.388e-05/2.337, allocations: 18.56 kB / 0.8458 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.383, allocations: 15.62 MB / 0.8611 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/2.384, allocations: 4 kB / 0.8611 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004251/2.388, allocations: 0.5849 MB / 0.8617 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004048/2.392, allocations: 1.048 MB / 0.8627 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007963/2.393, allocations: 66.38 kB / 0.8628 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/2.412, allocations: 10.32 MB / 0.8728 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.182e-06/2.413, allocations: 0 / 0.8728 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02511/2.438, allocations: 11.13 MB / 0.8837 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0045/2.442, allocations: 1.207 MB / 0.8849 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/2.444, allocations: 52 kB / 0.8849 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/2.449, allocations: 210.8 kB / 0.8851 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/2.451, allocations: 190.6 kB / 0.8853 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/2.451, allocations: 95.94 kB / 0.8854 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0127/2.464, allocations: 4.62 MB / 0.8899 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/2.464, allocations: 0 / 0.8899 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01226/2.476, allocations: 1.8 MB / 0.8917 GB, free: 10.14 MB / 0.5261 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.001024/2.477, allocations: 204.6 kB / 0.8919 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02026/2.498, allocations: 8.814 MB / 0.9005 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.017e-06/2.498, allocations: 3.938 kB / 0.9005 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2974/2.795, allocations: 3.431 MB / 0.9038 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005697/2.801, allocations: 0.8081 MB / 0.9046 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/2.838, allocations: 14.31 MB / 0.9186 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/2.851, allocations: 5.611 MB / 0.9241 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01207/2.863, allocations: 3.169 MB / 0.9272 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/2.866, allocations: 444.4 kB / 0.9276 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.768e-06/2.866, allocations: 2.906 kB / 0.9276 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1721/3.038, allocations: 65.3 MB / 0.9914 GB, free: 121.6 MB / 0.5261 GB