Running command: translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.07e-05, allocations: 0 / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3597, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.1865/0.5463, allocations: 80.1 MB / 404.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05467/0.601, allocations: 16.88 MB / 421.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0207/0.6218, allocations: 419.1 kB / 422.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.6377, allocations: 4.274 MB / 426.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04356/0.6813, allocations: 11.41 MB / 437.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008661/0.69, allocations: 0.9829 MB / 438.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.09274/0.7828, allocations: 24.83 MB / 463.7 MB, free: 4.395 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01476/0.7977, allocations: 6.726 MB / 470.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.8016, allocations: 1.41 MB / 471.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005283/0.807, allocations: 2.291 MB / 474.2 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/0.8111, allocations: 1.104 MB / 475.3 MB, free: 8.805 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.8133, allocations: 212 kB / 475.5 MB, free: 8.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00502/0.8183, allocations: 2.743 MB / 478.2 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.821, allocations: 472 kB / 478.7 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3883/1.209, allocations: 9.748 MB / 488.4 MB, free: 32.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.209, allocations: 0 / 488.4 MB, free: 32.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.758e-06/1.209, allocations: 1.062 kB / 488.4 MB, free: 32.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004627/1.21, allocations: 0 / 488.4 MB, free: 32.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02639/1.236, allocations: 6.806 MB / 495.2 MB, free: 29.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.236, allocations: 8.312 kB / 495.2 MB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1936/1.43, allocations: 16.73 MB / 0.5 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/1.448, allocations: 5.702 MB / 0.5055 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005224/1.449, allocations: 407.3 kB / 0.5059 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003338/1.452, allocations: 0.5278 MB / 0.5064 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04735/1.5, allocations: 16.37 MB / 0.5224 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003914/1.5, allocations: 72.53 kB / 0.5225 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002722/1.503, allocations: 255.5 kB / 0.5227 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006803/1.51, allocations: 2.898 MB / 0.5256 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04078/1.551, allocations: 13.4 MB / 0.5387 GB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/1.669, allocations: 61.81 MB / 0.599 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/1.694, allocations: 5.917 MB / 0.6048 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/1.695, allocations: 60.89 kB / 0.6049 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/1.695, allocations: 63.56 kB / 0.6049 GB, free: 13.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 6.682e-06/1.695, allocations: 0 / 0.6049 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.1118/1.806, allocations: 24 MB / 0.6284 GB, free: 9.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/1.807, allocations: 262.3 kB / 0.6286 GB, free: 9.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01842/1.825, allocations: 6.642 MB / 0.6351 GB, free: 4.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008488/1.826, allocations: 65.52 kB / 0.6352 GB, free: 4.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005568/1.832, allocations: 4.769 MB / 0.6398 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.834, allocations: 1.022 MB / 0.6408 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/1.835, allocations: 171.2 kB / 0.641 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001019/1.836, allocations: 0.6782 MB / 0.6416 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009817/1.846, allocations: 3.058 MB / 0.6446 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.015/1.861, allocations: 8.273 MB / 0.6527 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3204/2.182, allocations: 4.897 MB / 0.6575 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/2.182, allocations: 53.59 kB / 0.6575 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.0369/2.219, allocations: 11.57 MB / 0.6688 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/2.219, allocations: 85.8 kB / 0.6689 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003782/2.22, allocations: 184.8 kB / 0.6691 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/2.224, allocations: 1.069 MB / 0.6701 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/2.237, allocations: 2.001 MB / 0.6721 GB, free: 200.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/2.254, allocations: 9.799 MB / 0.6817 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.265, allocations: 0.4944 MB / 0.6821 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/2.267, allocations: 0.5094 MB / 0.6826 GB, free: 193.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1050): * Single equations (assignments): 1044 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009442/2.277, allocations: 3.263 MB / 0.6858 GB, free: 192.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/2.278, allocations: 0.5874 MB / 0.6864 GB, free: 192.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/2.294, allocations: 4.897 MB / 0.6912 GB, free: 190.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.615e-05/2.294, allocations: 29.53 kB / 0.6912 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/2.294, allocations: 10 kB / 0.6912 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.286e-05/2.295, allocations: 11.16 kB / 0.6912 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03958/2.334, allocations: 12.29 MB / 0.7032 GB, free: 180.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/2.334, allocations: 3.938 kB / 0.7032 GB, free: 180.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004599/2.339, allocations: 458.4 kB / 0.7037 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003785/2.343, allocations: 0.7377 MB / 0.7044 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007605/2.344, allocations: 51.98 kB / 0.7044 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/2.358, allocations: 8.85 MB / 0.7131 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.358, allocations: 7.922 kB / 0.7131 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/2.38, allocations: 8.526 MB / 0.7214 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00428/2.384, allocations: 1.062 MB / 0.7225 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002551/2.386, allocations: 49.36 kB / 0.7225 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005752/2.392, allocations: 171.5 kB / 0.7227 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/2.393, allocations: 157.7 kB / 0.7228 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000384/2.394, allocations: 69.52 kB / 0.7229 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01193/2.406, allocations: 4.768 MB / 0.7275 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.42e-07/2.406, allocations: 0 / 0.7275 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01112/2.417, allocations: 1.597 MB / 0.7291 GB, free: 153.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/2.418, allocations: 204.8 kB / 0.7293 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01929/2.438, allocations: 7.703 MB / 0.7368 GB, free: 146 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.438, allocations: 0 / 0.7368 GB, free: 146 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006342/2.444, allocations: 2.651 MB / 0.7394 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/2.451, allocations: 0.7658 MB / 0.7402 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/2.497, allocations: 18.59 MB / 0.7583 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01661/2.513, allocations: 5.202 MB / 0.7634 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/2.517, allocations: 467.4 kB / 0.7638 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.244e-06/2.517, allocations: 0 / 0.7638 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.7356/3.253, allocations: 178.5 MB / 0.9382 GB, free: 141.5 MB / 0.4948 GB