Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.51e-05, allocations: 3.984 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.5589, allocations: 103.9 MB / 463.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.5591, allocations: 71.95 kB / 463.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089/1.648, allocations: 223.7 MB / 0.6713 GB, free: 16.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.316e-06/1.648, allocations: 0 / 0.6713 GB, free: 16.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000642/1.648, allocations: 236 kB / 0.6715 GB, free: 15.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.03715/1.686, allocations: 11.39 MB / 0.6826 GB, free: 4.477 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.686, allocations: 12.03 kB / 0.6826 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06901/1.755, allocations: 12.64 MB / 0.695 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.652/2.407, allocations: 12.54 MB / 0.7072 GB, free: 49.89 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/2.408, allocations: 0.8996 MB / 0.7081 GB, free: 49.87 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00528/2.413, allocations: 1.209 MB / 0.7093 GB, free: 49.87 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1035/2.517, allocations: 28.01 MB / 0.7366 GB, free: 44.44 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001469/2.518, allocations: 134.4 kB / 0.7368 GB, free: 44.44 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01665/2.535, allocations: 0.5571 MB / 0.7373 GB, free: 44.44 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02191/2.557, allocations: 2.681 MB / 0.7399 GB, free: 44.41 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07039/2.628, allocations: 22.82 MB / 0.7622 GB, free: 44.36 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/2.808, allocations: 116.9 MB / 0.8763 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07594/2.884, allocations: 15.05 MB / 0.891 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01547/2.899, allocations: 7.87 MB / 0.8987 GB, free: 6.781 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003811/2.903, allocations: 2.355 MB / 0.901 GB, free: 4.258 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/2.903, allocations: 94.2 kB / 0.9011 GB, free: 4.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=559): time 1.21e-05/2.903, allocations: 0 / 0.9011 GB, free: 4.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=643): time 0.5524/3.456, allocations: 53.33 MB / 0.9532 GB, free: 99.21 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/3.456, allocations: 327.1 kB / 0.9535 GB, free: 98.89 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0208/3.477, allocations: 8.968 MB / 0.9623 GB, free: 98.16 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001512/3.478, allocations: 126.3 kB / 0.9624 GB, free: 98.13 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.006502/3.485, allocations: 7.741 MB / 0.97 GB, free: 94.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003563/3.488, allocations: 2.341 MB / 0.9722 GB, free: 92.97 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002384/3.491, allocations: 289.6 kB / 0.9725 GB, free: 92.97 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.00137/3.492, allocations: 0.9049 MB / 0.9734 GB, free: 92.64 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01438/3.507, allocations: 6.388 MB / 0.9796 GB, free: 92.61 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01877/3.525, allocations: 13.87 MB / 0.9932 GB, free: 82.84 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01885/3.544, allocations: 9.351 MB / 1.002 GB, free: 79.92 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002577/3.545, allocations: 78.12 kB / 1.002 GB, free: 79.92 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.05597/3.601, allocations: 22.49 MB / 1.024 GB, free: 72.74 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/3.601, allocations: 122.3 kB / 1.024 GB, free: 72.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/3.601, allocations: 260 kB / 1.025 GB, free: 72.37 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/3.612, allocations: 3.257 MB / 1.028 GB, free: 69.97 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/3.628, allocations: 3.503 MB / 1.031 GB, free: 67.04 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03463/3.663, allocations: 22.56 MB / 1.053 GB, free: 46.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/3.679, allocations: 0.87 MB / 1.054 GB, free: 46.07 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00333/3.682, allocations: 0.8087 MB / 1.055 GB, free: 45.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1741): * Single equations (assignments): 1734 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004848/3.687, allocations: 1.18 MB / 1.056 GB, free: 44.12 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/3.689, allocations: 0.9454 MB / 1.057 GB, free: 43.16 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/3.724, allocations: 14.44 MB / 1.071 GB, free: 31.43 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-05/3.724, allocations: 68 kB / 1.071 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/3.724, allocations: 16 kB / 1.071 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/3.724, allocations: 34.7 kB / 1.071 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4349/4.159, allocations: 31.16 MB / 1.102 GB, free: 85.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.971e-05/4.159, allocations: 7.219 kB / 1.102 GB, free: 85.43 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008696/4.168, allocations: 1.21 MB / 1.103 GB, free: 85.43 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/4.179, allocations: 2.826 MB / 1.106 GB, free: 85.39 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001651/4.181, allocations: 119.4 kB / 1.106 GB, free: 85.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03732/4.218, allocations: 21.07 MB / 1.126 GB, free: 80.07 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.076e-06/4.218, allocations: 7.031 kB / 1.126 GB, free: 80.07 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04965/4.268, allocations: 23.75 MB / 1.15 GB, free: 77.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007045/4.275, allocations: 2.036 MB / 1.152 GB, free: 77.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003805/4.279, allocations: 111.1 kB / 1.152 GB, free: 77.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008561/4.287, allocations: 488.3 kB / 1.152 GB, free: 77.01 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002105/4.289, allocations: 390.6 kB / 1.152 GB, free: 77 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001495/4.291, allocations: 167.1 kB / 1.153 GB, free: 77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01568/4.307, allocations: 6.416 MB / 1.159 GB, free: 76.66 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.358e-06/4.307, allocations: 2.719 kB / 1.159 GB, free: 76.66 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01821/4.325, allocations: 2.935 MB / 1.162 GB, free: 76.66 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.001847/4.327, allocations: 301.8 kB / 1.162 GB, free: 76.58 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03156/4.358, allocations: 15.59 MB / 1.177 GB, free: 73.11 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/4.358, allocations: 2.078 kB / 1.177 GB, free: 73.11 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01613/4.374, allocations: 6.963 MB / 1.184 GB, free: 70.44 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008914/4.383, allocations: 1.199 MB / 1.185 GB, free: 69.94 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05671/4.44, allocations: 23.98 MB / 1.209 GB, free: 61.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01898/4.459, allocations: 8.305 MB / 1.217 GB, free: 57.86 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01785/4.477, allocations: 4.716 MB / 1.221 GB, free: 54.77 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004814/4.482, allocations: 0.672 MB / 1.222 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of SimCode: time 1.77e-06/4.482, allocations: 4 kB / 1.222 GB, free: 54.13 MB / 0.5262 GB Notification: Performance of Templates: time 0.6661/5.148, allocations: 108.3 MB / 1.328 GB, free: 101.7 MB / 0.5418 GB