Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 270 MB / 283.6 MB, free: 1.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.727e-05, allocations: 7.938 kB / 348.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3589, allocations: 61.87 MB / 410.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.5279, allocations: 108.1 MB / 0.5062 GB, free: 14.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5282, allocations: 75.95 kB / 0.5063 GB, free: 14.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6613/1.19, allocations: 108.1 MB / 0.6118 GB, free: 29.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.052e-06/1.19, allocations: 0 / 0.6118 GB, free: 29.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000284/1.19, allocations: 100 kB / 0.6119 GB, free: 29.81 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01515/1.205, allocations: 5.14 MB / 0.6169 GB, free: 24.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.205, allocations: 11.97 kB / 0.6169 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/1.241, allocations: 6.88 MB / 0.6236 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.267, allocations: 6.376 MB / 0.6298 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006513/1.268, allocations: 390 kB / 0.6302 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.271, allocations: 0.4959 MB / 0.6307 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04109/1.312, allocations: 12.25 MB / 0.6427 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/1.312, allocations: 79.33 kB / 0.6427 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/1.313, allocations: 243.9 kB / 0.643 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002156/1.316, allocations: 1.129 MB / 0.6441 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02625/1.342, allocations: 9.45 MB / 0.6533 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08477/1.427, allocations: 56.33 MB / 0.7083 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.442, allocations: 4.309 MB / 0.7125 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/1.446, allocations: 1.947 MB / 0.7144 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3257/1.772, allocations: 6.209 MB / 0.7205 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.772, allocations: 57.89 kB / 0.7205 GB, free: 121 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 6.061e-06/1.772, allocations: 0 / 0.7205 GB, free: 121 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.04311/1.815, allocations: 12.08 MB / 0.7323 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.815, allocations: 197.7 kB / 0.7325 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.825, allocations: 4.949 MB / 0.7374 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00029/1.826, allocations: 45.86 kB / 0.7374 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/1.829, allocations: 3.862 MB / 0.7412 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008225/1.83, allocations: 0.6654 MB / 0.7418 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/1.83, allocations: 133.8 kB / 0.742 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004283/1.831, allocations: 0.5836 MB / 0.7425 GB, free: 115 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004163/1.835, allocations: 1.948 MB / 0.7444 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/1.841, allocations: 6.196 MB / 0.7505 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/1.848, allocations: 3.484 MB / 0.7539 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/1.848, allocations: 44.38 kB / 0.7539 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01848/1.867, allocations: 7.878 MB / 0.7616 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.867, allocations: 75.22 kB / 0.7617 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.867, allocations: 150.9 kB / 0.7618 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/1.869, allocations: 0.5825 MB / 0.7624 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006578/1.875, allocations: 1.501 MB / 0.7639 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/1.883, allocations: 5.59 MB / 0.7693 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006671/1.89, allocations: 343 kB / 0.7697 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/1.891, allocations: 417.7 kB / 0.7701 GB, free: 104.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (815): * Single equations (assignments): 810 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.892, allocations: 0.6349 MB / 0.7707 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/1.893, allocations: 466.1 kB / 0.7711 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/1.898, allocations: 2.443 MB / 0.7735 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.898, allocations: 20.66 kB / 0.7735 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.898, allocations: 3.062 kB / 0.7735 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.898, allocations: 9.406 kB / 0.7735 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.915, allocations: 7.145 MB / 0.7805 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.915, allocations: 6.25 kB / 0.7805 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.917, allocations: 221.2 kB / 0.7807 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/1.918, allocations: 346.9 kB / 0.7811 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/1.918, allocations: 30.83 kB / 0.7811 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/1.925, allocations: 4.947 MB / 0.7859 GB, free: 96.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-06/1.925, allocations: 7.812 kB / 0.7859 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008392/1.933, allocations: 5.061 MB / 0.7909 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.935, allocations: 0.5279 MB / 0.7914 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009442/1.936, allocations: 27.75 kB / 0.7914 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.938, allocations: 75.03 kB / 0.7915 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/1.938, allocations: 100.8 kB / 0.7916 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.939, allocations: 44.78 kB / 0.7916 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007803/1.946, allocations: 3.526 MB / 0.7951 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-06/1.946, allocations: 0 / 0.7951 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007542/1.954, allocations: 1.122 MB / 0.7962 GB, free: 88.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.000554/1.955, allocations: 164.9 kB / 0.7963 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008884/1.964, allocations: 4.728 MB / 0.8009 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.31e-06/1.964, allocations: 0 / 0.8009 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.966, allocations: 1.375 MB / 0.8023 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.969, allocations: 0.5925 MB / 0.8029 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.988, allocations: 8.696 MB / 0.8114 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/1.995, allocations: 3.962 MB / 0.8152 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007366/2.002, allocations: 2.159 MB / 0.8173 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/2.003, allocations: 298.7 kB / 0.8176 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of SimCode: time 1.752e-06/2.003, allocations: 0 / 0.8176 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.1091/2.112, allocations: 39.08 MB / 0.8558 GB, free: 39.62 MB / 0.5105 GB