Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque2,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_4.0.0_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.489e-05, allocations: 7.984 kB / 348.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 61.86 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.4996, allocations: 112.2 MB / 0.5102 GB, free: 10.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4998, allocations: 79.95 kB / 0.5103 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813/2.313, allocations: 222.1 MB / 0.7272 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.076e-06/2.313, allocations: 0 / 0.7272 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001031/2.314, allocations: 237.7 kB / 0.7275 GB, free: 49.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06167/2.375, allocations: 11.53 MB / 0.7387 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/2.375, allocations: 7.312 kB / 0.7387 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07921/2.455, allocations: 12.61 MB / 0.751 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0344/2.489, allocations: 12.21 MB / 0.763 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000961/2.49, allocations: 0.8704 MB / 0.7638 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/2.495, allocations: 1.163 MB / 0.765 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07217/2.567, allocations: 27.38 MB / 0.7917 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006814/2.568, allocations: 142.2 kB / 0.7918 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003993/2.572, allocations: 0.5459 MB / 0.7924 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004533/2.576, allocations: 2.542 MB / 0.7948 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05854/2.635, allocations: 21.66 MB / 0.816 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/2.838, allocations: 119.6 MB / 0.9328 GB, free: 0 / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4084/3.246, allocations: 12.8 MB / 0.9453 GB, free: 103.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/3.257, allocations: 7.081 MB / 0.9522 GB, free: 103.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03462/3.292, allocations: 17.29 MB / 0.9691 GB, free: 100.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/3.292, allocations: 79.16 kB / 0.9692 GB, free: 100.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=459): time 9.884e-06/3.292, allocations: 3.406 kB / 0.9692 GB, free: 100.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=543): time 0.1917/3.484, allocations: 54.41 MB / 1.022 GB, free: 88.84 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/3.484, allocations: 372.8 kB / 1.023 GB, free: 88.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02356/3.508, allocations: 10.15 MB / 1.033 GB, free: 87.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/3.509, allocations: 114.7 kB / 1.033 GB, free: 87.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006687/3.515, allocations: 7.898 MB / 1.04 GB, free: 82.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002637/3.518, allocations: 2.014 MB / 1.042 GB, free: 80.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/3.52, allocations: 282.9 kB / 1.043 GB, free: 80.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001202/3.521, allocations: 0.9009 MB / 1.044 GB, free: 79.78 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01243/3.534, allocations: 5.73 MB / 1.049 GB, free: 77.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01693/3.551, allocations: 13.54 MB / 1.062 GB, free: 65.36 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/3.567, allocations: 8.731 MB / 1.071 GB, free: 60.96 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002254/3.567, allocations: 80 kB / 1.071 GB, free: 60.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=1818) (initialization): time 0.04902/3.616, allocations: 21.34 MB / 1.092 GB, free: 44.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/3.617, allocations: 124 kB / 1.092 GB, free: 44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003326/3.617, allocations: 276 kB / 1.092 GB, free: 43.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/3.627, allocations: 3.277 MB / 1.095 GB, free: 41.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/3.642, allocations: 3.36 MB / 1.099 GB, free: 38.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/3.676, allocations: 22.55 MB / 1.121 GB, free: 18.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/3.692, allocations: 0.8249 MB / 1.121 GB, free: 17.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003006/3.695, allocations: 0.8138 MB / 1.122 GB, free: 16.79 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1264 * Number of states: 0 () * Number of discrete variables: 138 (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.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1698): * Single equations (assignments): 1691 * 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.004382/3.699, allocations: 1.199 MB / 1.123 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002384/3.702, allocations: 1.003 MB / 1.124 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03314/3.735, allocations: 12.52 MB / 1.137 GB, free: 4.543 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.807e-05/3.735, allocations: 56 kB / 1.137 GB, free: 4.488 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-05/3.735, allocations: 23.59 kB / 1.137 GB, free: 4.469 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/3.735, allocations: 29.5 kB / 1.137 GB, free: 4.465 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5685/4.304, allocations: 28.57 MB / 1.165 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.951e-05/4.304, allocations: 14.44 kB / 1.165 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007279/4.311, allocations: 1.065 MB / 1.166 GB, free: 84.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009438/4.32, allocations: 2.825 MB / 1.168 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/4.322, allocations: 103.1 kB / 1.169 GB, free: 84.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/4.357, allocations: 21.13 MB / 1.189 GB, free: 79.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/4.357, allocations: 17.08 kB / 1.189 GB, free: 79.36 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03951/4.396, allocations: 22.52 MB / 1.211 GB, free: 74.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00365/4.4, allocations: 1.086 MB / 1.212 GB, free: 74.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003565/4.404, allocations: 104.7 kB / 1.212 GB, free: 74.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008143/4.412, allocations: 372.1 kB / 1.213 GB, free: 74.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001729/4.414, allocations: 351.8 kB / 1.213 GB, free: 74.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007091/4.414, allocations: 143.7 kB / 1.213 GB, free: 74.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01729/4.432, allocations: 7.308 MB / 1.22 GB, free: 74.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.201e-06/4.432, allocations: 0 / 1.22 GB, free: 74.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0171/4.449, allocations: 2.79 MB / 1.223 GB, free: 73.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 444 * 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.001508/4.45, allocations: 284.1 kB / 1.223 GB, free: 73.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02695/4.477, allocations: 14.05 MB / 1.237 GB, free: 69.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/4.477, allocations: 0 / 1.237 GB, free: 69.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01349/4.491, allocations: 6.086 MB / 1.243 GB, free: 66.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009311/4.5, allocations: 1.332 MB / 1.244 GB, free: 66.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05276/4.553, allocations: 23.11 MB / 1.267 GB, free: 57.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01733/4.57, allocations: 8.161 MB / 1.275 GB, free: 51.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02246/4.593, allocations: 4.645 MB / 1.279 GB, free: 48.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003818/4.597, allocations: 0.6602 MB / 1.28 GB, free: 47.97 MB / 0.573 GB Notification: Performance of SimCode: time 1.737e-06/4.597, allocations: 0 / 1.28 GB, free: 47.97 MB / 0.573 GB Notification: Performance of Templates: time 0.668/5.265, allocations: 104.5 MB / 1.382 GB, free: 88.96 MB / 0.5887 GB