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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.341e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4177, allocations: 48.71 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.1437/0.5615, allocations: 73.65 MB / 398.5 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05005/0.6116, allocations: 15.68 MB / 414.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01881/0.6305, allocations: 383.2 kB / 414.6 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01471/0.6452, allocations: 3.924 MB / 418.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04537/0.6906, allocations: 10.47 MB / 429 MB, free: 7.223 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006965/0.6976, allocations: 0.8776 MB / 429.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05203/0.7497, allocations: 17.12 MB / 447 MB, free: 5.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.7634, allocations: 6.325 MB / 453.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.7667, allocations: 1.243 MB / 454.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.7723, allocations: 2.01 MB / 456.5 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.7769, allocations: 1.096 MB / 457.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.7791, allocations: 196 kB / 457.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005726/0.7848, allocations: 2.451 MB / 460.3 MB, free: 7.832 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.7877, allocations: 424 kB / 460.7 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03576/0.8235, allocations: 9.04 MB / 469.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8236, allocations: 0 / 469.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.486e-06/0.8236, allocations: 0 / 469.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004007/0.8241, allocations: 7.875 kB / 469.7 MB, free: 14.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.03263/0.8567, allocations: 6.441 MB / 476.2 MB, free: 7.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8568, allocations: 12.03 kB / 476.2 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4173/1.274, allocations: 11.96 MB / 488.2 MB, free: 128.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/1.289, allocations: 4.608 MB / 492.8 MB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/1.289, allocations: 382.3 kB / 493.1 MB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/1.292, allocations: 0.4998 MB / 493.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04549/1.337, allocations: 16.5 MB / 0.4982 GB, free: 117.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/1.337, allocations: 60.94 kB / 0.4982 GB, free: 117.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/1.339, allocations: 241.6 kB / 0.4985 GB, free: 117.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006749/1.346, allocations: 2.938 MB / 0.5013 GB, free: 116.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04216/1.388, allocations: 14.01 MB / 0.515 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1016/1.49, allocations: 60.29 MB / 0.5739 GB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0342/1.524, allocations: 8.088 MB / 0.5818 GB, free: 32.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/1.525, allocations: 59 kB / 0.5818 GB, free: 32.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/1.525, allocations: 72.44 kB / 0.5819 GB, free: 32.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=290): time 8.706e-06/1.525, allocations: 3.984 kB / 0.5819 GB, free: 32.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=332): time 0.1623/1.687, allocations: 34.99 MB / 0.6161 GB, free: 13.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/1.687, allocations: 214 kB / 0.6163 GB, free: 12.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01682/1.704, allocations: 5.915 MB / 0.6221 GB, free: 7.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.706, allocations: 81.22 kB / 0.6221 GB, free: 6.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005534/1.711, allocations: 4.358 MB / 0.6264 GB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002801/1.714, allocations: 1.232 MB / 0.6276 GB, free: 1.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/1.716, allocations: 168 kB / 0.6278 GB, free: 1.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001019/1.717, allocations: 0.6743 MB / 0.6284 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3062/2.023, allocations: 3.854 MB / 0.6322 GB, free: 128.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01522/2.038, allocations: 8.633 MB / 0.6406 GB, free: 120.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/2.054, allocations: 5.638 MB / 0.6461 GB, free: 118.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002744/2.054, allocations: 48.38 kB / 0.6462 GB, free: 118.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.04227/2.096, allocations: 13.66 MB / 0.6595 GB, free: 113.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/2.097, allocations: 78.72 kB / 0.6596 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/2.097, allocations: 169 kB / 0.6598 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007767/2.105, allocations: 1.797 MB / 0.6615 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01412/2.119, allocations: 2.034 MB / 0.6635 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/2.143, allocations: 12.36 MB / 0.6756 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.155, allocations: 0.5301 MB / 0.6761 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/2.157, allocations: 0.4953 MB / 0.6766 GB, free: 105.3 MB / 426.7 MB 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.008241/2.165, allocations: 3.102 MB / 0.6796 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.167, allocations: 0.5559 MB / 0.6801 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/2.189, allocations: 7.716 MB / 0.6877 GB, free: 95.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/2.189, allocations: 40.84 kB / 0.6877 GB, free: 95.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/2.189, allocations: 8 kB / 0.6877 GB, free: 95.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-05/2.189, allocations: 15.89 kB / 0.6877 GB, free: 95.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06439/2.254, allocations: 16.68 MB / 0.704 GB, free: 78.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.876e-05/2.254, allocations: 4.75 kB / 0.704 GB, free: 78.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008227/2.262, allocations: 0.6029 MB / 0.7046 GB, free: 77.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009317/2.271, allocations: 1.522 MB / 0.7061 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001051/2.273, allocations: 61.62 kB / 0.7062 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/2.296, allocations: 11.59 MB / 0.7175 GB, free: 64.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/2.296, allocations: 7.938 kB / 0.7175 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03275/2.329, allocations: 13.12 MB / 0.7303 GB, free: 51.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/2.334, allocations: 1.239 MB / 0.7315 GB, free: 50.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/2.336, allocations: 56 kB / 0.7316 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006539/2.343, allocations: 271.6 kB / 0.7318 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/2.344, allocations: 201.8 kB / 0.732 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005391/2.345, allocations: 91.98 kB / 0.7321 GB, free: 49.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009718/2.355, allocations: 4.219 MB / 0.7362 GB, free: 45.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.355, allocations: 0 / 0.7362 GB, free: 45.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01036/2.365, allocations: 1.703 MB / 0.7379 GB, free: 43.56 MB / 426.7 MB 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.001451/2.367, allocations: 218.6 kB / 0.7381 GB, free: 43.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02267/2.389, allocations: 9.431 MB / 0.7473 GB, free: 33.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.389, allocations: 8 kB / 0.7473 GB, free: 33.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01114/2.401, allocations: 3.94 MB / 0.7512 GB, free: 29.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00559/2.406, allocations: 0.6752 MB / 0.7518 GB, free: 29.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04278/2.449, allocations: 19.27 MB / 0.7706 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0102/2.459, allocations: 4.992 MB / 0.7755 GB, free: 4.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/2.463, allocations: 471.3 kB / 0.776 GB, free: 4.414 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/2.463, allocations: 0 / 0.776 GB, free: 4.414 MB / 426.7 MB Notification: Performance of Templates: time 0.579/3.042, allocations: 148.2 MB / 0.9207 GB, free: 19.52 MB / 442.7 MB