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.2_cpp_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.714e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 54.85 MB / 359.8 MB, free: 2.637 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4719, allocations: 99.67 MB / 459.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4722, allocations: 76.55 kB / 459.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7813/1.254, allocations: 142.9 MB / 0.5883 GB, free: 94.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.006e-06/1.254, allocations: 0 / 0.5883 GB, free: 94.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004037/1.254, allocations: 139.3 kB / 0.5884 GB, free: 94.82 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: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02075/1.275, allocations: 6.834 MB / 0.5951 GB, free: 90.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.275, allocations: 10.75 kB / 0.5951 GB, free: 90.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04759/1.322, allocations: 9.534 MB / 0.6044 GB, free: 84.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02322/1.346, allocations: 8.842 MB / 0.613 GB, free: 75.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005398/1.346, allocations: 0.5247 MB / 0.6135 GB, free: 74.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/1.349, allocations: 0.7143 MB / 0.6142 GB, free: 74.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/1.387, allocations: 16.44 MB / 0.6303 GB, free: 56.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003705/1.387, allocations: 99.11 kB / 0.6304 GB, free: 56.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/1.389, allocations: 343.8 kB / 0.6307 GB, free: 55.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/1.392, allocations: 1.523 MB / 0.6322 GB, free: 54.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02993/1.422, allocations: 12.83 MB / 0.6447 GB, free: 41.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4062/1.828, allocations: 72.57 MB / 0.7156 GB, free: 52.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.847, allocations: 5.839 MB / 0.7213 GB, free: 52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/1.853, allocations: 3.064 MB / 0.7243 GB, free: 51.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/1.853, allocations: 49.38 kB / 0.7243 GB, free: 51.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.853, allocations: 67.92 kB / 0.7244 GB, free: 51.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 1.026e-05/1.853, allocations: 3.844 kB / 0.7244 GB, free: 51.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.06556/1.919, allocations: 19.48 MB / 0.7434 GB, free: 46.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.919, allocations: 262.3 kB / 0.7437 GB, free: 46.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/1.932, allocations: 6.129 MB / 0.7497 GB, free: 45.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005224/1.933, allocations: 65.08 kB / 0.7497 GB, free: 45.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003611/1.936, allocations: 4.792 MB / 0.7544 GB, free: 43.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.938, allocations: 1.032 MB / 0.7554 GB, free: 42.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/1.939, allocations: 173.7 kB / 0.7556 GB, free: 42.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004945/1.939, allocations: 0.6772 MB / 0.7562 GB, free: 42.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/1.945, allocations: 2.878 MB / 0.759 GB, free: 42.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00889/1.954, allocations: 8.076 MB / 0.7669 GB, free: 34.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009222/1.963, allocations: 4.802 MB / 0.7716 GB, free: 32.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.963, allocations: 51.72 kB / 0.7717 GB, free: 32.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02519/1.989, allocations: 10.6 MB / 0.782 GB, free: 30.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.989, allocations: 90.45 kB / 0.7821 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/1.989, allocations: 186.4 kB / 0.7823 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/1.992, allocations: 0.8412 MB / 0.7831 GB, free: 29.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008963/2.001, allocations: 1.986 MB / 0.785 GB, free: 29.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/2.012, allocations: 8.481 MB / 0.7933 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009087/2.021, allocations: 472.2 kB / 0.7938 GB, free: 23.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/2.023, allocations: 0.519 MB / 0.7943 GB, free: 23.52 MB / 474.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.001708/2.025, allocations: 0.774 MB / 0.795 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.026, allocations: 0.5921 MB / 0.7956 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/2.036, allocations: 4.457 MB / 0.8 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/2.036, allocations: 28 kB / 0.8 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/2.036, allocations: 8 kB / 0.8 GB, free: 20.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-05/2.036, allocations: 13.88 kB / 0.8 GB, free: 20.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/2.065, allocations: 11.6 MB / 0.8113 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/2.065, allocations: 1.312 kB / 0.8113 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/2.068, allocations: 437.7 kB / 0.8118 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/2.07, allocations: 0.5214 MB / 0.8123 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005472/2.07, allocations: 50.66 kB / 0.8123 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00952/2.08, allocations: 7.571 MB / 0.8197 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.494e-06/2.08, allocations: 0 / 0.8197 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/2.096, allocations: 7.878 MB / 0.8274 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003763/2.1, allocations: 1.004 MB / 0.8284 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/2.102, allocations: 40 kB / 0.8284 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/2.106, allocations: 158 kB / 0.8286 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008152/2.107, allocations: 157.6 kB / 0.8287 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/2.107, allocations: 67.97 kB / 0.8288 GB, free: 10.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01128/2.118, allocations: 4.357 MB / 0.833 GB, free: 6.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.979e-06/2.118, allocations: 112 / 0.833 GB, free: 6.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01078/2.129, allocations: 1.569 MB / 0.8346 GB, free: 5.008 MB / 490.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.0008506/2.13, allocations: 193.9 kB / 0.8348 GB, free: 4.824 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01581/2.146, allocations: 7.054 MB / 0.8417 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.146, allocations: 0 / 0.8417 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005097/2.151, allocations: 2.45 MB / 0.844 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/2.156, allocations: 0.7614 MB / 0.8448 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/2.192, allocations: 13.22 MB / 0.8577 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/2.204, allocations: 5.204 MB / 0.8628 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.207, allocations: 459.4 kB / 0.8632 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.733e-06/2.207, allocations: 0 / 0.8632 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.5592/2.766, allocations: 175.8 MB / 1.035 GB, free: 81.48 MB / 0.5417 GB