Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.393e-05, allocations: 7.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.1368/0.492, allocations: 89.28 MB / 414.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05738/0.5495, allocations: 18.65 MB / 432.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02211/0.5717, allocations: 470.9 kB / 433.2 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01768/0.5894, allocations: 4.775 MB / 438 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04965/0.6391, allocations: 12.68 MB / 450.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008122/0.6473, allocations: 1.038 MB / 451.7 MB, free: 380 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07585/0.7232, allocations: 24.97 MB / 476.7 MB, free: 7.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.7391, allocations: 7.281 MB / 484 MB, free: 64 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3576/1.097, allocations: 1.482 MB / 485.5 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00853/1.105, allocations: 2.429 MB / 487.9 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006423/1.112, allocations: 1.003 MB / 488.9 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/1.116, allocations: 217.4 kB / 489.1 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007626/1.123, allocations: 2.93 MB / 492 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004617/1.128, allocations: 0.492 MB / 492.5 MB, free: 28.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02178/1.15, allocations: 10.43 MB / 0.4912 GB, free: 27.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.15, allocations: 3.969 kB / 0.4912 GB, free: 27.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.15, allocations: 0 / 0.4912 GB, free: 27.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006328/1.15, allocations: 0 / 0.4912 GB, free: 27.84 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03513/1.186, allocations: 7.382 MB / 0.4984 GB, free: 24.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.186, allocations: 7.844 kB / 0.4984 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.184/1.37, allocations: 16.83 MB / 0.5148 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.388, allocations: 5.925 MB / 0.5206 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005526/1.389, allocations: 434.8 kB / 0.521 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003214/1.392, allocations: 0.5802 MB / 0.5216 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04771/1.44, allocations: 17.82 MB / 0.539 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/1.44, allocations: 80.78 kB / 0.5391 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002346/1.443, allocations: 277.7 kB / 0.5393 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007793/1.45, allocations: 3.202 MB / 0.5425 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04781/1.498, allocations: 14.68 MB / 0.5568 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1309/1.629, allocations: 68.44 MB / 0.6236 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0312/1.66, allocations: 7.285 MB / 0.6307 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/1.661, allocations: 57.53 kB / 0.6308 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/1.661, allocations: 70.31 kB / 0.6309 GB, free: 5.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 7.214e-06/1.661, allocations: 2.812 kB / 0.6309 GB, free: 5.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.4388/2.1, allocations: 33.18 MB / 0.6633 GB, free: 201.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/2.1, allocations: 292 kB / 0.6636 GB, free: 201.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/2.122, allocations: 7.025 MB / 0.6704 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/2.123, allocations: 73.33 kB / 0.6705 GB, free: 199.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005399/2.128, allocations: 5.055 MB / 0.6754 GB, free: 195.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002607/2.131, allocations: 1.287 MB / 0.6767 GB, free: 194.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/2.133, allocations: 190.5 kB / 0.6769 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009036/2.134, allocations: 0.7126 MB / 0.6776 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/2.145, allocations: 3.786 MB / 0.6812 GB, free: 192.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/2.16, allocations: 9.345 MB / 0.6904 GB, free: 183.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/2.174, allocations: 5.814 MB / 0.6961 GB, free: 181.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001749/2.174, allocations: 60.03 kB / 0.6961 GB, free: 181.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03827/2.212, allocations: 13.91 MB / 0.7097 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/2.213, allocations: 94.16 kB / 0.7098 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002884/2.213, allocations: 200.6 kB / 0.71 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006621/2.22, allocations: 1.587 MB / 0.7115 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/2.234, allocations: 2.274 MB / 0.7137 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/2.257, allocations: 12.67 MB / 0.7261 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/2.269, allocations: 0.549 MB / 0.7267 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/2.272, allocations: 0.5628 MB / 0.7272 GB, free: 161.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1166): * Single equations (assignments): 1160 * 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%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01094/2.283, allocations: 3.523 MB / 0.7306 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00233/2.285, allocations: 0.6479 MB / 0.7313 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/2.307, allocations: 7.005 MB / 0.7381 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/2.307, allocations: 37.33 kB / 0.7382 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.608e-05/2.307, allocations: 8 kB / 0.7382 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-05/2.308, allocations: 19.05 kB / 0.7382 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/2.357, allocations: 16.07 MB / 0.7539 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/2.357, allocations: 0 / 0.7539 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006427/2.364, allocations: 0.628 MB / 0.7545 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/2.37, allocations: 1.239 MB / 0.7557 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.371, allocations: 59.98 kB / 0.7557 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02117/2.392, allocations: 11.65 MB / 0.7671 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.392, allocations: 4 kB / 0.7671 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02998/2.422, allocations: 11.76 MB / 0.7786 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005257/2.427, allocations: 1.258 MB / 0.7798 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003832/2.431, allocations: 56.5 kB / 0.7799 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009234/2.441, allocations: 212.3 kB / 0.7801 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/2.442, allocations: 202.3 kB / 0.7803 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009642/2.443, allocations: 93 kB / 0.7804 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01779/2.461, allocations: 5.024 MB / 0.7853 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.325e-06/2.461, allocations: 0 / 0.7853 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01949/2.481, allocations: 1.837 MB / 0.7871 GB, free: 102 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001898/2.483, allocations: 210.1 kB / 0.7873 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02941/2.512, allocations: 9.484 MB / 0.7965 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/2.512, allocations: 0 / 0.7965 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00973/2.522, allocations: 3.653 MB / 0.8001 GB, free: 88.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007631/2.53, allocations: 0.8391 MB / 0.8009 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0484/2.578, allocations: 21.03 MB / 0.8215 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/2.591, allocations: 5.6 MB / 0.8269 GB, free: 61.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003776/2.595, allocations: 0.515 MB / 0.8274 GB, free: 60.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/2.595, allocations: 0 / 0.8274 GB, free: 60.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.6739/3.269, allocations: 196.4 MB / 1.019 GB, free: 61.23 MB / 0.4948 GB