Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.58e-05, allocations: 4 kB / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08732, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4524, allocations: 94.47 MB / 416.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4527, allocations: 74.16 kB / 416.3 MB, free: 1.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7531/1.206, allocations: 132.7 MB / 0.5362 GB, free: 71.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.206, allocations: 0 / 0.5362 GB, free: 71.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003949/1.206, allocations: 128.6 kB / 0.5363 GB, free: 71.46 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02188/1.228, allocations: 6.433 MB / 0.5426 GB, free: 68.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.228, allocations: 9.75 kB / 0.5426 GB, free: 68.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03834/1.267, allocations: 7.13 MB / 0.5496 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/1.288, allocations: 7.23 MB / 0.5566 GB, free: 67.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000605/1.288, allocations: 0.5027 MB / 0.5571 GB, free: 67.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/1.291, allocations: 0.6701 MB / 0.5578 GB, free: 67.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04239/1.334, allocations: 16.51 MB / 0.5739 GB, free: 64.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/1.334, allocations: 80.16 kB / 0.574 GB, free: 64.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002827/1.337, allocations: 324.1 kB / 0.5743 GB, free: 64.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002774/1.34, allocations: 1.558 MB / 0.5758 GB, free: 64.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03537/1.375, allocations: 13.51 MB / 0.589 GB, free: 63.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09023/1.466, allocations: 70.1 MB / 0.6574 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/1.489, allocations: 7.807 MB / 0.6651 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/1.503, allocations: 4.284 MB / 0.6693 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/1.503, allocations: 59.73 kB / 0.6693 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/1.503, allocations: 67.89 kB / 0.6694 GB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 8.579e-06/1.503, allocations: 0 / 0.6694 GB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=332): time 0.3643/1.868, allocations: 28.23 MB / 0.6969 GB, free: 78.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.868, allocations: 213.7 kB / 0.6971 GB, free: 78.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.882, allocations: 5.568 MB / 0.7026 GB, free: 77.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007336/1.883, allocations: 74.64 kB / 0.7027 GB, free: 77.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003602/1.886, allocations: 4.377 MB / 0.7069 GB, free: 75.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.888, allocations: 1.24 MB / 0.7081 GB, free: 74.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.889, allocations: 172.7 kB / 0.7083 GB, free: 74.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000617/1.89, allocations: 0.6718 MB / 0.709 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007981/1.898, allocations: 3.708 MB / 0.7126 GB, free: 74.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.908, allocations: 8.473 MB / 0.7209 GB, free: 68.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/1.923, allocations: 5.559 MB / 0.7263 GB, free: 68.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003414/1.924, allocations: 48.94 kB / 0.7263 GB, free: 68.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.06494/1.989, allocations: 12.87 MB / 0.7389 GB, free: 67.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003111/1.989, allocations: 81.53 kB / 0.739 GB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004449/1.99, allocations: 168.7 kB / 0.7391 GB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/2, allocations: 1.68 MB / 0.7408 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009477/2.01, allocations: 2.093 MB / 0.7428 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/2.028, allocations: 11.36 MB / 0.7539 GB, free: 61.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009479/2.037, allocations: 0.5208 MB / 0.7544 GB, free: 61.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.039, allocations: 0.5072 MB / 0.7549 GB, free: 61.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1047): * Single equations (assignments): 1042 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002092/2.041, allocations: 0.7472 MB / 0.7557 GB, free: 60.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.043, allocations: 0.5557 MB / 0.7562 GB, free: 60.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/2.06, allocations: 7.434 MB / 0.7635 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-05/2.06, allocations: 38.7 kB / 0.7635 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/2.06, allocations: 7.75 kB / 0.7635 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/2.061, allocations: 18.05 kB / 0.7635 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04057/2.101, allocations: 16.25 MB / 0.7794 GB, free: 52.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/2.101, allocations: 3.375 kB / 0.7794 GB, free: 52.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004363/2.106, allocations: 0.6537 MB / 0.78 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/2.11, allocations: 1.413 MB / 0.7814 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/2.111, allocations: 66.98 kB / 0.7815 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/2.129, allocations: 10.59 MB / 0.7918 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.076e-06/2.129, allocations: 4 kB / 0.7918 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02353/2.152, allocations: 12.7 MB / 0.8042 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004317/2.156, allocations: 1.211 MB / 0.8054 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.158, allocations: 60.45 kB / 0.8055 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004941/2.163, allocations: 269.7 kB / 0.8057 GB, free: 31.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/2.165, allocations: 205.3 kB / 0.8059 GB, free: 31.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004242/2.165, allocations: 97.11 kB / 0.806 GB, free: 31.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009092/2.174, allocations: 3.938 MB / 0.8099 GB, free: 27.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.24e-06/2.174, allocations: 4 kB / 0.8099 GB, free: 27.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01071/2.185, allocations: 1.665 MB / 0.8115 GB, free: 26.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/2.186, allocations: 217.4 kB / 0.8117 GB, free: 25.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01737/2.203, allocations: 8.909 MB / 0.8204 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.203, allocations: 0 / 0.8204 GB, free: 17.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008046/2.212, allocations: 3.763 MB / 0.8241 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/2.217, allocations: 0.667 MB / 0.8247 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/2.251, allocations: 14.14 MB / 0.8385 GB, free: 1.395 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/2.263, allocations: 5.035 MB / 0.8434 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/2.267, allocations: 465.5 kB / 0.8439 GB, free: 13.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.825e-06/2.267, allocations: 0 / 0.8439 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Templates: time 0.4779/2.745, allocations: 145.7 MB / 0.9862 GB, free: 12.7 MB / 458.7 MB