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_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.297e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3707, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.1089/0.4796, allocations: 70.65 MB / 433.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0447/0.5244, allocations: 15.18 MB / 448.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01679/0.5413, allocations: 371.2 kB / 449 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.5547, allocations: 3.76 MB / 452.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04413/0.5988, allocations: 10.05 MB / 462.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007899/0.6068, allocations: 0.8737 MB / 463.7 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.06519/0.6721, allocations: 17.09 MB / 480.8 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/0.6901, allocations: 6.508 MB / 487.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.6937, allocations: 1.251 MB / 488.6 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/0.6984, allocations: 1.971 MB / 490.5 MB, free: 13.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.7026, allocations: 1.092 MB / 491.6 MB, free: 12.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.7048, allocations: 200 kB / 491.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004522/0.7094, allocations: 2.381 MB / 494.2 MB, free: 10.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.7118, allocations: 420 kB / 494.6 MB, free: 9.742 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.727, allocations: 8.962 MB / 0.4918 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7271, allocations: 0 / 0.4918 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.267e-06/0.7271, allocations: 4 kB / 0.4918 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003957/0.7275, allocations: 3.938 kB / 0.4918 GB, free: 0.75 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.3277/1.055, allocations: 6.373 MB / 0.498 GB, free: 124.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.055, allocations: 8.219 kB / 0.498 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1157/1.171, allocations: 11.92 MB / 0.5097 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/1.19, allocations: 4.583 MB / 0.5141 GB, free: 111 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006322/1.191, allocations: 383.5 kB / 0.5145 GB, free: 110.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003419/1.194, allocations: 0.4976 MB / 0.515 GB, free: 110.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05998/1.254, allocations: 16.54 MB / 0.5311 GB, free: 93.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/1.255, allocations: 63.42 kB / 0.5312 GB, free: 92.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002382/1.257, allocations: 236.8 kB / 0.5314 GB, free: 92.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00678/1.264, allocations: 2.937 MB / 0.5343 GB, free: 89.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04448/1.309, allocations: 14.2 MB / 0.5482 GB, free: 75.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/1.411, allocations: 58.82 MB / 0.6056 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02966/1.441, allocations: 7.222 MB / 0.6127 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.041/1.482, allocations: 15.16 MB / 0.6275 GB, free: 8.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/1.482, allocations: 68.5 kB / 0.6275 GB, free: 8.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.795e-06/1.482, allocations: 0 / 0.6275 GB, free: 8.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.1508/1.633, allocations: 32.3 MB / 0.6591 GB, free: 8.121 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.633, allocations: 218.2 kB / 0.6593 GB, free: 7.863 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.645, allocations: 4.99 MB / 0.6642 GB, free: 2.891 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.646, allocations: 77.7 kB / 0.6642 GB, free: 2.809 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3223/1.969, allocations: 4.203 MB / 0.6683 GB, free: 157.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002461/1.971, allocations: 1.273 MB / 0.6696 GB, free: 156.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/1.973, allocations: 162.8 kB / 0.6697 GB, free: 156.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008208/1.974, allocations: 0.6548 MB / 0.6704 GB, free: 156.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01099/1.985, allocations: 3.674 MB / 0.674 GB, free: 155.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/1.998, allocations: 8.093 MB / 0.6819 GB, free: 148.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/2.012, allocations: 5.341 MB / 0.6871 GB, free: 146.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/2.012, allocations: 45.08 kB / 0.6871 GB, free: 146.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03909/2.051, allocations: 13.01 MB / 0.6998 GB, free: 138.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/2.052, allocations: 73.56 kB / 0.6999 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002624/2.052, allocations: 152 kB / 0.7 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007619/2.06, allocations: 1.79 MB / 0.7018 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/2.073, allocations: 1.925 MB / 0.7037 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/2.097, allocations: 12.33 MB / 0.7157 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/2.107, allocations: 495.3 kB / 0.7162 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/2.11, allocations: 480.9 kB / 0.7166 GB, free: 121.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 986 * 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.008679/2.118, allocations: 3.033 MB / 0.7196 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.12, allocations: 0.4975 MB / 0.7201 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02468/2.145, allocations: 7.653 MB / 0.7276 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/2.145, allocations: 36 kB / 0.7276 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/2.145, allocations: 8.812 kB / 0.7276 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.221e-05/2.145, allocations: 23.73 kB / 0.7276 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05037/2.195, allocations: 16.43 MB / 0.7437 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.244e-05/2.195, allocations: 0 / 0.7437 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006572/2.202, allocations: 0.6124 MB / 0.7443 GB, free: 93.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007137/2.209, allocations: 1.532 MB / 0.7458 GB, free: 91.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/2.21, allocations: 67.98 kB / 0.7458 GB, free: 91.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/2.234, allocations: 11.51 MB / 0.7571 GB, free: 80.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.234, allocations: 4 kB / 0.7571 GB, free: 80.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03356/2.267, allocations: 12.3 MB / 0.7691 GB, free: 67.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004344/2.272, allocations: 1.123 MB / 0.7702 GB, free: 66.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/2.274, allocations: 56 kB / 0.7702 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006233/2.28, allocations: 247.7 kB / 0.7705 GB, free: 66.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001501/2.282, allocations: 202.1 kB / 0.7707 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006496/2.282, allocations: 91.98 kB / 0.7708 GB, free: 65.97 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008669/2.291, allocations: 3.532 MB / 0.7742 GB, free: 62.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.593e-06/2.291, allocations: 0 / 0.7742 GB, free: 62.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0104/2.302, allocations: 1.652 MB / 0.7758 GB, free: 60.81 MB / 474.7 MB 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 (294): * Single equations (assignments): 289 * 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.001608/2.303, allocations: 224 kB / 0.776 GB, free: 60.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0223/2.326, allocations: 9.07 MB / 0.7849 GB, free: 51.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/2.326, allocations: 0 / 0.7849 GB, free: 51.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01161/2.337, allocations: 3.853 MB / 0.7887 GB, free: 47.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006261/2.344, allocations: 0.638 MB / 0.7893 GB, free: 46.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/2.39, allocations: 18.85 MB / 0.8077 GB, free: 28.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.4, allocations: 4.934 MB / 0.8125 GB, free: 23.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003675/2.404, allocations: 439.3 kB / 0.8129 GB, free: 22.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/2.404, allocations: 0 / 0.8129 GB, free: 22.69 MB / 474.7 MB Notification: Performance of Templates: time 0.5859/2.99, allocations: 143 MB / 0.9526 GB, free: 63.06 MB / 490.7 MB