Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.776e-05, allocations: 11.94 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5911, allocations: 107 MB / 0.5051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5914, allocations: 71.97 kB / 0.5052 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8274/1.419, allocations: 132.8 MB / 0.6349 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.352e-06/1.419, allocations: 6.297 kB / 0.6349 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004539/1.419, allocations: 124.5 kB / 0.635 GB, free: 107.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02047/1.44, allocations: 6.373 MB / 0.6412 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.44, allocations: 9.656 kB / 0.6412 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04931/1.489, allocations: 9.424 MB / 0.6504 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/1.513, allocations: 8.111 MB / 0.6583 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/1.513, allocations: 492.4 kB / 0.6588 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/1.515, allocations: 0.645 MB / 0.6594 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04681/1.562, allocations: 15.06 MB / 0.6742 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000415/1.563, allocations: 106.2 kB / 0.6743 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002141/1.565, allocations: 315 kB / 0.6746 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/1.567, allocations: 1.338 MB / 0.6759 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/1.596, allocations: 11.6 MB / 0.6872 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07796/1.674, allocations: 67.65 MB / 0.7533 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/1.689, allocations: 5.167 MB / 0.7583 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003928/1.693, allocations: 2.567 MB / 0.7608 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/1.693, allocations: 35.86 kB / 0.7608 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.694, allocations: 59.28 kB / 0.7609 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 6.719e-06/1.694, allocations: 0 / 0.7609 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.06742/1.761, allocations: 16.81 MB / 0.7773 GB, free: 16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/1.761, allocations: 252.5 kB / 0.7776 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.773, allocations: 5.882 MB / 0.7833 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/1.773, allocations: 53.7 kB / 0.7833 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003441/1.776, allocations: 4.702 MB / 0.7879 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009945/1.777, allocations: 0.8179 MB / 0.7887 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006465/1.778, allocations: 159.4 kB / 0.7889 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00044/1.779, allocations: 0.6287 MB / 0.7895 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/1.783, allocations: 2.397 MB / 0.7918 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.793, allocations: 7.291 MB / 0.799 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008889/1.802, allocations: 4.167 MB / 0.803 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.802, allocations: 56 kB / 0.8031 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.368/2.17, allocations: 9.544 MB / 0.8124 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/2.171, allocations: 86.86 kB / 0.8125 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/2.171, allocations: 175.2 kB / 0.8127 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/2.174, allocations: 0.8237 MB / 0.8135 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007987/2.182, allocations: 1.768 MB / 0.8152 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/2.195, allocations: 8.451 MB / 0.8234 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00861/2.203, allocations: 419.1 kB / 0.8238 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/2.205, allocations: 486.8 kB / 0.8243 GB, free: 101.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (945): * Single equations (assignments): 939 * 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.002393/2.207, allocations: 0.7272 MB / 0.825 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/2.209, allocations: 0.5479 MB / 0.8256 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009117/2.218, allocations: 3.369 MB / 0.8288 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-05/2.218, allocations: 25.53 kB / 0.8289 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/2.218, allocations: 8.344 kB / 0.8289 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/2.218, allocations: 8.719 kB / 0.8289 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/2.242, allocations: 9.538 MB / 0.8382 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/2.242, allocations: 0 / 0.8382 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/2.244, allocations: 309.8 kB / 0.8385 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/2.247, allocations: 0.5235 MB / 0.839 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/2.247, allocations: 40.97 kB / 0.839 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/2.257, allocations: 7.567 MB / 0.8464 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.026e-06/2.257, allocations: 0 / 0.8464 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/2.268, allocations: 6.165 MB / 0.8525 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/2.27, allocations: 0.6098 MB / 0.853 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/2.271, allocations: 34.98 kB / 0.8531 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/2.275, allocations: 114.5 kB / 0.8532 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005607/2.275, allocations: 121.9 kB / 0.8533 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/2.276, allocations: 55.91 kB / 0.8534 GB, free: 94.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009892/2.286, allocations: 4.17 MB / 0.8574 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.858e-06/2.286, allocations: 0 / 0.8574 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01321/2.299, allocations: 1.395 MB / 0.8588 GB, free: 92.93 MB / 0.5261 GB 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 (153): * Single equations (assignments): 147 * 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.0009182/2.3, allocations: 184.7 kB / 0.859 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01881/2.319, allocations: 5.901 MB / 0.8647 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/2.319, allocations: 3.781 kB / 0.8647 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00554/2.324, allocations: 1.907 MB / 0.8666 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008117/2.332, allocations: 0.7617 MB / 0.8673 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/2.362, allocations: 10.93 MB / 0.878 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009775/2.371, allocations: 4.795 MB / 0.8827 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009201/2.381, allocations: 2.513 MB / 0.8852 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/2.382, allocations: 353.6 kB / 0.8855 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.786e-06/2.382, allocations: 0 / 0.8855 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.137/2.519, allocations: 49.75 MB / 0.9341 GB, free: 56.14 MB / 0.5261 GB