Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,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.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 1.815/1.815, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.443e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08628, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4509, allocations: 92.87 MB / 414.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4511, allocations: 69.41 kB / 414.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8314/1.283, allocations: 142.8 MB / 0.5444 GB, free: 70.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.283, allocations: 0.9688 kB / 0.5444 GB, free: 70.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004607/1.283, allocations: 142.6 kB / 0.5445 GB, free: 70.66 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02128/1.304, allocations: 6.842 MB / 0.5512 GB, free: 67.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.304, allocations: 15.11 kB / 0.5512 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05089/1.355, allocations: 9.53 MB / 0.5605 GB, free: 67.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/1.38, allocations: 8.842 MB / 0.5692 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/1.381, allocations: 0.5251 MB / 0.5697 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/1.383, allocations: 0.7009 MB / 0.5704 GB, free: 66.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/1.422, allocations: 16.43 MB / 0.5864 GB, free: 62.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003466/1.423, allocations: 97.89 kB / 0.5865 GB, free: 62.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/1.425, allocations: 342.6 kB / 0.5868 GB, free: 62.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/1.427, allocations: 1.527 MB / 0.5883 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/1.46, allocations: 12.83 MB / 0.6008 GB, free: 59.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0898/1.55, allocations: 72.55 MB / 0.6717 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/1.569, allocations: 5.832 MB / 0.6774 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00596/1.575, allocations: 3.069 MB / 0.6804 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.575, allocations: 56.95 kB / 0.6804 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/1.575, allocations: 64.08 kB / 0.6805 GB, free: 5.355 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 1.006e-05/1.575, allocations: 0 / 0.6805 GB, free: 5.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=267): time 0.325/1.9, allocations: 19.49 MB / 0.6995 GB, free: 75.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/1.9, allocations: 267.9 kB / 0.6998 GB, free: 75.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0156/1.916, allocations: 6.14 MB / 0.7058 GB, free: 75.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/1.917, allocations: 68.27 kB / 0.7059 GB, free: 75.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003955/1.921, allocations: 4.785 MB / 0.7105 GB, free: 72.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.922, allocations: 1.035 MB / 0.7115 GB, free: 72.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008926/1.923, allocations: 170.9 kB / 0.7117 GB, free: 72.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005805/1.923, allocations: 0.6741 MB / 0.7124 GB, free: 71.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006295/1.93, allocations: 2.876 MB / 0.7152 GB, free: 71.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009144/1.939, allocations: 8.079 MB / 0.7231 GB, free: 65.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009198/1.948, allocations: 4.79 MB / 0.7277 GB, free: 65.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/1.948, allocations: 54.09 kB / 0.7278 GB, free: 65.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02568/1.974, allocations: 10.6 MB / 0.7381 GB, free: 64.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.974, allocations: 84.22 kB / 0.7382 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/1.974, allocations: 188.9 kB / 0.7384 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/1.977, allocations: 0.8408 MB / 0.7392 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008727/1.986, allocations: 1.986 MB / 0.7412 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.998, allocations: 8.487 MB / 0.7494 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009158/2.007, allocations: 480.7 kB / 0.7499 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/2.009, allocations: 0.519 MB / 0.7504 GB, free: 59.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1056): * Single equations (assignments): 1050 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001932/2.011, allocations: 0.775 MB / 0.7512 GB, free: 58.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/2.012, allocations: 0.5871 MB / 0.7517 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/2.022, allocations: 4.457 MB / 0.7561 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/2.023, allocations: 30.47 kB / 0.7561 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/2.023, allocations: 6.406 kB / 0.7561 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/2.023, allocations: 12.59 kB / 0.7561 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/2.052, allocations: 11.6 MB / 0.7675 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/2.052, allocations: 0 / 0.7675 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003348/2.056, allocations: 443.8 kB / 0.7679 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/2.058, allocations: 0.5183 MB / 0.7684 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/2.059, allocations: 45.56 kB / 0.7684 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009595/2.068, allocations: 7.574 MB / 0.7758 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/2.068, allocations: 2.531 kB / 0.7758 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/2.083, allocations: 7.876 MB / 0.7835 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/2.087, allocations: 1.015 MB / 0.7845 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.089, allocations: 47.77 kB / 0.7846 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004354/2.093, allocations: 149.4 kB / 0.7847 GB, free: 42.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007472/2.094, allocations: 157.8 kB / 0.7849 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/2.094, allocations: 69.5 kB / 0.7849 GB, free: 42.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01035/2.104, allocations: 4.369 MB / 0.7892 GB, free: 41.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.533e-06/2.104, allocations: 0 / 0.7892 GB, free: 41.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01034/2.115, allocations: 1.562 MB / 0.7907 GB, free: 40.99 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,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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007765/2.116, allocations: 185.6 kB / 0.7909 GB, free: 40.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/2.129, allocations: 7.055 MB / 0.7978 GB, free: 34.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.949e-06/2.129, allocations: 4 kB / 0.7978 GB, free: 34.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004069/2.133, allocations: 2.454 MB / 0.8002 GB, free: 32.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/2.138, allocations: 0.7605 MB / 0.8009 GB, free: 31.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/2.168, allocations: 13.17 MB / 0.8138 GB, free: 19.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.178, allocations: 5.207 MB / 0.8189 GB, free: 16.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002218/2.181, allocations: 460.2 kB / 0.8193 GB, free: 15.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.99e-06/2.181, allocations: 0 / 0.8193 GB, free: 15.71 MB / 442.7 MB Notification: Performance of Templates: time 0.5905/2.771, allocations: 175.7 MB / 0.9909 GB, free: 2.348 MB / 458.7 MB