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_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.139e-05, allocations: 8 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3979, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.09155/0.4895, allocations: 58.14 MB / 421 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03853/0.5281, allocations: 12.69 MB / 433.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/0.5417, allocations: 303.3 kB / 434 MB, free: 6.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.5526, allocations: 3.084 MB / 437.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03199/0.5846, allocations: 8.375 MB / 445.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005117/0.5898, allocations: 0.7567 MB / 446.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05061/0.6405, allocations: 16.88 MB / 463.1 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01136/0.6519, allocations: 5.166 MB / 468.2 MB, free: 4.148 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.6549, allocations: 1.11 MB / 469.4 MB, free: 3.035 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.6589, allocations: 1.73 MB / 471.1 MB, free: 1.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.6624, allocations: 1.077 MB / 472.2 MB, free: 228 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.664, allocations: 172 kB / 472.3 MB, free: 56 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003746/0.6677, allocations: 2.108 MB / 474.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.6696, allocations: 359.9 kB / 474.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.6822, allocations: 7.575 MB / 482.4 MB, free: 5.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6823, allocations: 0 / 482.4 MB, free: 5.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.6823, allocations: 0 / 482.4 MB, free: 5.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003851/0.6827, allocations: 0 / 482.4 MB, free: 5.996 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.01993/0.7026, allocations: 5.4 MB / 487.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.7027, allocations: 11.97 kB / 487.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/0.8231, allocations: 11.78 MB / 499.6 MB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/0.8421, allocations: 4.302 MB / 0.492 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000557/0.8427, allocations: 311.8 kB / 0.4923 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3178/1.161, allocations: 403.7 kB / 0.4927 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03538/1.196, allocations: 13.01 MB / 0.5054 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/1.196, allocations: 60.23 kB / 0.5055 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/1.197, allocations: 197.6 kB / 0.5057 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005454/1.203, allocations: 2.384 MB / 0.508 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/1.234, allocations: 10.68 MB / 0.5184 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07772/1.312, allocations: 49.74 MB / 0.567 GB, free: 54.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/1.33, allocations: 4.443 MB / 0.5713 GB, free: 49.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/1.346, allocations: 6.567 MB / 0.5778 GB, free: 42.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/1.347, allocations: 55.66 kB / 0.5778 GB, free: 42.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 6.272e-06/1.347, allocations: 0 / 0.5778 GB, free: 42.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.07204/1.419, allocations: 17.9 MB / 0.5953 GB, free: 24.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/1.419, allocations: 235.1 kB / 0.5955 GB, free: 24.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.43, allocations: 5.502 MB / 0.6009 GB, free: 18.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004909/1.431, allocations: 53.7 kB / 0.6009 GB, free: 18.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.434, allocations: 3.907 MB / 0.6048 GB, free: 14.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.435, allocations: 0.7716 MB / 0.6055 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000686/1.436, allocations: 140 kB / 0.6056 GB, free: 14.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004229/1.436, allocations: 0.6126 MB / 0.6062 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005899/1.442, allocations: 2.384 MB / 0.6086 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/1.451, allocations: 6.845 MB / 0.6153 GB, free: 1.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00959/1.461, allocations: 3.956 MB / 0.6191 GB, free: 14.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.461, allocations: 44 kB / 0.6192 GB, free: 14 MB / 442.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0279/1.489, allocations: 9.297 MB / 0.6282 GB, free: 4.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.489, allocations: 76.47 kB / 0.6283 GB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002486/1.489, allocations: 156.9 kB / 0.6285 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.493, allocations: 0.7589 MB / 0.6292 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/1.504, allocations: 1.672 MB / 0.6308 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.517, allocations: 6.579 MB / 0.6373 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008183/1.525, allocations: 399.5 kB / 0.6376 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.526, allocations: 444 kB / 0.6381 GB, free: 10.35 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.007182/1.534, allocations: 2.641 MB / 0.6406 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.535, allocations: 489.6 kB / 0.6411 GB, free: 7.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009848/1.545, allocations: 3.289 MB / 0.6443 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/1.545, allocations: 24 kB / 0.6443 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.545, allocations: 7.953 kB / 0.6444 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/1.545, allocations: 11.97 kB / 0.6444 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.572, allocations: 8.828 MB / 0.653 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.572, allocations: 4 kB / 0.653 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.576, allocations: 327.5 kB / 0.6533 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.578, allocations: 0.4936 MB / 0.6538 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003926/1.579, allocations: 40 kB / 0.6538 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/1.59, allocations: 5.898 MB / 0.6596 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.59, allocations: 7.938 kB / 0.6596 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.606, allocations: 6.465 MB / 0.6659 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/1.609, allocations: 0.8342 MB / 0.6667 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.61, allocations: 32 kB / 0.6668 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003842/1.614, allocations: 100.2 kB / 0.6668 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/1.615, allocations: 125 kB / 0.667 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.615, allocations: 48 kB / 0.667 GB, free: 12.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0106/1.626, allocations: 3.951 MB / 0.6709 GB, free: 8.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.352e-06/1.626, allocations: 3.938 kB / 0.6709 GB, free: 8.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008587/1.634, allocations: 1.251 MB / 0.6721 GB, free: 6.898 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.0009605/1.635, allocations: 185.6 kB / 0.6723 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01579/1.651, allocations: 5.865 MB / 0.678 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.651, allocations: 0 / 0.678 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3204/1.972, allocations: 1.778 MB / 0.6797 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/1.977, allocations: 0.6002 MB / 0.6803 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/2.011, allocations: 14.43 MB / 0.6944 GB, free: 162.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008555/2.02, allocations: 4.239 MB / 0.6986 GB, free: 160.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/2.022, allocations: 378.3 kB / 0.6989 GB, free: 160.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/2.022, allocations: 3.062 kB / 0.6989 GB, free: 160.6 MB / 490.7 MB Notification: Performance of Templates: time 0.2081/2.23, allocations: 118.9 MB / 0.8151 GB, free: 45.82 MB / 490.7 MB