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.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.535e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3552, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.09353/0.4488, allocations: 58.12 MB / 383 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04936/0.4983, allocations: 12.68 MB / 395.7 MB, free: 8.512 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01939/0.5177, allocations: 303.3 kB / 396 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01607/0.5339, allocations: 3.076 MB / 399.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03745/0.5714, allocations: 8.372 MB / 407.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005359/0.5768, allocations: 0.7723 MB / 408.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05105/0.6279, allocations: 16.87 MB / 425.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.6392, allocations: 5.168 MB / 430.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.6425, allocations: 1.11 MB / 431.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.6466, allocations: 1.734 MB / 433.1 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.6503, allocations: 1.073 MB / 434.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00173/0.6521, allocations: 176 kB / 434.3 MB, free: 1.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.656, allocations: 2.104 MB / 436.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.6581, allocations: 356 kB / 436.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.6704, allocations: 7.563 MB / 444.3 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6705, allocations: 4 kB / 444.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6705, allocations: 0 / 444.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003459/0.6709, allocations: 0 / 444.3 MB, free: 7.723 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.0204/0.6913, allocations: 5.408 MB / 449.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.6914, allocations: 8.031 kB / 449.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1219/0.8133, allocations: 11.78 MB / 461.5 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.8298, allocations: 4.302 MB / 465.8 MB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.8303, allocations: 307.8 kB / 466.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.8324, allocations: 411.7 kB / 466.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03831/0.8708, allocations: 13.01 MB / 479.5 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002827/0.8711, allocations: 55.47 kB / 479.6 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001862/0.873, allocations: 195.8 kB / 479.8 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006514/0.8796, allocations: 2.39 MB / 482.2 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3349/1.215, allocations: 10.66 MB / 492.8 MB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0853/1.3, allocations: 49.72 MB / 0.5298 GB, free: 84.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/1.318, allocations: 4.437 MB / 0.5342 GB, free: 79.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.336, allocations: 6.584 MB / 0.5406 GB, free: 73.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/1.336, allocations: 58.41 kB / 0.5407 GB, free: 73.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 6.051e-06/1.336, allocations: 0 / 0.5407 GB, free: 73.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.07528/1.411, allocations: 17.9 MB / 0.5581 GB, free: 54.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/1.411, allocations: 231.1 kB / 0.5584 GB, free: 54.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/1.424, allocations: 5.507 MB / 0.5637 GB, free: 49.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005947/1.425, allocations: 54.8 kB / 0.5638 GB, free: 49.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00375/1.429, allocations: 4.101 MB / 0.5678 GB, free: 44.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.43, allocations: 0.767 MB / 0.5685 GB, free: 44.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007018/1.431, allocations: 140.8 kB / 0.5687 GB, free: 44.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000445/1.431, allocations: 0.6078 MB / 0.5693 GB, free: 43.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005972/1.437, allocations: 2.38 MB / 0.5716 GB, free: 41.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008643/1.446, allocations: 6.848 MB / 0.5783 GB, free: 32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/1.455, allocations: 3.964 MB / 0.5822 GB, free: 28.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/1.455, allocations: 48 kB / 0.5822 GB, free: 27.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0251/1.48, allocations: 9.508 MB / 0.5915 GB, free: 18.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.48, allocations: 77 kB / 0.5916 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001881/1.48, allocations: 156 kB / 0.5917 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.483, allocations: 0.7628 MB / 0.5925 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009854/1.493, allocations: 1.657 MB / 0.5941 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.505, allocations: 6.574 MB / 0.6005 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008574/1.514, allocations: 396.9 kB / 0.6009 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.515, allocations: 445.5 kB / 0.6013 GB, free: 8.145 MB / 410.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.006135/1.521, allocations: 2.646 MB / 0.6039 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.522, allocations: 497.5 kB / 0.6044 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00903/1.531, allocations: 3.285 MB / 0.6076 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.532, allocations: 20 kB / 0.6076 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.532, allocations: 11.95 kB / 0.6076 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/1.532, allocations: 7.969 kB / 0.6076 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.561, allocations: 8.84 MB / 0.6162 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-05/1.561, allocations: 4 kB / 0.6162 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/1.564, allocations: 327.5 kB / 0.6166 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.567, allocations: 0.4954 MB / 0.617 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/1.567, allocations: 41.09 kB / 0.6171 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/1.579, allocations: 5.897 MB / 0.6228 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/1.58, allocations: 4 kB / 0.6228 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/1.597, allocations: 6.469 MB / 0.6292 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/1.6, allocations: 0.8304 MB / 0.63 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/1.603, allocations: 36.86 kB / 0.63 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004061/1.607, allocations: 95.88 kB / 0.6301 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/1.607, allocations: 125 kB / 0.6302 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.608, allocations: 53.17 kB / 0.6303 GB, free: 9.906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01053/1.618, allocations: 3.956 MB / 0.6341 GB, free: 5.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.533e-06/1.618, allocations: 0 / 0.6341 GB, free: 5.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008413/1.627, allocations: 1.252 MB / 0.6353 GB, free: 4.734 MB / 442.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.001014/1.628, allocations: 187.6 kB / 0.6355 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3123/1.94, allocations: 5.856 MB / 0.6412 GB, free: 143.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.94, allocations: 4.188 kB / 0.6412 GB, free: 143.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004501/1.945, allocations: 1.781 MB / 0.643 GB, free: 143.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/1.95, allocations: 0.5935 MB / 0.6436 GB, free: 143.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/1.987, allocations: 13.79 MB / 0.657 GB, free: 136.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/1.997, allocations: 4.244 MB / 0.6612 GB, free: 135.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01099/2.008, allocations: 2.323 MB / 0.6634 GB, free: 135.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/2.01, allocations: 325.3 kB / 0.6638 GB, free: 135.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.644e-06/2.01, allocations: 0 / 0.6638 GB, free: 135.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1302/2.14, allocations: 44.58 MB / 0.7073 GB, free: 100.7 MB / 442.7 MB