Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 270 MB / 283.6 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.314e-05/5.332e-05, allocations: 8 kB / 348.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4146, allocations: 61.89 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.5858, allocations: 107 MB / 0.5051 GB, free: 15.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/0.5862, allocations: 83.94 kB / 0.5052 GB, free: 15.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8004/1.387, allocations: 132.3 MB / 0.6344 GB, free: 6.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.638e-06/1.387, allocations: 0 / 0.6344 GB, free: 6.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003777/1.387, allocations: 139.9 kB / 0.6346 GB, free: 6.207 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01941/1.406, allocations: 6.336 MB / 0.6408 GB, free: 15.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.407, allocations: 8.031 kB / 0.6408 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04999/1.457, allocations: 9.422 MB / 0.65 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/1.482, allocations: 8.1 MB / 0.6579 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006958/1.483, allocations: 488.8 kB / 0.6584 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/1.486, allocations: 0.6441 MB / 0.659 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/1.527, allocations: 15.03 MB / 0.6737 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/1.527, allocations: 91.12 kB / 0.6737 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002127/1.53, allocations: 311.9 kB / 0.674 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002737/1.532, allocations: 1.345 MB / 0.6754 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/1.565, allocations: 11.55 MB / 0.6866 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4511/2.016, allocations: 67.57 MB / 0.7526 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01763/2.034, allocations: 5.226 MB / 0.7577 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004193/2.038, allocations: 2.617 MB / 0.7603 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/2.038, allocations: 42.03 kB / 0.7603 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/2.038, allocations: 56.2 kB / 0.7604 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.974e-06/2.038, allocations: 0 / 0.7604 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.08227/2.12, allocations: 16.78 MB / 0.7768 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/2.12, allocations: 260 kB / 0.777 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01301/2.133, allocations: 5.919 MB / 0.7828 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004068/2.134, allocations: 59.06 kB / 0.7829 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003907/2.138, allocations: 4.669 MB / 0.7874 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/2.139, allocations: 0.8298 MB / 0.7882 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/2.14, allocations: 159 kB / 0.7884 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005149/2.14, allocations: 0.6335 MB / 0.789 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/2.145, allocations: 2.391 MB / 0.7913 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/2.153, allocations: 7.288 MB / 0.7984 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/2.165, allocations: 4.17 MB / 0.8025 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002817/2.165, allocations: 53.09 kB / 0.8026 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02532/2.191, allocations: 9.539 MB / 0.8119 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/2.191, allocations: 80.72 kB / 0.812 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/2.191, allocations: 173.2 kB / 0.8121 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/2.194, allocations: 0.7939 MB / 0.8129 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007358/2.201, allocations: 1.756 MB / 0.8146 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/2.212, allocations: 8.281 MB / 0.8227 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/2.22, allocations: 411.2 kB / 0.8231 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/2.222, allocations: 487.4 kB / 0.8236 GB, free: 32.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (952): * Single equations (assignments): 946 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001914/2.224, allocations: 0.7314 MB / 0.8243 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/2.225, allocations: 0.5563 MB / 0.8248 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008434/2.233, allocations: 3.345 MB / 0.8281 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/2.233, allocations: 27.61 kB / 0.8281 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/2.233, allocations: 9.406 kB / 0.8281 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/2.234, allocations: 10.03 kB / 0.8281 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/2.262, allocations: 9.509 MB / 0.8374 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/2.262, allocations: 7.391 kB / 0.8374 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/2.264, allocations: 290.3 kB / 0.8377 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/2.266, allocations: 0.4988 MB / 0.8382 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/2.266, allocations: 41.64 kB / 0.8382 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009234/2.276, allocations: 7.385 MB / 0.8454 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.705e-06/2.276, allocations: 3.938 kB / 0.8454 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/2.287, allocations: 6.164 MB / 0.8515 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/2.289, allocations: 0.6169 MB / 0.8521 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/2.29, allocations: 32 kB / 0.8521 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/2.294, allocations: 107.5 kB / 0.8522 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005929/2.294, allocations: 123.1 kB / 0.8523 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/2.295, allocations: 59.14 kB / 0.8524 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009561/2.304, allocations: 4.208 MB / 0.8565 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.136e-06/2.304, allocations: 0 / 0.8565 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009318/2.314, allocations: 1.384 MB / 0.8578 GB, free: 6.738 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006537/2.314, allocations: 190.2 kB / 0.858 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01107/2.325, allocations: 5.907 MB / 0.8638 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.707e-06/2.325, allocations: 0 / 0.8638 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/2.329, allocations: 1.899 MB / 0.8656 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/2.334, allocations: 0.7592 MB / 0.8664 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/2.362, allocations: 10.94 MB / 0.8771 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.373, allocations: 4.762 MB / 0.8817 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009958/2.383, allocations: 2.57 MB / 0.8842 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/2.384, allocations: 358.5 kB / 0.8846 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of SimCode: time 4.192e-06/2.384, allocations: 0 / 0.8846 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.1538/2.538, allocations: 49.86 MB / 0.9333 GB, free: 4.523 MB / 0.573 GB