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_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.352e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08638, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.528, allocations: 92.87 MB / 414.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.5283, allocations: 81.44 kB / 414.7 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8023/1.331, allocations: 142.8 MB / 0.5444 GB, free: 70.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.772e-06/1.331, allocations: 0 / 0.5444 GB, free: 70.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004377/1.331, allocations: 142.5 kB / 0.5446 GB, free: 70.84 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.02104/1.352, allocations: 6.833 MB / 0.5512 GB, free: 68.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.352, allocations: 9.156 kB / 0.5512 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05069/1.403, allocations: 9.537 MB / 0.5606 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02501/1.428, allocations: 8.84 MB / 0.5692 GB, free: 66.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/1.429, allocations: 0.5332 MB / 0.5697 GB, free: 66.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/1.432, allocations: 0.6978 MB / 0.5704 GB, free: 66.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03916/1.471, allocations: 16.43 MB / 0.5864 GB, free: 62.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003753/1.471, allocations: 102.1 kB / 0.5865 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/1.473, allocations: 337.7 kB / 0.5869 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/1.476, allocations: 1.523 MB / 0.5883 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03246/1.508, allocations: 12.83 MB / 0.6009 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08836/1.597, allocations: 72.68 MB / 0.6718 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.616, allocations: 5.835 MB / 0.6775 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005857/1.622, allocations: 3.06 MB / 0.6805 GB, free: 5.508 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.622, allocations: 54.77 kB / 0.6806 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.708e-05/1.622, allocations: 67.58 kB / 0.6807 GB, free: 5.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 7.869e-06/1.622, allocations: 0 / 0.6807 GB, free: 5.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=267): time 0.3193/1.941, allocations: 19.49 MB / 0.6997 GB, free: 75.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.942, allocations: 263 kB / 0.6999 GB, free: 75.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/1.956, allocations: 6.143 MB / 0.7059 GB, free: 74.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000511/1.956, allocations: 64.64 kB / 0.706 GB, free: 74.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004121/1.961, allocations: 5.046 MB / 0.7109 GB, free: 72.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.962, allocations: 1.031 MB / 0.7119 GB, free: 72.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/1.963, allocations: 176.6 kB / 0.7121 GB, free: 72.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005378/1.963, allocations: 0.6704 MB / 0.7127 GB, free: 71.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006026/1.969, allocations: 2.875 MB / 0.7156 GB, free: 71.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008769/1.978, allocations: 8.079 MB / 0.7234 GB, free: 64.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008676/1.987, allocations: 4.795 MB / 0.7281 GB, free: 64.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.987, allocations: 54.84 kB / 0.7282 GB, free: 64.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.02508/2.012, allocations: 10.87 MB / 0.7388 GB, free: 64.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/2.012, allocations: 85.38 kB / 0.7389 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/2.012, allocations: 186.8 kB / 0.7391 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/2.015, allocations: 0.8356 MB / 0.7399 GB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008709/2.024, allocations: 1.993 MB / 0.7418 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/2.035, allocations: 8.491 MB / 0.7501 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009684/2.045, allocations: 470.2 kB / 0.7506 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/2.046, allocations: 0.5189 MB / 0.7511 GB, free: 59.07 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.001541/2.048, allocations: 0.7695 MB / 0.7518 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/2.049, allocations: 0.5946 MB / 0.7524 GB, free: 58.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009782/2.059, allocations: 4.451 MB / 0.7567 GB, free: 56.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/2.059, allocations: 29.27 kB / 0.7568 GB, free: 56.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/2.059, allocations: 12.44 kB / 0.7568 GB, free: 56.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/2.059, allocations: 18.03 kB / 0.7568 GB, free: 56.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/2.088, allocations: 11.6 MB / 0.7681 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/2.088, allocations: 3.938 kB / 0.7681 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/2.091, allocations: 440.7 kB / 0.7685 GB, free: 52.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/2.093, allocations: 0.5213 MB / 0.7691 GB, free: 52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004944/2.093, allocations: 50.66 kB / 0.7691 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009691/2.103, allocations: 7.572 MB / 0.7765 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.465e-06/2.103, allocations: 3.344 kB / 0.7765 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/2.118, allocations: 7.88 MB / 0.7842 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.122, allocations: 1.006 MB / 0.7852 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/2.124, allocations: 46.89 kB / 0.7852 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004267/2.128, allocations: 156.8 kB / 0.7854 GB, free: 42.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007892/2.129, allocations: 164.4 kB / 0.7855 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/2.129, allocations: 68.27 kB / 0.7856 GB, free: 42.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0108/2.14, allocations: 4.362 MB / 0.7899 GB, free: 40.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.25e-06/2.14, allocations: 3.938 kB / 0.7899 GB, free: 40.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01157/2.152, allocations: 1.558 MB / 0.7914 GB, free: 40.19 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.0007786/2.153, allocations: 191.6 kB / 0.7916 GB, free: 40.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01354/2.166, allocations: 7.056 MB / 0.7985 GB, free: 33.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.166, allocations: 2.531 kB / 0.7985 GB, free: 33.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004249/2.17, allocations: 2.447 MB / 0.8008 GB, free: 31.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/2.176, allocations: 0.7621 MB / 0.8016 GB, free: 30.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/2.203, allocations: 12.38 MB / 0.8137 GB, free: 19.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009711/2.212, allocations: 5.205 MB / 0.8188 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009873/2.222, allocations: 2.807 MB / 0.8215 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/2.224, allocations: 391.4 kB / 0.8219 GB, free: 13.69 MB / 442.7 MB Notification: Performance of SimCode: time 2.155e-06/2.224, allocations: 0 / 0.8219 GB, free: 13.69 MB / 442.7 MB Notification: Performance of Templates: time 0.4777/2.702, allocations: 54.76 MB / 0.8754 GB, free: 73.08 MB / 458.7 MB