Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.277e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3803, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.09371/0.4741, allocations: 58.14 MB / 421 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04728/0.5214, allocations: 12.7 MB / 433.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01559/0.5371, allocations: 311.2 kB / 434 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01359/0.5507, allocations: 3.08 MB / 437.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0339/0.5847, allocations: 8.375 MB / 445.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.5899, allocations: 0.7567 MB / 446.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0494/0.6394, allocations: 16.88 MB / 463.1 MB, free: 9.289 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.6501, allocations: 5.151 MB / 468.3 MB, free: 4.078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.6531, allocations: 1.106 MB / 469.4 MB, free: 2.969 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.6571, allocations: 1.73 MB / 471.1 MB, free: 1.234 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.6611, allocations: 1.073 MB / 472.2 MB, free: 164 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.6631, allocations: 172 kB / 472.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.6673, allocations: 2.116 MB / 474.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.6693, allocations: 364 kB / 474.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.6816, allocations: 7.575 MB / 482.4 MB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6817, allocations: 0 / 482.4 MB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.6817, allocations: 0 / 482.4 MB, free: 5.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000347/0.6821, allocations: 0 / 482.4 MB, free: 5.922 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02442/0.7065, allocations: 5.393 MB / 487.8 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/0.7066, allocations: 11.97 kB / 487.8 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.123/0.8296, allocations: 11.79 MB / 499.6 MB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/0.8439, allocations: 4.302 MB / 0.4921 GB, free: 280 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3316/1.176, allocations: 305.9 kB / 0.4924 GB, free: 123.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.178, allocations: 407.9 kB / 0.4928 GB, free: 123.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0358/1.214, allocations: 13.02 MB / 0.5055 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/1.214, allocations: 64.08 kB / 0.5055 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009871/1.215, allocations: 194.8 kB / 0.5057 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005449/1.221, allocations: 2.386 MB / 0.508 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03143/1.252, allocations: 10.67 MB / 0.5185 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07817/1.33, allocations: 49.74 MB / 0.567 GB, free: 53.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/1.348, allocations: 4.453 MB / 0.5714 GB, free: 49.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/1.364, allocations: 6.565 MB / 0.5778 GB, free: 42.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.365, allocations: 55.59 kB / 0.5778 GB, free: 42.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 6.402e-06/1.365, allocations: 0 / 0.5778 GB, free: 42.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.06981/1.434, allocations: 17.91 MB / 0.5953 GB, free: 24.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.435, allocations: 227.2 kB / 0.5955 GB, free: 24.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.446, allocations: 5.506 MB / 0.6009 GB, free: 18.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004812/1.447, allocations: 53.7 kB / 0.601 GB, free: 18.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003566/1.45, allocations: 4.091 MB / 0.605 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.452, allocations: 0.7716 MB / 0.6057 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/1.452, allocations: 146.1 kB / 0.6059 GB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004193/1.453, allocations: 0.6078 MB / 0.6065 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006131/1.459, allocations: 2.388 MB / 0.6088 GB, free: 10.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008723/1.468, allocations: 6.848 MB / 0.6155 GB, free: 1.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009915/1.478, allocations: 3.954 MB / 0.6193 GB, free: 13.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/1.478, allocations: 48 kB / 0.6194 GB, free: 13.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02911/1.507, allocations: 9.493 MB / 0.6287 GB, free: 4.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.507, allocations: 76 kB / 0.6287 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/1.508, allocations: 156 kB / 0.6289 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/1.511, allocations: 0.7711 MB / 0.6296 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/1.522, allocations: 1.665 MB / 0.6313 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.535, allocations: 6.575 MB / 0.6377 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008135/1.543, allocations: 391.6 kB / 0.638 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/1.545, allocations: 448 kB / 0.6385 GB, free: 9.727 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (877): * Single equations (assignments): 870 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007483/1.553, allocations: 2.645 MB / 0.6411 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.554, allocations: 493.6 kB / 0.6415 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.565, allocations: 3.285 MB / 0.6447 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.4e-05/1.565, allocations: 23.95 kB / 0.6448 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/1.565, allocations: 4 kB / 0.6448 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/1.565, allocations: 15.97 kB / 0.6448 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.595, allocations: 8.839 MB / 0.6534 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/1.595, allocations: 8 kB / 0.6534 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/1.599, allocations: 323.5 kB / 0.6537 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/1.601, allocations: 0.5011 MB / 0.6542 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004938/1.602, allocations: 43.92 kB / 0.6543 GB, free: 9.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.614, allocations: 5.882 MB / 0.66 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.614, allocations: 11.95 kB / 0.66 GB, free: 3.242 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.631, allocations: 6.452 MB / 0.6663 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.634, allocations: 0.8344 MB / 0.6671 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/1.636, allocations: 32 kB / 0.6672 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003842/1.64, allocations: 99.88 kB / 0.6673 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/1.641, allocations: 117 kB / 0.6674 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.641, allocations: 55.98 kB / 0.6674 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01068/1.652, allocations: 3.952 MB / 0.6713 GB, free: 7.523 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.737e-06/1.652, allocations: 112 / 0.6713 GB, free: 7.523 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009158/1.661, allocations: 1.259 MB / 0.6725 GB, free: 6.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(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.0009841/1.662, allocations: 177.7 kB / 0.6727 GB, free: 6.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01606/1.678, allocations: 5.876 MB / 0.6784 GB, free: 228 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.678, allocations: 0 / 0.6784 GB, free: 228 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3329/2.011, allocations: 1.773 MB / 0.6801 GB, free: 168.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/2.016, allocations: 0.6049 MB / 0.6807 GB, free: 168.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/2.046, allocations: 13.8 MB / 0.6942 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007901/2.054, allocations: 4.235 MB / 0.6984 GB, free: 161.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009787/2.064, allocations: 2.317 MB / 0.7006 GB, free: 161.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/2.066, allocations: 319.2 kB / 0.7009 GB, free: 161.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/2.066, allocations: 0 / 0.7009 GB, free: 161.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1285/2.194, allocations: 44.6 MB / 0.7445 GB, free: 118.3 MB / 490.7 MB