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_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 1.822/1.822, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.571e-05, allocations: 8 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 48.7 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4897, allocations: 93.95 MB / 415.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.49, allocations: 71.58 kB / 415.8 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4418/0.9318, allocations: 114.4 MB / 0.5178 GB, free: 6.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9318, allocations: 0 / 0.5178 GB, free: 6.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003831/0.9322, allocations: 104 kB / 0.5179 GB, free: 6.078 MB / 426.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.01852/0.9508, allocations: 5.459 MB / 0.5232 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.9508, allocations: 11.97 kB / 0.5232 GB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3579/1.309, allocations: 6.951 MB / 0.53 GB, free: 76.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.333, allocations: 6.858 MB / 0.5367 GB, free: 76.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005239/1.334, allocations: 417.8 kB / 0.5371 GB, free: 76.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/1.336, allocations: 0.5395 MB / 0.5376 GB, free: 76.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/1.368, allocations: 13.19 MB / 0.5505 GB, free: 73.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/1.368, allocations: 77.16 kB / 0.5506 GB, free: 73.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001391/1.369, allocations: 269.3 kB / 0.5508 GB, free: 73.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/1.371, allocations: 1.251 MB / 0.552 GB, free: 73.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/1.405, allocations: 10.27 MB / 0.5621 GB, free: 73.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06933/1.475, allocations: 59.64 MB / 0.6203 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.49, allocations: 4.575 MB / 0.6248 GB, free: 29.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00378/1.493, allocations: 2.215 MB / 0.627 GB, free: 28.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/1.507, allocations: 6.503 MB / 0.6333 GB, free: 25.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.507, allocations: 54.41 kB / 0.6334 GB, free: 25.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 7.612e-06/1.507, allocations: 3 kB / 0.6334 GB, free: 25.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.04577/1.553, allocations: 14.54 MB / 0.6476 GB, free: 15.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.553, allocations: 223 kB / 0.6478 GB, free: 15.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.563, allocations: 5.157 MB / 0.6528 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/1.563, allocations: 54.25 kB / 0.6529 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/1.566, allocations: 3.927 MB / 0.6567 GB, free: 6.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000958/1.567, allocations: 0.7801 MB / 0.6575 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/1.568, allocations: 143.6 kB / 0.6576 GB, free: 6.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/1.568, allocations: 0.6066 MB / 0.6582 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/1.573, allocations: 2.249 MB / 0.6604 GB, free: 3.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008637/1.582, allocations: 6.679 MB / 0.6669 GB, free: 11.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008861/1.591, allocations: 3.873 MB / 0.6707 GB, free: 7.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/1.591, allocations: 44 kB / 0.6707 GB, free: 7.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02215/1.613, allocations: 8.477 MB / 0.679 GB, free: 352 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.613, allocations: 79.95 kB / 0.6791 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/1.613, allocations: 159.9 kB / 0.6792 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/1.616, allocations: 0.649 MB / 0.6799 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007416/1.624, allocations: 1.638 MB / 0.6815 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009928/1.633, allocations: 5.735 MB / 0.6871 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007526/1.641, allocations: 376.9 kB / 0.6874 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.643, allocations: 447 kB / 0.6879 GB, free: 8.008 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (882): * Single equations (assignments): 877 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001396/1.644, allocations: 0.659 MB / 0.6885 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.645, allocations: 493.6 kB / 0.689 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/1.652, allocations: 3.027 MB / 0.6919 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/1.653, allocations: 20 kB / 0.6919 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.653, allocations: 8 kB / 0.692 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.653, allocations: 6.75 kB / 0.692 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2788/1.931, allocations: 8.466 MB / 0.7002 GB, free: 94.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.931, allocations: 3.469 kB / 0.7002 GB, free: 94.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.934, allocations: 321.4 kB / 0.7005 GB, free: 94.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/1.935, allocations: 365.2 kB / 0.7009 GB, free: 94.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/1.935, allocations: 37.72 kB / 0.7009 GB, free: 94.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/1.942, allocations: 5.07 MB / 0.7059 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.15e-06/1.942, allocations: 3.594 kB / 0.7059 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.953, allocations: 6.088 MB / 0.7118 GB, free: 90.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.956, allocations: 0.7956 MB / 0.7126 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.957, allocations: 32.83 kB / 0.7126 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.96, allocations: 98.52 kB / 0.7127 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/1.96, allocations: 115.8 kB / 0.7128 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.961, allocations: 56.95 kB / 0.7129 GB, free: 90.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00902/1.97, allocations: 3.675 MB / 0.7165 GB, free: 90.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.311e-06/1.97, allocations: 0 / 0.7165 GB, free: 90.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008094/1.978, allocations: 1.23 MB / 0.7177 GB, free: 90.44 MB / 458.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.000617/1.978, allocations: 172.1 kB / 0.7178 GB, free: 90.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01039/1.989, allocations: 5.391 MB / 0.7231 GB, free: 90.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.501e-06/1.989, allocations: 0 / 0.7231 GB, free: 90.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.992, allocations: 1.652 MB / 0.7247 GB, free: 89.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.996, allocations: 0.602 MB / 0.7253 GB, free: 89.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/2.019, allocations: 10.22 MB / 0.7353 GB, free: 87.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008217/2.027, allocations: 4.241 MB / 0.7394 GB, free: 87.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/2.029, allocations: 370.7 kB / 0.7398 GB, free: 87.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.954e-06/2.029, allocations: 0 / 0.7398 GB, free: 87.03 MB / 458.7 MB Notification: Performance of Templates: time 0.1598/2.188, allocations: 116.8 MB / 0.8538 GB, free: 10.2 MB / 458.7 MB