Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.303e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.5627/0.6962, allocations: 141.6 MB / 0.5396 GB, free: 9.781 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0909/0.7871, allocations: 28.61 MB / 0.5675 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0369/0.8241, allocations: 0.7366 MB / 0.5682 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02847/0.8526, allocations: 7.528 MB / 0.5756 GB, free: 4.781 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07887/0.9316, allocations: 19.91 MB / 0.595 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.9432, allocations: 1.498 MB / 0.5965 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.6469/1.59, allocations: 94.23 MB / 0.6885 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02824/1.618, allocations: 13.13 MB / 0.7013 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/1.624, allocations: 2.018 MB / 0.7033 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007509/1.632, allocations: 3.17 MB / 0.7064 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/1.637, allocations: 1.013 MB / 0.7074 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.002832/1.639, allocations: 268 kB / 0.7076 GB, free: 320 kB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00726/1.647, allocations: 4.102 MB / 0.7116 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003977/1.651, allocations: 0.7031 MB / 0.7123 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02323/1.674, allocations: 14.51 MB / 0.7265 GB, free: 16 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.674, allocations: 3.938 kB / 0.7265 GB, free: 12 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.445e-06/1.674, allocations: 0 / 0.7265 GB, free: 12 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007016/1.675, allocations: 4 kB / 0.7265 GB, free: 8 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.03767/1.713, allocations: 10.34 MB / 0.7366 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.713, allocations: 12.03 kB / 0.7366 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2353/1.948, allocations: 21.99 MB / 0.7581 GB, free: 1.832 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02592/1.974, allocations: 7.57 MB / 0.7655 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008563/1.975, allocations: 0.6536 MB / 0.7661 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004301/1.979, allocations: 0.882 MB / 0.767 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07912/2.058, allocations: 25.41 MB / 0.7918 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006457/2.059, allocations: 109.1 kB / 0.7919 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003644/2.063, allocations: 416.5 kB / 0.7923 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01525/2.078, allocations: 4.572 MB / 0.7968 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07318/2.151, allocations: 21.44 MB / 0.8177 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8869/3.038, allocations: 95.04 MB / 0.9105 GB, free: 222.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05632/3.095, allocations: 12.19 MB / 0.9224 GB, free: 218.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003762/3.098, allocations: 2.322 MB / 0.9247 GB, free: 216 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/3.099, allocations: 87.75 kB / 0.9248 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=443): time 9.308e-06/3.099, allocations: 0 / 0.9248 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=527): time 0.2689/3.367, allocations: 59.98 MB / 0.9833 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/3.368, allocations: 313.1 kB / 0.9836 GB, free: 162.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/3.388, allocations: 9.204 MB / 0.9926 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001708/3.39, allocations: 117.2 kB / 0.9927 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.005558/3.395, allocations: 6.693 MB / 0.9993 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003319/3.399, allocations: 1.942 MB / 1.001 GB, free: 145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/3.401, allocations: 256 kB / 1.001 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001019/3.402, allocations: 0.8481 MB / 1.002 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01452/3.417, allocations: 5.736 MB / 1.008 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01922/3.436, allocations: 12.71 MB / 1.02 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/3.455, allocations: 8.36 MB / 1.028 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002008/3.455, allocations: 68 kB / 1.028 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1654) (initialization): time 0.05832/3.514, allocations: 20.95 MB / 1.049 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/3.514, allocations: 112.2 kB / 1.049 GB, free: 92.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003047/3.514, allocations: 250.4 kB / 1.049 GB, free: 92.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/3.529, allocations: 3.469 MB / 1.053 GB, free: 88.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01989/3.549, allocations: 2.979 MB / 1.056 GB, free: 85.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04724/3.596, allocations: 24.47 MB / 1.079 GB, free: 60.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/3.612, allocations: 0.7684 MB / 1.08 GB, free: 60.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003132/3.615, allocations: 0.7343 MB / 1.081 GB, free: 59.31 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1114 * Number of states: 0 () * Number of discrete variables: 126 (torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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.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 (1534): * Single equations (assignments): 1527 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01342/3.629, allocations: 4.806 MB / 1.086 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002993/3.632, allocations: 0.8677 MB / 1.086 GB, free: 53.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03975/3.671, allocations: 12.78 MB / 1.099 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/3.672, allocations: 62.11 kB / 1.099 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-05/3.672, allocations: 16 kB / 1.099 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001602/3.672, allocations: 23.91 kB / 1.099 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08336/3.755, allocations: 28 MB / 1.126 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-05/3.755, allocations: 4.281 kB / 1.126 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009446/3.765, allocations: 0.9087 MB / 1.127 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/3.779, allocations: 3.048 MB / 1.13 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001784/3.781, allocations: 96.8 kB / 1.13 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4452/4.226, allocations: 23.1 MB / 1.153 GB, free: 248.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/4.226, allocations: 7.625 kB / 1.153 GB, free: 248.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05904/4.285, allocations: 21.12 MB / 1.174 GB, free: 239.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/4.289, allocations: 0.9634 MB / 1.175 GB, free: 239.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004327/4.293, allocations: 98.88 kB / 1.175 GB, free: 239.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00984/4.303, allocations: 402.3 kB / 1.175 GB, free: 239.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002218/4.305, allocations: 328.2 kB / 1.175 GB, free: 239.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001619/4.307, allocations: 134.6 kB / 1.175 GB, free: 239 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.02251/4.329, allocations: 6.634 MB / 1.182 GB, free: 236.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.202e-06/4.33, allocations: 2.625 kB / 1.182 GB, free: 236.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02334/4.353, allocations: 2.683 MB / 1.185 GB, free: 236.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (435): * Single equations (assignments): 428 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.002601/4.356, allocations: 275.6 kB / 1.185 GB, free: 236.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.04376/4.399, allocations: 14.38 MB / 1.199 GB, free: 230.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/4.399, allocations: 4 kB / 1.199 GB, free: 230.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/4.419, allocations: 6.4 MB / 1.205 GB, free: 225.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/4.429, allocations: 1.186 MB / 1.206 GB, free: 224.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07146/4.5, allocations: 30.73 MB / 1.236 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01708/4.517, allocations: 7.592 MB / 1.244 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006356/4.524, allocations: 0.6829 MB / 1.244 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.783e-06/4.524, allocations: 3.938 kB / 1.244 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.9097/5.433, allocations: 313.7 MB / 1.551 GB, free: 116.5 MB / 0.6355 GB