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_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.766e-05, allocations: 0 / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.4891, allocations: 105.3 MB / 465.1 MB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4894, allocations: 79.95 kB / 465.2 MB, free: 7.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078/1.568, allocations: 240.3 MB / 0.6889 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.568, allocations: 4 kB / 0.6889 GB, free: 14.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008244/1.569, allocations: 252 kB / 0.6891 GB, free: 13.86 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.04623/1.615, allocations: 12.35 MB / 0.7012 GB, free: 1.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.615, allocations: 8.031 kB / 0.7012 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4691/2.084, allocations: 12.82 MB / 0.7137 GB, free: 43.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03794/2.122, allocations: 13.28 MB / 0.7267 GB, free: 42.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/2.123, allocations: 0.9598 MB / 0.7276 GB, free: 42.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005213/2.128, allocations: 1.278 MB / 0.7289 GB, free: 42.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07521/2.204, allocations: 29.79 MB / 0.758 GB, free: 36.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006478/2.204, allocations: 149.3 kB / 0.7581 GB, free: 36.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003943/2.208, allocations: 0.5924 MB / 0.7587 GB, free: 36.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005154/2.213, allocations: 2.86 MB / 0.7615 GB, free: 36.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06342/2.277, allocations: 23.87 MB / 0.7848 GB, free: 34.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6277/2.905, allocations: 127.8 MB / 0.9096 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05032/2.955, allocations: 13.87 MB / 0.9231 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01289/2.968, allocations: 7.962 MB / 0.9309 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04415/3.012, allocations: 19.83 MB / 0.9503 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/3.012, allocations: 94.78 kB / 0.9503 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=562): time 1.192e-05/3.012, allocations: 0 / 0.9503 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=646): time 0.2057/3.218, allocations: 59.14 MB / 1.008 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/3.218, allocations: 379.5 kB / 1.008 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02442/3.243, allocations: 10.61 MB / 1.019 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/3.244, allocations: 125.7 kB / 1.019 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007106/3.251, allocations: 8.551 MB / 1.027 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003227/3.255, allocations: 2.378 MB / 1.03 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/3.257, allocations: 313.2 kB / 1.03 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001231/3.258, allocations: 0.9643 MB / 1.031 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05437/3.312, allocations: 8.785 MB / 1.039 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02567/3.338, allocations: 14.96 MB / 1.054 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02204/3.36, allocations: 9.878 MB / 1.064 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003194/3.361, allocations: 84 kB / 1.064 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.1443/3.505, allocations: 24.46 MB / 1.088 GB, free: 4.816 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002784/3.505, allocations: 128 kB / 1.088 GB, free: 4.691 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005427/3.506, allocations: 296 kB / 1.088 GB, free: 4.402 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/3.518, allocations: 3.314 MB / 1.091 GB, free: 1.129 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02004/3.538, allocations: 3.759 MB / 1.095 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04353/3.581, allocations: 22.58 MB / 1.117 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01765/3.599, allocations: 0.9411 MB / 1.118 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003984/3.603, allocations: 0.8856 MB / 1.119 GB, free: 4.445 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (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],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.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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1897): * Single equations (assignments): 1890 * 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.006223/3.609, allocations: 1.282 MB / 1.12 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003786/3.613, allocations: 1.072 MB / 1.121 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04017/3.653, allocations: 14.59 MB / 1.135 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/3.654, allocations: 68 kB / 1.135 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-05/3.654, allocations: 20 kB / 1.135 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/3.654, allocations: 27.89 kB / 1.135 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4574/4.111, allocations: 32.37 MB / 1.167 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.388e-05/4.111, allocations: 10.84 kB / 1.167 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009616/4.121, allocations: 1.275 MB / 1.168 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01057/4.132, allocations: 2.841 MB / 1.171 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001621/4.133, allocations: 122.4 kB / 1.171 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03611/4.169, allocations: 21.08 MB / 1.192 GB, free: 164.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/4.169, allocations: 14.84 kB / 1.192 GB, free: 164.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05201/4.221, allocations: 26.08 MB / 1.217 GB, free: 157.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007869/4.229, allocations: 2.184 MB / 1.219 GB, free: 156.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003842/4.233, allocations: 118 kB / 1.22 GB, free: 156.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009837/4.243, allocations: 449 kB / 1.22 GB, free: 156.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002054/4.245, allocations: 407.6 kB / 1.22 GB, free: 156.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001458/4.247, allocations: 171 kB / 1.221 GB, free: 156.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.01921/4.266, allocations: 7.651 MB / 1.228 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.026e-06/4.266, allocations: 3.188 kB / 1.228 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01952/4.285, allocations: 3.102 MB / 1.231 GB, free: 153.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (553): * Single equations (assignments): 546 * 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.001842/4.287, allocations: 303.3 kB / 1.231 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.03216/4.32, allocations: 16.09 MB / 1.247 GB, free: 148 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/4.32, allocations: 0 / 1.247 GB, free: 148 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0158/4.335, allocations: 6.927 MB / 1.254 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009892/4.345, allocations: 1.352 MB / 1.255 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06128/4.407, allocations: 25.66 MB / 1.28 GB, free: 126.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02032/4.427, allocations: 8.872 MB / 1.289 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01975/4.447, allocations: 5.157 MB / 1.294 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00487/4.452, allocations: 0.7267 MB / 1.295 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.731e-06/4.452, allocations: 6.062 kB / 1.295 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.6527/5.105, allocations: 113 MB / 1.405 GB, free: 158.3 MB / 0.6198 GB