Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,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.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.668e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.5727/0.7012, allocations: 154.6 MB / 0.5523 GB, free: 12.66 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.09636/0.7976, allocations: 31.06 MB / 0.5826 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03967/0.8373, allocations: 0.8146 MB / 0.5834 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.04253/0.8799, allocations: 8.224 MB / 0.5915 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.5463/1.426, allocations: 21.78 MB / 0.6127 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01248/1.439, allocations: 1.621 MB / 0.6143 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.2222/1.661, allocations: 94.61 MB / 0.7067 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02919/1.69, allocations: 14 MB / 0.7204 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006538/1.697, allocations: 2.239 MB / 0.7226 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007842/1.705, allocations: 3.398 MB / 0.7259 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005071/1.71, allocations: 1.03 MB / 0.7269 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002668/1.713, allocations: 280 kB / 0.7271 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.008037/1.721, allocations: 4.458 MB / 0.7315 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004474/1.725, allocations: 0.7539 MB / 0.7322 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02543/1.751, allocations: 15.45 MB / 0.7473 GB, free: 4.258 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.751, allocations: 0 / 0.7473 GB, free: 4.258 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.988e-06/1.751, allocations: 4.75 kB / 0.7473 GB, free: 4.254 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000814/1.752, allocations: 0 / 0.7473 GB, free: 4.254 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04336/1.795, allocations: 11.28 MB / 0.7583 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.795, allocations: 12.03 kB / 0.7584 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2548/2.05, allocations: 22.13 MB / 0.78 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/2.077, allocations: 8.202 MB / 0.788 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009263/2.078, allocations: 0.6901 MB / 0.7886 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/2.082, allocations: 0.9246 MB / 0.7896 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0865/2.169, allocations: 27.53 MB / 0.8164 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006547/2.17, allocations: 120.5 kB / 0.8165 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003569/2.173, allocations: 431.3 kB / 0.817 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0164/2.19, allocations: 4.94 MB / 0.8218 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08816/2.278, allocations: 23 MB / 0.8442 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9038/3.182, allocations: 104.4 MB / 0.9462 GB, free: 220.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06412/3.246, allocations: 13.6 MB / 0.9595 GB, free: 208.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04132/3.287, allocations: 17.89 MB / 0.977 GB, free: 190.8 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.408e-05/3.288, allocations: 89.56 kB / 0.9771 GB, free: 190.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=469): time 9.247e-06/3.288, allocations: 0 / 0.9771 GB, free: 190.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=553): time 0.2927/3.58, allocations: 67.72 MB / 1.043 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/3.58, allocations: 364.8 kB / 1.044 GB, free: 122.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02603/3.606, allocations: 10.83 MB / 1.054 GB, free: 111.3 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/3.608, allocations: 113.7 kB / 1.054 GB, free: 111.2 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.006744/3.615, allocations: 7.286 MB / 1.061 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003709/3.619, allocations: 2.055 MB / 1.063 GB, free: 101.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002686/3.622, allocations: 280 kB / 1.064 GB, free: 101.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.001206/3.623, allocations: 0.9097 MB / 1.065 GB, free: 100.7 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01612/3.639, allocations: 6.067 MB / 1.07 GB, free: 94.63 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02104/3.66, allocations: 13.84 MB / 1.084 GB, free: 76.97 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02067/3.681, allocations: 8.967 MB / 1.093 GB, free: 68 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002573/3.681, allocations: 76 kB / 1.093 GB, free: 67.92 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1826) (initialization): time 0.06272/3.744, allocations: 22.33 MB / 1.115 GB, free: 45.57 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/3.744, allocations: 128.1 kB / 1.115 GB, free: 45.44 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003465/3.744, allocations: 272 kB / 1.115 GB, free: 45.18 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/3.759, allocations: 3.488 MB / 1.118 GB, free: 41.68 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02124/3.78, allocations: 3.271 MB / 1.122 GB, free: 38.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04648/3.827, allocations: 24.41 MB / 1.145 GB, free: 13.47 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/3.844, allocations: 0.8309 MB / 1.146 GB, free: 12.64 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003213/3.847, allocations: 0.8201 MB / 1.147 GB, free: 11.82 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1242 * Number of states: 0 () * Number of discrete variables: 138 (force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1688): * Single equations (assignments): 1677 * Array equations: 7 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01311/3.86, allocations: 5.203 MB / 1.152 GB, free: 6.602 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/3.863, allocations: 1.007 MB / 1.153 GB, free: 5.582 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4654/4.328, allocations: 13.18 MB / 1.166 GB, free: 263.8 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/4.329, allocations: 59.08 kB / 1.166 GB, free: 263.8 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/4.329, allocations: 17.09 kB / 1.166 GB, free: 263.8 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001642/4.329, allocations: 28.28 kB / 1.166 GB, free: 263.8 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0915/4.42, allocations: 29.62 MB / 1.195 GB, free: 254.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.353e-05/4.42, allocations: 7.875 kB / 1.195 GB, free: 254.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009594/4.43, allocations: 0.9744 MB / 1.196 GB, free: 254.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01387/4.444, allocations: 3.036 MB / 1.199 GB, free: 254 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001739/4.446, allocations: 106.4 kB / 1.199 GB, free: 253.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04738/4.493, allocations: 22.98 MB / 1.221 GB, free: 241.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/4.493, allocations: 15.69 kB / 1.221 GB, free: 241.8 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05334/4.547, allocations: 23.52 MB / 1.244 GB, free: 220.6 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004072/4.551, allocations: 1.132 MB / 1.246 GB, free: 220 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00466/4.555, allocations: 108.3 kB / 1.246 GB, free: 219.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0105/4.566, allocations: 368.3 kB / 1.246 GB, free: 219.5 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002223/4.568, allocations: 362.5 kB / 1.246 GB, free: 219.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007756/4.569, allocations: 145.9 kB / 1.246 GB, free: 219.1 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.01883/4.588, allocations: 7.855 MB / 1.254 GB, free: 211.3 MB / 0.6512 GB Notification: Performance of sort global known variables: time 8.61e-07/4.588, allocations: 0 / 1.254 GB, free: 211.3 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.017/4.605, allocations: 2.855 MB / 1.257 GB, free: 208.4 MB / 0.6512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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%) 17,(4,75.0%) 17,(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.002284/4.607, allocations: 290.8 kB / 1.257 GB, free: 208.1 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.03371/4.641, allocations: 15.11 MB / 1.272 GB, free: 193.1 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/4.641, allocations: 4 kB / 1.272 GB, free: 193.1 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.01784/4.659, allocations: 6.516 MB / 1.278 GB, free: 186.6 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01136/4.67, allocations: 1.323 MB / 1.28 GB, free: 185.3 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07401/4.744, allocations: 33.14 MB / 1.312 GB, free: 152.4 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01809/4.763, allocations: 8.167 MB / 1.32 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005855/4.768, allocations: 0.7571 MB / 1.321 GB, free: 143.4 MB / 0.6512 GB Notification: Performance of SimCode: time 1.383e-06/4.768, allocations: 4 kB / 1.321 GB, free: 143.4 MB / 0.6512 GB Notification: Performance of Templates: time 1.393/6.162, allocations: 340.3 MB / 1.653 GB, free: 243.3 MB / 0.6512 GB