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_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.634e-05, allocations: 8.922 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3336, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.4864, allocations: 99.67 MB / 459.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4866, allocations: 76.7 kB / 459.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.313, allocations: 142.9 MB / 0.5883 GB, free: 95.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.646e-06/1.313, allocations: 0 / 0.5883 GB, free: 95.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004355/1.313, allocations: 142.3 kB / 0.5884 GB, free: 95.07 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.02105/1.334, allocations: 6.836 MB / 0.5951 GB, free: 90.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.334, allocations: 6.75 kB / 0.5951 GB, free: 90.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05025/1.385, allocations: 9.534 MB / 0.6044 GB, free: 84.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0235/1.408, allocations: 8.841 MB / 0.613 GB, free: 75.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/1.409, allocations: 0.5328 MB / 0.6136 GB, free: 74.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/1.412, allocations: 0.709 MB / 0.6143 GB, free: 74.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03801/1.45, allocations: 16.45 MB / 0.6303 GB, free: 56.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003896/1.45, allocations: 95.12 kB / 0.6304 GB, free: 56.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/1.452, allocations: 331.8 kB / 0.6307 GB, free: 55.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/1.455, allocations: 1.534 MB / 0.6322 GB, free: 54.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03074/1.486, allocations: 12.83 MB / 0.6447 GB, free: 41.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.41/1.896, allocations: 72.57 MB / 0.7156 GB, free: 52.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.916, allocations: 5.836 MB / 0.7213 GB, free: 52.28 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005552/1.921, allocations: 3.067 MB / 0.7243 GB, free: 52.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/1.922, allocations: 50.98 kB / 0.7244 GB, free: 52.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/1.922, allocations: 65 kB / 0.7244 GB, free: 52.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 8.632e-06/1.922, allocations: 0 / 0.7244 GB, free: 52.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.06542/1.987, allocations: 19.49 MB / 0.7435 GB, free: 46.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/1.987, allocations: 263.4 kB / 0.7437 GB, free: 46.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/2, allocations: 6.134 MB / 0.7497 GB, free: 46.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005111/2.001, allocations: 63.27 kB / 0.7498 GB, free: 46.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003991/2.005, allocations: 5.052 MB / 0.7547 GB, free: 43.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/2.006, allocations: 1.032 MB / 0.7557 GB, free: 42.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000818/2.007, allocations: 172.7 kB / 0.7559 GB, free: 42.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005356/2.008, allocations: 0.6656 MB / 0.7565 GB, free: 42.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006121/2.014, allocations: 2.876 MB / 0.7593 GB, free: 42.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009/2.023, allocations: 8.077 MB / 0.7672 GB, free: 34.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009013/2.032, allocations: 4.801 MB / 0.7719 GB, free: 33.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/2.032, allocations: 57.56 kB / 0.7719 GB, free: 33.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03629/2.068, allocations: 10.87 MB / 0.7826 GB, free: 30.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000252/2.069, allocations: 82.94 kB / 0.7826 GB, free: 30.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003798/2.069, allocations: 186.1 kB / 0.7828 GB, free: 30.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00456/2.074, allocations: 0.8379 MB / 0.7836 GB, free: 29.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/2.09, allocations: 1.987 MB / 0.7856 GB, free: 29.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/2.109, allocations: 8.485 MB / 0.7939 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/2.125, allocations: 475.3 kB / 0.7943 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002406/2.127, allocations: 0.5113 MB / 0.7948 GB, free: 23.61 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.002597/2.13, allocations: 0.7715 MB / 0.7956 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/2.132, allocations: 0.5987 MB / 0.7962 GB, free: 22.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/2.151, allocations: 4.447 MB / 0.8005 GB, free: 19.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.824e-05/2.151, allocations: 32.56 kB / 0.8005 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.575e-05/2.151, allocations: 8 kB / 0.8005 GB, free: 19.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/2.151, allocations: 13.31 kB / 0.8006 GB, free: 19.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/2.186, allocations: 11.6 MB / 0.8119 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/2.186, allocations: 0.6875 kB / 0.8119 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/2.189, allocations: 438.8 kB / 0.8123 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/2.191, allocations: 0.5262 MB / 0.8128 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004691/2.191, allocations: 47.33 kB / 0.8129 GB, free: 9.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009358/2.201, allocations: 7.575 MB / 0.8203 GB, free: 2.293 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.537e-06/2.201, allocations: 3.953 kB / 0.8203 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/2.217, allocations: 7.868 MB / 0.8279 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/2.22, allocations: 1.004 MB / 0.8289 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/2.222, allocations: 49.36 kB / 0.829 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/2.226, allocations: 150.3 kB / 0.8291 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00068/2.227, allocations: 160.8 kB / 0.8293 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/2.227, allocations: 73.16 kB / 0.8293 GB, free: 9.953 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01116/2.238, allocations: 4.361 MB / 0.8336 GB, free: 6.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.71e-07/2.238, allocations: 0 / 0.8336 GB, free: 6.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01097/2.249, allocations: 1.555 MB / 0.8351 GB, free: 4.57 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.0008085/2.25, allocations: 197.7 kB / 0.8353 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01773/2.268, allocations: 7.167 MB / 0.8423 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.158e-06/2.268, allocations: 0 / 0.8423 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005155/2.273, allocations: 2.458 MB / 0.8447 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/2.279, allocations: 0.7623 MB / 0.8454 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03914/2.318, allocations: 12.37 MB / 0.8575 GB, free: 340 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01536/2.333, allocations: 5.34 MB / 0.8627 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01138/2.345, allocations: 2.797 MB / 0.8655 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/2.347, allocations: 394.9 kB / 0.8658 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of SimCode: time 1.684e-06/2.347, allocations: 4 kB / 0.8659 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.5215/2.868, allocations: 54.77 MB / 0.9193 GB, free: 162.5 MB / 0.5417 GB