Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.421e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4507/0.5801, allocations: 73.54 MB / 484.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0502/0.6304, allocations: 15.58 MB / 0.4883 GB, free: 14.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01956/0.65, allocations: 399 kB / 0.4887 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01447/0.6645, allocations: 3.853 MB / 0.4925 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04244/0.707, allocations: 10.49 MB / 0.5027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006601/0.7137, allocations: 0.8387 MB / 0.5035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1198/0.8335, allocations: 47.53 MB / 0.5499 GB, free: 15.17 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01396/0.8476, allocations: 6.606 MB / 0.5564 GB, free: 8.504 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.8509, allocations: 1.223 MB / 0.5576 GB, free: 7.277 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/0.8552, allocations: 1.897 MB / 0.5594 GB, free: 5.375 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.8587, allocations: 0.9286 MB / 0.5603 GB, free: 4.445 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.8603, allocations: 176 kB / 0.5605 GB, free: 4.273 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004055/0.8644, allocations: 2.377 MB / 0.5628 GB, free: 1.891 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.8666, allocations: 412 kB / 0.5632 GB, free: 1.488 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.88, allocations: 8.327 MB / 0.5714 GB, free: 9.141 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.88, allocations: 0 / 0.5714 GB, free: 9.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.8801, allocations: 0 / 0.5714 GB, free: 9.141 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003852/0.8805, allocations: 4 kB / 0.5714 GB, free: 9.137 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02128/0.9017, allocations: 6.194 MB / 0.5774 GB, free: 2.863 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9018, allocations: 8.031 kB / 0.5774 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.121/1.023, allocations: 11.88 MB / 0.589 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.037, allocations: 4.36 MB / 0.5933 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/1.038, allocations: 357.3 kB / 0.5936 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/1.04, allocations: 491.6 kB / 0.5941 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04498/1.085, allocations: 15.12 MB / 0.6089 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/1.085, allocations: 71.36 kB / 0.6089 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/1.087, allocations: 231.8 kB / 0.6091 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3555/1.442, allocations: 2.859 MB / 0.6119 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04519/1.488, allocations: 12.77 MB / 0.6244 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.588, allocations: 58.86 MB / 0.6819 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03141/1.62, allocations: 7.376 MB / 0.6891 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/1.64, allocations: 8.872 MB / 0.6978 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.64, allocations: 62.47 kB / 0.6978 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 7.123e-06/1.64, allocations: 0 / 0.6978 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.1382/1.778, allocations: 32.19 MB / 0.7292 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/1.778, allocations: 239.6 kB / 0.7295 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0147/1.793, allocations: 6.234 MB / 0.7356 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009363/1.794, allocations: 69.7 kB / 0.7356 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003744/1.798, allocations: 4.269 MB / 0.7398 GB, free: 57.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/1.8, allocations: 1.088 MB / 0.7409 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/1.801, allocations: 172 kB / 0.741 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007431/1.802, allocations: 0.6742 MB / 0.7417 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008657/1.811, allocations: 3.382 MB / 0.745 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/1.822, allocations: 8.359 MB / 0.7531 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.834, allocations: 5.194 MB / 0.7582 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/1.834, allocations: 55.95 kB / 0.7583 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.04257/1.876, allocations: 12.78 MB / 0.7708 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.877, allocations: 84.25 kB / 0.7708 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003647/1.877, allocations: 176 kB / 0.771 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/1.889, allocations: 1.79 MB / 0.7727 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/1.906, allocations: 1.969 MB / 0.7747 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/1.931, allocations: 12.2 MB / 0.7866 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009736/1.941, allocations: 0.4908 MB / 0.7871 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.943, allocations: 0.5078 MB / 0.7876 GB, free: 6.043 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009939/1.952, allocations: 2.992 MB / 0.7905 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/1.955, allocations: 0.5629 MB / 0.791 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02742/1.982, allocations: 6.472 MB / 0.7974 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.841e-05/1.982, allocations: 35.95 kB / 0.7974 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.753e-05/1.982, allocations: 8 kB / 0.7974 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/1.982, allocations: 19.94 kB / 0.7974 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4322/2.415, allocations: 14.55 MB / 0.8116 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/2.415, allocations: 5.438 kB / 0.8116 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005017/2.42, allocations: 496.3 kB / 0.8121 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008762/2.429, allocations: 1.511 MB / 0.8136 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009901/2.43, allocations: 52.28 kB / 0.8136 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03108/2.461, allocations: 11.39 MB / 0.8247 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/2.461, allocations: 6.219 kB / 0.8248 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02871/2.49, allocations: 11.35 MB / 0.8358 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/2.492, allocations: 0.6595 MB / 0.8365 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002354/2.494, allocations: 56.34 kB / 0.8365 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005343/2.5, allocations: 190 kB / 0.8367 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/2.501, allocations: 186 kB / 0.8369 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003546/2.501, allocations: 76.22 kB / 0.837 GB, free: 153 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01071/2.512, allocations: 4.483 MB / 0.8413 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.152e-06/2.512, allocations: 0 / 0.8413 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009292/2.521, allocations: 1.581 MB / 0.8429 GB, free: 151.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/2.522, allocations: 208.5 kB / 0.8431 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01835/2.541, allocations: 8.308 MB / 0.8512 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/2.541, allocations: 0 / 0.8512 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00898/2.55, allocations: 3.289 MB / 0.8544 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/2.555, allocations: 0.6876 MB / 0.8551 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/2.592, allocations: 17.87 MB / 0.8725 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007906/2.6, allocations: 4.761 MB / 0.8772 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/2.603, allocations: 447.4 kB / 0.8776 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/2.603, allocations: 0 / 0.8776 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.5992/3.202, allocations: 139.4 MB / 1.014 GB, free: 168.3 MB / 0.5417 GB