Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.683e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.1568/0.5378, allocations: 99.15 MB / 462 MB, free: 10.37 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06128/0.5991, allocations: 20.61 MB / 482.6 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0249/0.6241, allocations: 0.5145 MB / 483.1 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01964/0.6438, allocations: 5.308 MB / 488.5 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05786/0.7017, allocations: 14.08 MB / 0.4908 GB, free: 1.715 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009161/0.711, allocations: 1.186 MB / 0.4919 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.4656/1.177, allocations: 32.79 MB / 0.5239 GB, free: 15.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01905/1.196, allocations: 9.082 MB / 0.5328 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/1.201, allocations: 1.719 MB / 0.5345 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006558/1.208, allocations: 2.783 MB / 0.5372 GB, free: 13.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/1.212, allocations: 1.133 MB / 0.5383 GB, free: 12.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/1.215, allocations: 248 kB / 0.5385 GB, free: 12.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006113/1.221, allocations: 3.341 MB / 0.5418 GB, free: 10.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003447/1.224, allocations: 0.5625 MB / 0.5424 GB, free: 9.484 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/1.244, allocations: 11.9 MB / 0.554 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.244, allocations: 0 / 0.554 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.117e-06/1.244, allocations: 0.6562 kB / 0.554 GB, free: 15.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006266/1.245, allocations: 0 / 0.554 GB, free: 15.14 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03147/1.276, allocations: 8.258 MB / 0.562 GB, free: 7.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.277, allocations: 12.03 kB / 0.5621 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2431/1.52, allocations: 21.63 MB / 0.5832 GB, free: 3.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02543/1.545, allocations: 7.197 MB / 0.5902 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006888/1.546, allocations: 499.7 kB / 0.5907 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/1.549, allocations: 0.6686 MB / 0.5913 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07698/1.626, allocations: 19.93 MB / 0.6108 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006515/1.627, allocations: 93.23 kB / 0.6109 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003208/1.63, allocations: 306.4 kB / 0.6112 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02826/1.659, allocations: 3.384 MB / 0.6145 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07021/1.729, allocations: 16.44 MB / 0.6305 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1507/1.88, allocations: 72.36 MB / 0.7012 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6576/2.537, allocations: 8.288 MB / 0.7093 GB, free: 245.6 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/2.538, allocations: 0.6619 MB / 0.7099 GB, free: 245.1 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/2.539, allocations: 69.91 kB / 0.71 GB, free: 245 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=311): time 7.554e-06/2.539, allocations: 0 / 0.71 GB, free: 245 MB / 0.5574 GB Notification: Performance of matching and sorting (n=335): time 0.1452/2.684, allocations: 32.39 MB / 0.7416 GB, free: 230.7 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.684, allocations: 299.1 kB / 0.7419 GB, free: 230.4 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01676/2.701, allocations: 7.452 MB / 0.7492 GB, free: 223 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0009185/2.702, allocations: 77.7 kB / 0.7493 GB, free: 222.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.005174/2.707, allocations: 5.832 MB / 0.755 GB, free: 217.1 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/2.709, allocations: 1.268 MB / 0.7562 GB, free: 215.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/2.711, allocations: 188 kB / 0.7564 GB, free: 215.6 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0008847/2.712, allocations: 0.7072 MB / 0.7571 GB, free: 214.9 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009536/2.721, allocations: 3.649 MB / 0.7606 GB, free: 211.3 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/2.734, allocations: 9.266 MB / 0.7697 GB, free: 199.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.748, allocations: 5.672 MB / 0.7752 GB, free: 193.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/2.748, allocations: 56 kB / 0.7753 GB, free: 193.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03665/2.785, allocations: 13.74 MB / 0.7887 GB, free: 180.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.785, allocations: 90.97 kB / 0.7888 GB, free: 180 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/2.786, allocations: 200 kB / 0.789 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005767/2.791, allocations: 1.354 MB / 0.7903 GB, free: 178.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/2.806, allocations: 2.234 MB / 0.7925 GB, free: 176.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/2.828, allocations: 12.93 MB / 0.8051 GB, free: 162.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.84, allocations: 0.55 MB / 0.8056 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/2.842, allocations: 0.5651 MB / 0.8062 GB, free: 161.7 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1171): * Single equations (assignments): 1164 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009518/2.852, allocations: 3.816 MB / 0.8099 GB, free: 157.8 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/2.853, allocations: 0.6749 MB / 0.8106 GB, free: 157.1 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/2.873, allocations: 6.509 MB / 0.8169 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/2.873, allocations: 33.09 kB / 0.817 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/2.873, allocations: 12 kB / 0.817 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-05/2.873, allocations: 15.94 kB / 0.817 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04814/2.922, allocations: 15.92 MB / 0.8325 GB, free: 134.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/2.922, allocations: 0 / 0.8325 GB, free: 134.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005811/2.927, allocations: 0.5616 MB / 0.8331 GB, free: 134.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/2.932, allocations: 0.9937 MB / 0.8341 GB, free: 133.1 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008857/2.933, allocations: 56 kB / 0.8341 GB, free: 133 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/2.953, allocations: 11.79 MB / 0.8456 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.953, allocations: 7.984 kB / 0.8456 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/2.98, allocations: 10.84 MB / 0.8562 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004981/2.985, allocations: 1.257 MB / 0.8574 GB, free: 108.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003016/2.988, allocations: 59.94 kB / 0.8575 GB, free: 108.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006741/2.995, allocations: 211.7 kB / 0.8577 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/2.996, allocations: 194.3 kB / 0.8579 GB, free: 108 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007929/2.997, allocations: 83.98 kB / 0.858 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0149/3.012, allocations: 5.367 MB / 0.8632 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.122e-06/3.012, allocations: 3.938 kB / 0.8632 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01183/3.024, allocations: 1.919 MB / 0.8651 GB, free: 100.7 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.001322/3.025, allocations: 216.2 kB / 0.8653 GB, free: 100.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02125/3.046, allocations: 9.227 MB / 0.8743 GB, free: 91.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/3.046, allocations: 0 / 0.8743 GB, free: 91.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008141/3.055, allocations: 3.378 MB / 0.8776 GB, free: 87.78 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00835/3.063, allocations: 0.9262 MB / 0.8785 GB, free: 86.85 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04788/3.111, allocations: 21.56 MB / 0.8996 GB, free: 65.25 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/3.124, allocations: 6.119 MB / 0.9055 GB, free: 59.08 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0182/3.142, allocations: 3.094 MB / 0.9086 GB, free: 55.98 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005645/3.148, allocations: 463.4 kB / 0.909 GB, free: 55.52 MB / 0.5574 GB Notification: Performance of SimCode: time 3.046e-06/3.148, allocations: 0 / 0.909 GB, free: 55.52 MB / 0.5574 GB Notification: Performance of Templates: time 0.6294/3.778, allocations: 72.67 MB / 0.98 GB, free: 202.6 MB / 0.5574 GB