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.81/1.81, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.517e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 48.69 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4711, allocations: 95.71 MB / 417.5 MB, free: 68 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4713, allocations: 81.88 kB / 417.5 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8442/1.316, allocations: 151.7 MB / 0.5559 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.939e-06/1.316, allocations: 0 / 0.5559 GB, free: 71.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004524/1.316, allocations: 147.2 kB / 0.5561 GB, free: 71.05 MB / 426.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.02391/1.34, allocations: 7.383 MB / 0.5633 GB, free: 68.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.34, allocations: 9.844 kB / 0.5633 GB, free: 68.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04969/1.39, allocations: 9.63 MB / 0.5727 GB, free: 67.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/1.416, allocations: 9.12 MB / 0.5816 GB, free: 66.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007006/1.417, allocations: 0.575 MB / 0.5822 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/1.42, allocations: 0.7643 MB / 0.5829 GB, free: 66.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04553/1.466, allocations: 17.92 MB / 0.6004 GB, free: 61.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004965/1.466, allocations: 112.4 kB / 0.6005 GB, free: 61.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/1.469, allocations: 368.1 kB / 0.6009 GB, free: 61.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003101/1.472, allocations: 1.69 MB / 0.6025 GB, free: 60.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/1.508, allocations: 14.08 MB / 0.6163 GB, free: 54.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4164/1.925, allocations: 80.77 MB / 0.6952 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02361/1.949, allocations: 7.107 MB / 0.7021 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006897/1.956, allocations: 4.06 MB / 0.7061 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/1.956, allocations: 63.25 kB / 0.7061 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.956, allocations: 77.12 kB / 0.7062 GB, free: 30.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=307): time 8.604e-06/1.956, allocations: 0 / 0.7062 GB, free: 30.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.09465/2.051, allocations: 27.35 MB / 0.7329 GB, free: 23.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/2.051, allocations: 302.3 kB / 0.7332 GB, free: 23.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/2.066, allocations: 6.515 MB / 0.7396 GB, free: 22.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007183/2.066, allocations: 73.7 kB / 0.7396 GB, free: 22.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003912/2.07, allocations: 5.083 MB / 0.7446 GB, free: 19.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/2.072, allocations: 1.283 MB / 0.7458 GB, free: 19.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/2.073, allocations: 196.8 kB / 0.746 GB, free: 19.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008202/2.074, allocations: 0.7116 MB / 0.7467 GB, free: 18.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007803/2.082, allocations: 3.601 MB / 0.7502 GB, free: 18.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/2.093, allocations: 9.134 MB / 0.7592 GB, free: 11.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/2.104, allocations: 5.702 MB / 0.7647 GB, free: 11.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000199/2.104, allocations: 55.81 kB / 0.7648 GB, free: 11.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03155/2.136, allocations: 12.9 MB / 0.7774 GB, free: 7.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/2.136, allocations: 87.22 kB / 0.7775 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/2.136, allocations: 197.8 kB / 0.7777 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/2.141, allocations: 1.386 MB / 0.779 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.151, allocations: 2.241 MB / 0.7812 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/2.168, allocations: 11.24 MB / 0.7922 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.179, allocations: 0.5395 MB / 0.7927 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/2.181, allocations: 0.562 MB / 0.7933 GB, free: 13.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * 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 (1172): * Single equations (assignments): 1166 * 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.003505/2.185, allocations: 0.8356 MB / 0.7941 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/2.187, allocations: 0.6447 MB / 0.7947 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/2.205, allocations: 6.593 MB / 0.8011 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/2.205, allocations: 42.58 kB / 0.8012 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/2.205, allocations: 12 kB / 0.8012 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.151e-05/2.205, allocations: 14.3 kB / 0.8012 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/2.249, allocations: 15.41 MB / 0.8163 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/2.249, allocations: 0 / 0.8163 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004255/2.253, allocations: 0.5846 MB / 0.8168 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/2.258, allocations: 1.047 MB / 0.8178 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008201/2.258, allocations: 66.2 kB / 0.8179 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/2.277, allocations: 10.26 MB / 0.8279 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/2.278, allocations: 7.891 kB / 0.8279 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02533/2.303, allocations: 11.13 MB / 0.8388 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004621/2.308, allocations: 1.205 MB / 0.84 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00229/2.31, allocations: 58.81 kB / 0.84 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/2.315, allocations: 207.1 kB / 0.8402 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.316, allocations: 202.5 kB / 0.8404 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006827/2.317, allocations: 83.52 kB / 0.8405 GB, free: 3.832 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01443/2.331, allocations: 4.708 MB / 0.8451 GB, free: 0 / 490.7 MB Notification: Performance of sort global known variables: time 1.643e-06/2.332, allocations: 336 / 0.8451 GB, free: 0 / 490.7 MB Notification: Performance of remove unused functions: time 0.01357/2.345, allocations: 1.835 MB / 0.8469 GB, free: 14.3 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.001155/2.346, allocations: 212.8 kB / 0.8471 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02045/2.367, allocations: 8.806 MB / 0.8557 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.903e-06/2.367, allocations: 0 / 0.8557 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008095/2.375, allocations: 3.431 MB / 0.8591 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/2.381, allocations: 0.8167 MB / 0.8599 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/2.427, allocations: 15.34 MB / 0.8748 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2908/2.718, allocations: 5.61 MB / 0.8803 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003213/2.722, allocations: 0.5008 MB / 0.8808 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.148e-06/2.722, allocations: 0 / 0.8808 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.5588/3.28, allocations: 193.5 MB / 1.07 GB, free: 142.3 MB / 0.5105 GB