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_cpp_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 234.9 MB / 250.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.376e-05, allocations: 8 kB / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4057, allocations: 54.85 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.2749/0.6807, allocations: 138 MB / 0.4891 GB, free: 3.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4776/1.158, allocations: 27.89 MB / 0.5164 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04148/1.2, allocations: 0.7161 MB / 0.5171 GB, free: 15.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02726/1.227, allocations: 7.415 MB / 0.5243 GB, free: 13.11 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07719/1.304, allocations: 19.34 MB / 0.5432 GB, free: 7.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/1.317, allocations: 1.503 MB / 0.5447 GB, free: 7.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.09988/1.417, allocations: 33.73 MB / 0.5776 GB, free: 2.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02997/1.447, allocations: 13.38 MB / 0.5907 GB, free: 8.855 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007125/1.454, allocations: 2.23 MB / 0.5928 GB, free: 7.156 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009133/1.463, allocations: 3.624 MB / 0.5964 GB, free: 4.145 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005924/1.469, allocations: 1.081 MB / 0.5974 GB, free: 3.215 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003703/1.473, allocations: 312 kB / 0.5977 GB, free: 2.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009068/1.482, allocations: 4.499 MB / 0.6021 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005179/1.487, allocations: 0.7656 MB / 0.6029 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0274/1.515, allocations: 16.09 MB / 0.6186 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.515, allocations: 3.938 kB / 0.6186 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.968e-06/1.515, allocations: 0 / 0.6186 GB, free: 392 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008197/1.516, allocations: 0 / 0.6186 GB, free: 392 kB / 490.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.04765/1.563, allocations: 11.51 MB / 0.6298 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.563, allocations: 11.97 kB / 0.6298 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2384/1.802, allocations: 22.16 MB / 0.6515 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02958/1.831, allocations: 8.608 MB / 0.6599 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.833, allocations: 0.7052 MB / 0.6606 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005491/1.838, allocations: 0.9517 MB / 0.6615 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09031/1.928, allocations: 28.25 MB / 0.6891 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006615/1.929, allocations: 104.3 kB / 0.6892 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004584/1.934, allocations: 446.5 kB / 0.6896 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01265/1.947, allocations: 4.739 MB / 0.6943 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7969/2.743, allocations: 23.8 MB / 0.7175 GB, free: 235 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2145/2.958, allocations: 103.4 MB / 0.8184 GB, free: 144.2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06157/3.02, allocations: 14.22 MB / 0.8323 GB, free: 129.9 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003928/3.024, allocations: 2.343 MB / 0.8346 GB, free: 127.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/3.024, allocations: 94.12 kB / 0.8347 GB, free: 127.1 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=559): time 1.064e-05/3.024, allocations: 0 / 0.8347 GB, free: 127.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=643): time 0.2933/3.317, allocations: 66.23 MB / 0.8994 GB, free: 60.48 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/3.317, allocations: 321.7 kB / 0.8997 GB, free: 60.1 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02187/3.339, allocations: 9.644 MB / 0.9091 GB, free: 50.48 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002033/3.341, allocations: 129.7 kB / 0.9092 GB, free: 50.35 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006216/3.348, allocations: 7.281 MB / 0.9163 GB, free: 43.07 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00409/3.352, allocations: 2.336 MB / 0.9186 GB, free: 40.75 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/3.355, allocations: 287.6 kB / 0.9189 GB, free: 40.47 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001197/3.356, allocations: 0.9141 MB / 0.9198 GB, free: 39.55 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01819/3.374, allocations: 6.673 MB / 0.9263 GB, free: 32.87 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02289/3.397, allocations: 14.19 MB / 0.9402 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/3.42, allocations: 9.544 MB / 0.9495 GB, free: 5.445 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00021/3.42, allocations: 80 kB / 0.9496 GB, free: 5.367 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1853) (initialization): time 0.4231/3.843, allocations: 23.45 MB / 0.9725 GB, free: 207.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/3.844, allocations: 120.5 kB / 0.9726 GB, free: 207.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004667/3.844, allocations: 264.9 kB / 0.9728 GB, free: 207.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/3.859, allocations: 3.495 MB / 0.9762 GB, free: 206.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02335/3.882, allocations: 3.421 MB / 0.9796 GB, free: 206.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05125/3.934, allocations: 24.52 MB / 1.004 GB, free: 193.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0209/3.955, allocations: 0.8735 MB / 1.004 GB, free: 192.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003745/3.959, allocations: 0.8058 MB / 1.005 GB, free: 191.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1193 * 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 (1733): * Single equations (assignments): 1726 * 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.01547/3.974, allocations: 5.25 MB / 1.01 GB, free: 187.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003915/3.978, allocations: 0.9474 MB / 1.011 GB, free: 186.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04755/4.026, allocations: 15.04 MB / 1.026 GB, free: 173.1 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/4.026, allocations: 65.09 kB / 1.026 GB, free: 173 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.308e-05/4.026, allocations: 16 kB / 1.026 GB, free: 173 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/4.026, allocations: 31.89 kB / 1.026 GB, free: 173 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09624/4.122, allocations: 32.02 MB / 1.057 GB, free: 141.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/4.122, allocations: 11.95 kB / 1.057 GB, free: 141.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01231/4.135, allocations: 1.158 MB / 1.058 GB, free: 139.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/4.149, allocations: 3.05 MB / 1.061 GB, free: 136.9 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002129/4.151, allocations: 124.6 kB / 1.062 GB, free: 136.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04578/4.197, allocations: 22.99 MB / 1.084 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/4.197, allocations: 8 kB / 1.084 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06336/4.26, allocations: 24.64 MB / 1.108 GB, free: 88.69 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008515/4.269, allocations: 2.093 MB / 1.11 GB, free: 86.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004175/4.273, allocations: 112.1 kB / 1.11 GB, free: 86.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/4.285, allocations: 487.8 kB / 1.111 GB, free: 85.98 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002633/4.287, allocations: 395.5 kB / 1.111 GB, free: 85.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009642/4.288, allocations: 168 kB / 1.111 GB, free: 85.43 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01668/4.305, allocations: 6.955 MB / 1.118 GB, free: 78.51 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.81e-07/4.305, allocations: 3.094 kB / 1.118 GB, free: 78.51 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01847/4.324, allocations: 2.985 MB / 1.121 GB, free: 75.53 MB / 0.5574 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.002626/4.326, allocations: 307.3 kB / 1.121 GB, free: 75.23 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.041/4.367, allocations: 16.55 MB / 1.137 GB, free: 58.74 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/4.367, allocations: 4 kB / 1.137 GB, free: 58.73 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02004/4.387, allocations: 7.323 MB / 1.145 GB, free: 51.36 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/4.398, allocations: 1.198 MB / 1.146 GB, free: 50.16 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4755/4.873, allocations: 34.36 MB / 1.179 GB, free: 196.8 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0207/4.894, allocations: 8.309 MB / 1.187 GB, free: 195.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007042/4.901, allocations: 0.7816 MB / 1.188 GB, free: 195.7 MB / 0.5574 GB Notification: Performance of SimCode: time 2.314e-06/4.901, allocations: 0 / 1.188 GB, free: 195.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.9854/5.887, allocations: 348.5 MB / 1.528 GB, free: 56.92 MB / 0.5574 GB