Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.866e-05, allocations: 8 kB / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3775, allocations: 54.86 MB / 362.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.1133/0.4908, allocations: 73.7 MB / 436.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0464/0.5373, allocations: 15.7 MB / 452.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01764/0.555, allocations: 379.2 kB / 452.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01477/0.5698, allocations: 3.927 MB / 456.5 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04082/0.6107, allocations: 10.47 MB / 467 MB, free: 5.32 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.6172, allocations: 0.8698 MB / 467.9 MB, free: 4.449 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05044/0.6677, allocations: 17.14 MB / 485 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.6813, allocations: 6.324 MB / 491.3 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.6846, allocations: 1.243 MB / 492.6 MB, free: 11.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004616/0.6892, allocations: 2.018 MB / 494.6 MB, free: 9.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.6931, allocations: 1.089 MB / 495.7 MB, free: 8.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.6948, allocations: 200 kB / 495.9 MB, free: 8.371 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004267/0.6991, allocations: 2.462 MB / 498.4 MB, free: 5.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.7014, allocations: 427.9 kB / 498.8 MB, free: 5.484 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3893/1.091, allocations: 9.04 MB / 0.4959 GB, free: 23.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.091, allocations: 1.594 kB / 0.4959 GB, free: 23.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.091, allocations: 0.9062 kB / 0.4959 GB, free: 23.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000484/1.091, allocations: 0 / 0.4959 GB, free: 23.96 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.0307/1.122, allocations: 6.454 MB / 0.5022 GB, free: 21.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.122, allocations: 7.281 kB / 0.5022 GB, free: 21.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1206/1.243, allocations: 11.96 MB / 0.5139 GB, free: 20.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.259, allocations: 4.611 MB / 0.5184 GB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/1.259, allocations: 389.2 kB / 0.5188 GB, free: 18.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/1.263, allocations: 0.5006 MB / 0.5193 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05045/1.314, allocations: 16.51 MB / 0.5354 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004312/1.314, allocations: 66.42 kB / 0.5354 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003328/1.317, allocations: 242 kB / 0.5357 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01013/1.328, allocations: 2.935 MB / 0.5385 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06729/1.395, allocations: 14.02 MB / 0.5522 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1288/1.524, allocations: 60.32 MB / 0.6112 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0369/1.561, allocations: 8.095 MB / 0.6191 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/1.561, allocations: 58.86 kB / 0.6191 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/1.561, allocations: 71.92 kB / 0.6192 GB, free: 10.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 7.664e-06/1.561, allocations: 0 / 0.6192 GB, free: 10.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.2186/1.78, allocations: 34.98 MB / 0.6533 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.78, allocations: 214.1 kB / 0.6535 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01605/1.796, allocations: 5.918 MB / 0.6593 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001388/1.798, allocations: 77.7 kB / 0.6594 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00535/1.803, allocations: 4.357 MB / 0.6637 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002862/1.806, allocations: 1.236 MB / 0.6649 GB, free: 136 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/1.808, allocations: 176.5 kB / 0.665 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008171/1.808, allocations: 0.6665 MB / 0.6657 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/1.82, allocations: 3.85 MB / 0.6694 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01673/1.837, allocations: 8.639 MB / 0.6779 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.853, allocations: 5.645 MB / 0.6834 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/1.853, allocations: 48 kB / 0.6834 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.3694/2.222, allocations: 13.66 MB / 0.6968 GB, free: 220.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/2.223, allocations: 79.25 kB / 0.6969 GB, free: 220.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/2.223, allocations: 165.6 kB / 0.697 GB, free: 220.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007894/2.231, allocations: 1.807 MB / 0.6988 GB, free: 220.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.245, allocations: 2.029 MB / 0.7008 GB, free: 220.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/2.269, allocations: 12.35 MB / 0.7128 GB, free: 215.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.28, allocations: 0.524 MB / 0.7133 GB, free: 215.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.283, allocations: 0.5041 MB / 0.7138 GB, free: 215.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * Number of states: 0 () * Number of discrete variables: 51 (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],fixed2.color[3],fixed2.color[2],fixed2.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1038 * 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.008998/2.292, allocations: 3.104 MB / 0.7169 GB, free: 214.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/2.294, allocations: 0.5583 MB / 0.7174 GB, free: 214.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/2.318, allocations: 7.71 MB / 0.7249 GB, free: 211.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.388e-05/2.318, allocations: 38.34 kB / 0.725 GB, free: 211.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/2.318, allocations: 10.47 kB / 0.725 GB, free: 211.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.119e-05/2.318, allocations: 14.81 kB / 0.725 GB, free: 211.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05053/2.369, allocations: 16.7 MB / 0.7413 GB, free: 199.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.373e-05/2.369, allocations: 0 / 0.7413 GB, free: 199.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006378/2.375, allocations: 0.5952 MB / 0.7419 GB, free: 198.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007171/2.382, allocations: 1.531 MB / 0.7434 GB, free: 197.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001235/2.384, allocations: 64 kB / 0.7434 GB, free: 197.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/2.408, allocations: 11.58 MB / 0.7547 GB, free: 185.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/2.408, allocations: 7.75 kB / 0.7547 GB, free: 185.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03501/2.443, allocations: 13.12 MB / 0.7676 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00501/2.448, allocations: 1.244 MB / 0.7688 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002981/2.451, allocations: 63.61 kB / 0.7688 GB, free: 171.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006864/2.458, allocations: 271.2 kB / 0.7691 GB, free: 170.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/2.46, allocations: 210.5 kB / 0.7693 GB, free: 170.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007377/2.46, allocations: 87.98 kB / 0.7694 GB, free: 170.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01079/2.471, allocations: 4.215 MB / 0.7735 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.012e-06/2.471, allocations: 0 / 0.7735 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01161/2.483, allocations: 1.706 MB / 0.7752 GB, free: 164.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001685/2.485, allocations: 214.2 kB / 0.7754 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02338/2.508, allocations: 9.429 MB / 0.7846 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.508, allocations: 4 kB / 0.7846 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01186/2.52, allocations: 3.946 MB / 0.7884 GB, free: 151.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006268/2.526, allocations: 0.6721 MB / 0.7891 GB, free: 151 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.045/2.571, allocations: 19.27 MB / 0.8079 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.582, allocations: 4.997 MB / 0.8128 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003872/2.586, allocations: 463.3 kB / 0.8132 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/2.586, allocations: 4 kB / 0.8132 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.604/3.19, allocations: 148.3 MB / 0.9581 GB, free: 196.4 MB / 0.5417 GB