Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.372e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.1135/0.5022, allocations: 70.66 MB / 433.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04716/0.5494, allocations: 15.17 MB / 448.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01766/0.5672, allocations: 375.1 kB / 449.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01336/0.5806, allocations: 3.756 MB / 452.8 MB, free: 3.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03943/0.6201, allocations: 10.05 MB / 462.9 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006691/0.6268, allocations: 0.8776 MB / 463.8 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07408/0.701, allocations: 17.08 MB / 480.8 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/0.7231, allocations: 6.504 MB / 487.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.7281, allocations: 1.258 MB / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007175/0.7353, allocations: 1.964 MB / 490.6 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02063/0.756, allocations: 1.092 MB / 491.7 MB, free: 12.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002485/0.7586, allocations: 196 kB / 491.9 MB, free: 12.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008148/0.7668, allocations: 2.388 MB / 494.2 MB, free: 10.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00339/0.7702, allocations: 416 kB / 494.6 MB, free: 9.652 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03954/0.8098, allocations: 8.966 MB / 0.4918 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8099, allocations: 0 / 0.4918 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.81, allocations: 0 / 0.4918 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004206/0.8104, allocations: 0 / 0.4918 GB, free: 0.6641 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.3807/1.191, allocations: 6.373 MB / 0.498 GB, free: 124.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.191, allocations: 8.812 kB / 0.498 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1186/1.31, allocations: 11.92 MB / 0.5097 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/1.325, allocations: 4.587 MB / 0.5142 GB, free: 111 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/1.325, allocations: 383.1 kB / 0.5145 GB, free: 110.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/1.329, allocations: 0.4932 MB / 0.515 GB, free: 110.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04826/1.377, allocations: 16.55 MB / 0.5312 GB, free: 92.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/1.377, allocations: 63.36 kB / 0.5312 GB, free: 92.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002216/1.38, allocations: 241.2 kB / 0.5315 GB, free: 92.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006726/1.386, allocations: 2.933 MB / 0.5343 GB, free: 89.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04637/1.433, allocations: 14.19 MB / 0.5482 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.539, allocations: 58.82 MB / 0.6056 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03/1.569, allocations: 7.228 MB / 0.6127 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04278/1.612, allocations: 15.16 MB / 0.6275 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.442e-05/1.612, allocations: 64.56 kB / 0.6276 GB, free: 8.707 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 9.237e-06/1.612, allocations: 3.984 kB / 0.6276 GB, free: 8.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.16/1.772, allocations: 32.3 MB / 0.6591 GB, free: 8.094 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/1.772, allocations: 218.5 kB / 0.6593 GB, free: 7.836 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.787, allocations: 4.99 MB / 0.6642 GB, free: 2.863 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001147/1.788, allocations: 77.7 kB / 0.6643 GB, free: 2.781 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3296/2.118, allocations: 4.366 MB / 0.6685 GB, free: 157.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002343/2.12, allocations: 1.277 MB / 0.6698 GB, free: 156.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/2.122, allocations: 163.8 kB / 0.6699 GB, free: 156.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007253/2.122, allocations: 0.6535 MB / 0.6706 GB, free: 156.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.133, allocations: 3.671 MB / 0.6742 GB, free: 155.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.146, allocations: 8.092 MB / 0.6821 GB, free: 148.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/2.162, allocations: 5.336 MB / 0.6873 GB, free: 146.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002911/2.163, allocations: 47.48 kB / 0.6873 GB, free: 146.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.04073/2.204, allocations: 13.19 MB / 0.7002 GB, free: 138 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/2.204, allocations: 73 kB / 0.7003 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/2.204, allocations: 156.9 kB / 0.7004 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/2.212, allocations: 1.788 MB / 0.7022 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.225, allocations: 1.928 MB / 0.704 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/2.25, allocations: 12.34 MB / 0.7161 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/2.261, allocations: 499.3 kB / 0.7166 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/2.263, allocations: 481.2 kB / 0.717 GB, free: 121.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (991): * Single equations (assignments): 986 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008372/2.272, allocations: 3.026 MB / 0.72 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/2.273, allocations: 0.4975 MB / 0.7205 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02513/2.298, allocations: 7.654 MB / 0.7279 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.975e-05/2.298, allocations: 39.98 kB / 0.728 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/2.298, allocations: 8 kB / 0.728 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/2.299, allocations: 23.89 kB / 0.728 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05256/2.351, allocations: 16.42 MB / 0.744 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.705e-05/2.351, allocations: 0 / 0.744 GB, free: 93.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006633/2.358, allocations: 0.6085 MB / 0.7446 GB, free: 93.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007238/2.365, allocations: 1.532 MB / 0.7461 GB, free: 91.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/2.366, allocations: 65 kB / 0.7462 GB, free: 91.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/2.392, allocations: 11.52 MB / 0.7574 GB, free: 79.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.392, allocations: 0 / 0.7574 GB, free: 79.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03225/2.424, allocations: 12.29 MB / 0.7695 GB, free: 67.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/2.429, allocations: 1.123 MB / 0.7706 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002627/2.431, allocations: 59.2 kB / 0.7706 GB, free: 66.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006829/2.438, allocations: 255.6 kB / 0.7709 GB, free: 65.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001741/2.44, allocations: 198.1 kB / 0.771 GB, free: 65.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001267/2.441, allocations: 91.98 kB / 0.7711 GB, free: 65.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008069/2.449, allocations: 3.539 MB / 0.7746 GB, free: 62.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.449, allocations: 0 / 0.7746 GB, free: 62.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009561/2.459, allocations: 1.646 MB / 0.7762 GB, free: 60.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/2.461, allocations: 219.9 kB / 0.7764 GB, free: 60.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02327/2.484, allocations: 9.066 MB / 0.7853 GB, free: 51.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.484, allocations: 0 / 0.7853 GB, free: 51.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01089/2.495, allocations: 3.865 MB / 0.789 GB, free: 47.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/2.5, allocations: 0.629 MB / 0.7896 GB, free: 46.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.544, allocations: 18.11 MB / 0.8073 GB, free: 28.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.554, allocations: 4.93 MB / 0.8121 GB, free: 23.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01207/2.567, allocations: 2.651 MB / 0.8147 GB, free: 20.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003595/2.57, allocations: 379.3 kB / 0.8151 GB, free: 20.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/2.57, allocations: 4 kB / 0.8151 GB, free: 20.4 MB / 474.7 MB Notification: Performance of Templates: time 0.5496/3.12, allocations: 63.56 MB / 0.8772 GB, free: 140.6 MB / 490.7 MB