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_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.36e-05, allocations: 7.984 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 61.9 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4553/0.5845, allocations: 72.22 MB / 483.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04853/0.633, allocations: 15.48 MB / 498.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01895/0.6521, allocations: 383.1 kB / 499 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.6665, allocations: 3.811 MB / 0.491 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04015/0.7067, allocations: 10.3 MB / 0.5011 GB, free: 1.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006433/0.7132, allocations: 0.8776 MB / 0.5019 GB, free: 416 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1245/0.8377, allocations: 47.29 MB / 0.5481 GB, free: 1.086 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/0.8516, allocations: 6.355 MB / 0.5543 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.8547, allocations: 1.126 MB / 0.5554 GB, free: 9.559 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.8588, allocations: 1.683 MB / 0.5571 GB, free: 7.871 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.8625, allocations: 1.03 MB / 0.5581 GB, free: 6.84 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.8641, allocations: 176 kB / 0.5582 GB, free: 6.668 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003796/0.868, allocations: 2.147 MB / 0.5603 GB, free: 4.516 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.87, allocations: 380 kB / 0.5607 GB, free: 4.145 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.8853, allocations: 7.977 MB / 0.5685 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8854, allocations: 0 / 0.5685 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.8854, allocations: 0 / 0.5685 GB, free: 12.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004078/0.8858, allocations: 4 kB / 0.5685 GB, free: 12.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02112/0.907, allocations: 5.695 MB / 0.5741 GB, free: 6.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.907, allocations: 15.97 kB / 0.5741 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.122/1.029, allocations: 11.81 MB / 0.5856 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.044, allocations: 4.035 MB / 0.5896 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/1.045, allocations: 344.9 kB / 0.5899 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003557/1.049, allocations: 467.7 kB / 0.5903 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06135/1.11, allocations: 14.8 MB / 0.6048 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/1.11, allocations: 55.44 kB / 0.6048 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001606/1.112, allocations: 215.8 kB / 0.605 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009487/1.121, allocations: 2.79 MB / 0.6078 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3855/1.507, allocations: 12.69 MB / 0.6201 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09105/1.598, allocations: 53.43 MB / 0.6723 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02678/1.625, allocations: 6.303 MB / 0.6785 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02974/1.655, allocations: 12.99 MB / 0.6912 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/1.655, allocations: 58.16 kB / 0.6912 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 6.852e-06/1.655, allocations: 0 / 0.6912 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.1267/1.782, allocations: 28.95 MB / 0.7195 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/1.782, allocations: 209.9 kB / 0.7197 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00958/1.791, allocations: 4.723 MB / 0.7243 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007993/1.792, allocations: 73.5 kB / 0.7244 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/1.795, allocations: 3.871 MB / 0.7281 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.797, allocations: 1.012 MB / 0.7291 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009297/1.798, allocations: 140 kB / 0.7293 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005055/1.798, allocations: 0.6086 MB / 0.7299 GB, free: 68.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007543/1.806, allocations: 3.067 MB / 0.7329 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.816, allocations: 7.136 MB / 0.7398 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.826, allocations: 4.579 MB / 0.7443 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.827, allocations: 44 kB / 0.7443 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.03141/1.858, allocations: 11.38 MB / 0.7555 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.858, allocations: 68 kB / 0.7555 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.858, allocations: 152.1 kB / 0.7557 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007572/1.866, allocations: 1.769 MB / 0.7574 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/1.876, allocations: 1.657 MB / 0.759 GB, free: 36.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/1.9, allocations: 12.31 MB / 0.771 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008326/1.908, allocations: 428.8 kB / 0.7714 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.91, allocations: 432 kB / 0.7718 GB, free: 23.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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.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 (862): * Single equations (assignments): 857 * 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.006737/1.916, allocations: 2.756 MB / 0.7745 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.918, allocations: 466 kB / 0.775 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.937, allocations: 6.251 MB / 0.7811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/1.937, allocations: 32 kB / 0.7811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/1.937, allocations: 8 kB / 0.7811 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/1.937, allocations: 15.94 kB / 0.7811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03939/1.976, allocations: 13.84 MB / 0.7947 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-05/1.976, allocations: 4 kB / 0.7947 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00469/1.981, allocations: 455.2 kB / 0.7951 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007728/1.989, allocations: 1.523 MB / 0.7966 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008012/1.99, allocations: 47.98 kB / 0.7966 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/2.017, allocations: 11.57 MB / 0.8079 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.017, allocations: 0 / 0.8079 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.38/2.397, allocations: 10.14 MB / 0.8178 GB, free: 167 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/2.399, allocations: 0.512 MB / 0.8183 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/2.401, allocations: 44.19 kB / 0.8184 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005119/2.406, allocations: 196.3 kB / 0.8186 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/2.408, allocations: 161.4 kB / 0.8187 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/2.408, allocations: 66.75 kB / 0.8188 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009258/2.417, allocations: 3.348 MB / 0.822 GB, free: 165.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/2.417, allocations: 1.219 kB / 0.822 GB, free: 165.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009513/2.427, allocations: 1.448 MB / 0.8235 GB, free: 165.5 MB / 0.5261 GB 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 (212): * Single equations (assignments): 207 * 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.001377/2.428, allocations: 205.4 kB / 0.8237 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02034/2.449, allocations: 7.635 MB / 0.8311 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.449, allocations: 1.375 kB / 0.8311 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01/2.459, allocations: 3.236 MB / 0.8343 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005693/2.464, allocations: 0.6093 MB / 0.8349 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/2.502, allocations: 16.62 MB / 0.8511 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009241/2.511, allocations: 4.489 MB / 0.8555 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/2.514, allocations: 379.2 kB / 0.8558 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.964e-06/2.514, allocations: 0 / 0.8558 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.2146/2.729, allocations: 126.8 MB / 0.9797 GB, free: 27.1 MB / 0.5261 GB