Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 1.805/1.805, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.283e-05, allocations: 0 / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08848, allocations: 48.69 MB / 321.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4513, allocations: 92.68 MB / 414.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.4515, allocations: 78.22 kB / 414.5 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7903/1.242, allocations: 136.9 MB / 0.5385 GB, free: 70.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.283e-06/1.242, allocations: 0 / 0.5385 GB, free: 70.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004516/1.242, allocations: 138.5 kB / 0.5386 GB, free: 70.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02255/1.265, allocations: 6.63 MB / 0.5451 GB, free: 67.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.265, allocations: 9.781 kB / 0.5451 GB, free: 67.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04756/1.313, allocations: 9.496 MB / 0.5544 GB, free: 67.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02443/1.337, allocations: 8.724 MB / 0.5629 GB, free: 66.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006276/1.338, allocations: 0.5058 MB / 0.5634 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/1.341, allocations: 0.6768 MB / 0.5641 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0386/1.379, allocations: 15.88 MB / 0.5796 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004835/1.38, allocations: 100.4 kB / 0.5797 GB, free: 62.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002844/1.383, allocations: 328.1 kB / 0.58 GB, free: 62.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/1.385, allocations: 1.458 MB / 0.5814 GB, free: 62.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/1.416, allocations: 12.38 MB / 0.5935 GB, free: 61.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08359/1.499, allocations: 70.67 MB / 0.6625 GB, free: 19.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/1.518, allocations: 5.812 MB / 0.6682 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005869/1.524, allocations: 3.036 MB / 0.6711 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/1.524, allocations: 44.34 kB / 0.6712 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/1.524, allocations: 68.2 kB / 0.6713 GB, free: 11.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 7.805e-06/1.524, allocations: 0 / 0.6713 GB, free: 11.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.3319/1.856, allocations: 18.96 MB / 0.6898 GB, free: 78.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/1.856, allocations: 260.3 kB / 0.69 GB, free: 78.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01483/1.871, allocations: 6.084 MB / 0.696 GB, free: 77.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005076/1.872, allocations: 65.39 kB / 0.696 GB, free: 77.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00416/1.876, allocations: 4.607 MB / 0.7005 GB, free: 75.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.877, allocations: 1.001 MB / 0.7015 GB, free: 75.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009096/1.878, allocations: 169.7 kB / 0.7017 GB, free: 75.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007256/1.879, allocations: 0.6685 MB / 0.7023 GB, free: 74.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006753/1.886, allocations: 2.789 MB / 0.705 GB, free: 74.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008664/1.895, allocations: 7.859 MB / 0.7127 GB, free: 68.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008465/1.903, allocations: 4.662 MB / 0.7173 GB, free: 68.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.903, allocations: 53.22 kB / 0.7173 GB, free: 68.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.02383/1.927, allocations: 10.28 MB / 0.7274 GB, free: 67.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/1.927, allocations: 80.59 kB / 0.7274 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/1.928, allocations: 180.4 kB / 0.7276 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/1.93, allocations: 0.8047 MB / 0.7284 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008052/1.938, allocations: 1.924 MB / 0.7303 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.949, allocations: 8.308 MB / 0.7384 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009224/1.958, allocations: 460.7 kB / 0.7388 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.96, allocations: 0.5034 MB / 0.7393 GB, free: 63.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1033): * Single equations (assignments): 1027 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002377/1.963, allocations: 0.7541 MB / 0.74 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/1.964, allocations: 0.5824 MB / 0.7406 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/1.974, allocations: 4.275 MB / 0.7448 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/1.974, allocations: 29.55 kB / 0.7448 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/1.974, allocations: 7 kB / 0.7448 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.842e-05/1.974, allocations: 17.61 kB / 0.7448 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/2.002, allocations: 11.16 MB / 0.7557 GB, free: 57.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/2.002, allocations: 0 / 0.7557 GB, free: 57.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/2.005, allocations: 411.2 kB / 0.7561 GB, free: 57.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/2.007, allocations: 0.5005 MB / 0.7566 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004623/2.007, allocations: 45.52 kB / 0.7567 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/2.016, allocations: 7.381 MB / 0.7639 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-06/2.016, allocations: 3.656 kB / 0.7639 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/2.03, allocations: 7.62 MB / 0.7713 GB, free: 48.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003489/2.034, allocations: 0.9996 MB / 0.7723 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/2.036, allocations: 43.09 kB / 0.7723 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/2.04, allocations: 143.4 kB / 0.7725 GB, free: 47.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007361/2.041, allocations: 146.1 kB / 0.7726 GB, free: 47.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003167/2.041, allocations: 70.92 kB / 0.7727 GB, free: 47.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01071/2.052, allocations: 4.333 MB / 0.7769 GB, free: 46.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.401e-06/2.052, allocations: 3.938 kB / 0.7769 GB, free: 46.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01058/2.062, allocations: 1.51 MB / 0.7784 GB, free: 46.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008168/2.063, allocations: 189.5 kB / 0.7786 GB, free: 46.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01333/2.077, allocations: 6.843 MB / 0.7853 GB, free: 43.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.675e-06/2.077, allocations: 0 / 0.7853 GB, free: 43.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004139/2.081, allocations: 2.362 MB / 0.7876 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005366/2.086, allocations: 0.7569 MB / 0.7883 GB, free: 40.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03056/2.117, allocations: 12.77 MB / 0.8008 GB, free: 29.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/2.128, allocations: 5.033 MB / 0.8057 GB, free: 25.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/2.13, allocations: 452.1 kB / 0.8061 GB, free: 25.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.939e-06/2.13, allocations: 0 / 0.8061 GB, free: 25.21 MB / 442.7 MB Notification: Performance of Templates: time 0.5181/2.648, allocations: 169.7 MB / 0.9718 GB, free: 13.71 MB / 458.7 MB