Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.19e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3593, allocations: 48.69 MB / 324.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.1545/0.5139, allocations: 99.13 MB / 424 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06393/0.5779, allocations: 20.57 MB / 444.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02475/0.6027, allocations: 0.5106 MB / 445.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01929/0.622, allocations: 5.308 MB / 450.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05637/0.6785, allocations: 14.08 MB / 464.5 MB, free: 3.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008775/0.6873, allocations: 1.201 MB / 465.7 MB, free: 2.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.445/1.132, allocations: 32.79 MB / 498.5 MB, free: 17.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01704/1.149, allocations: 9.087 MB / 0.4957 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/1.154, allocations: 1.716 MB / 0.4973 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005901/1.16, allocations: 2.773 MB / 0.5001 GB, free: 17.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/1.164, allocations: 1.14 MB / 0.5012 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/1.167, allocations: 244.4 kB / 0.5014 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00533/1.172, allocations: 3.331 MB / 0.5047 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003496/1.176, allocations: 0.5611 MB / 0.5052 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/1.192, allocations: 11.89 MB / 0.5168 GB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.192, allocations: 0 / 0.5168 GB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.697e-06/1.192, allocations: 0 / 0.5168 GB, free: 12.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006062/1.193, allocations: 0 / 0.5168 GB, free: 12.1 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.02936/1.222, allocations: 8.252 MB / 0.5249 GB, free: 5.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.222, allocations: 14.38 kB / 0.5249 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2462/1.468, allocations: 21.63 MB / 0.546 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/1.492, allocations: 7.202 MB / 0.553 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000647/1.493, allocations: 0.4932 MB / 0.5535 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/1.496, allocations: 0.6545 MB / 0.5542 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06206/1.558, allocations: 19.91 MB / 0.5736 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004691/1.559, allocations: 94.75 kB / 0.5737 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002761/1.562, allocations: 306.2 kB / 0.574 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00888/1.571, allocations: 3.381 MB / 0.5773 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05614/1.627, allocations: 16.44 MB / 0.5933 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/1.769, allocations: 72.32 MB / 0.664 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3281/2.097, allocations: 8.276 MB / 0.6721 GB, free: 219.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/2.098, allocations: 0.6673 MB / 0.6727 GB, free: 219 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.25e-05/2.099, allocations: 67.73 kB / 0.6728 GB, free: 219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 7.684e-06/2.099, allocations: 3.156 kB / 0.6728 GB, free: 219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.1455/2.244, allocations: 32.4 MB / 0.7044 GB, free: 207.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/2.244, allocations: 301.7 kB / 0.7047 GB, free: 207.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/2.261, allocations: 7.455 MB / 0.712 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/2.262, allocations: 76.27 kB / 0.712 GB, free: 204.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006118/2.268, allocations: 5.826 MB / 0.7177 GB, free: 200 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/2.271, allocations: 1.259 MB / 0.719 GB, free: 199.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/2.272, allocations: 190.9 kB / 0.7192 GB, free: 199 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006582/2.273, allocations: 0.7195 MB / 0.7199 GB, free: 198.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009402/2.282, allocations: 3.641 MB / 0.7234 GB, free: 195.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/2.295, allocations: 9.262 MB / 0.7325 GB, free: 184 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/2.307, allocations: 5.674 MB / 0.738 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/2.307, allocations: 56 kB / 0.738 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03648/2.344, allocations: 13.74 MB / 0.7515 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/2.344, allocations: 92 kB / 0.7516 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/2.344, allocations: 196 kB / 0.7517 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/2.35, allocations: 1.352 MB / 0.7531 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/2.364, allocations: 2.238 MB / 0.7552 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/2.385, allocations: 12.92 MB / 0.7679 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.397, allocations: 0.55 MB / 0.7684 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002005/2.399, allocations: 0.572 MB / 0.769 GB, free: 146.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1171): * Single equations (assignments): 1164 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01077/2.41, allocations: 3.82 MB / 0.7727 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/2.412, allocations: 0.6749 MB / 0.7734 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/2.432, allocations: 6.503 MB / 0.7797 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/2.432, allocations: 37.78 kB / 0.7797 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/2.432, allocations: 8 kB / 0.7797 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/2.432, allocations: 19.95 kB / 0.7798 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04652/2.478, allocations: 15.92 MB / 0.7953 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/2.478, allocations: 0 / 0.7953 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005756/2.484, allocations: 0.5616 MB / 0.7959 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/2.489, allocations: 0.9834 MB / 0.7968 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009403/2.49, allocations: 59.98 kB / 0.7969 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/2.509, allocations: 11.79 MB / 0.8084 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/2.509, allocations: 4.031 kB / 0.8084 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02565/2.534, allocations: 10.85 MB / 0.819 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005181/2.54, allocations: 1.253 MB / 0.8202 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002542/2.542, allocations: 52 kB / 0.8203 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006077/2.548, allocations: 211.7 kB / 0.8205 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009811/2.549, allocations: 198.3 kB / 0.8207 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/2.55, allocations: 91.58 kB / 0.8208 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01274/2.562, allocations: 5.367 MB / 0.826 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.202e-06/2.563, allocations: 0 / 0.826 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01197/2.575, allocations: 1.923 MB / 0.8279 GB, free: 85.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/2.576, allocations: 225.6 kB / 0.8281 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02089/2.597, allocations: 9.215 MB / 0.8371 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/2.597, allocations: 0 / 0.8371 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007396/2.604, allocations: 3.379 MB / 0.8404 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007784/2.612, allocations: 0.9272 MB / 0.8413 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/2.659, allocations: 21.54 MB / 0.8623 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0138/2.673, allocations: 6.123 MB / 0.8683 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01499/2.688, allocations: 3.094 MB / 0.8713 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003301/2.691, allocations: 467.3 kB / 0.8718 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.183e-06/2.691, allocations: 3.938 kB / 0.8718 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.5247/3.216, allocations: 72.65 MB / 0.9427 GB, free: 184.8 MB / 0.5105 GB