Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.434e-05/5.45e-05, allocations: 5.828 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5519, allocations: 109 MB / 0.507 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5522, allocations: 73.16 kB / 0.5071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8742/1.426, allocations: 126.3 MB / 0.6305 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.441e-06/1.426, allocations: 0 / 0.6305 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005271/1.427, allocations: 133.4 kB / 0.6306 GB, free: 108.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.03455/1.462, allocations: 6.359 MB / 0.6368 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.462, allocations: 8.875 kB / 0.6368 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06816/1.53, allocations: 7.066 MB / 0.6437 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/1.553, allocations: 6.967 MB / 0.6505 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000529/1.554, allocations: 481.8 kB / 0.651 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003647/1.558, allocations: 0.6235 MB / 0.6516 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06207/1.62, allocations: 15.53 MB / 0.6668 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005657/1.62, allocations: 86.5 kB / 0.6669 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002913/1.623, allocations: 309 kB / 0.6672 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0044/1.628, allocations: 1.468 MB / 0.6686 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04524/1.673, allocations: 12.33 MB / 0.6806 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08157/1.755, allocations: 70.62 MB / 0.7496 GB, free: 41.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/1.778, allocations: 7.082 MB / 0.7565 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005423/1.783, allocations: 3.557 MB / 0.76 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01688/1.8, allocations: 8.812 MB / 0.7686 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/1.8, allocations: 56.34 kB / 0.7686 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 7.479e-06/1.8, allocations: 0 / 0.7686 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.1447/1.945, allocations: 26.43 MB / 0.7945 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.945, allocations: 243.6 kB / 0.7947 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.958, allocations: 5.871 MB / 0.8004 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006058/1.959, allocations: 65.7 kB / 0.8005 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004952/1.964, allocations: 4.551 MB / 0.8049 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/1.966, allocations: 1.095 MB / 0.806 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000715/1.966, allocations: 168 kB / 0.8062 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007/1.967, allocations: 0.6693 MB / 0.8068 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.414/2.381, allocations: 3.214 MB / 0.8099 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/2.399, allocations: 8.174 MB / 0.8179 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/2.412, allocations: 5.097 MB / 0.8229 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002952/2.412, allocations: 50.38 kB / 0.823 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.03327/2.445, allocations: 12.19 MB / 0.8349 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/2.446, allocations: 80.25 kB / 0.8349 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/2.446, allocations: 177.1 kB / 0.8351 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/2.451, allocations: 1.671 MB / 0.8367 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009217/2.46, allocations: 1.995 MB / 0.8387 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/2.478, allocations: 11.2 MB / 0.8496 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009034/2.487, allocations: 0.493 MB / 0.8501 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/2.489, allocations: 0.5071 MB / 0.8506 GB, free: 104.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1031): * Single equations (assignments): 1026 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00215/2.491, allocations: 0.7655 MB / 0.8513 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/2.492, allocations: 0.5641 MB / 0.8519 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/2.507, allocations: 6.22 MB / 0.858 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/2.507, allocations: 29.75 kB / 0.858 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.924e-05/2.507, allocations: 14.39 kB / 0.858 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/2.507, allocations: 13.92 kB / 0.858 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0466/2.554, allocations: 14.14 MB / 0.8718 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.819e-05/2.554, allocations: 7.891 kB / 0.8718 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006999/2.561, allocations: 0.5347 MB / 0.8724 GB, free: 97.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00924/2.57, allocations: 1.396 MB / 0.8737 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009788/2.571, allocations: 58.94 kB / 0.8738 GB, free: 96.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/2.603, allocations: 10.42 MB / 0.884 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/2.604, allocations: 7.719 kB / 0.884 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/2.63, allocations: 10.95 MB / 0.8947 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/2.632, allocations: 0.6453 MB / 0.8953 GB, free: 85.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/2.633, allocations: 52.88 kB / 0.8953 GB, free: 85.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/2.637, allocations: 186.2 kB / 0.8955 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/2.637, allocations: 178.7 kB / 0.8957 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/2.638, allocations: 80.97 kB / 0.8958 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00823/2.646, allocations: 4.19 MB / 0.8999 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.8e-07/2.646, allocations: 0 / 0.8999 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009762/2.656, allocations: 1.549 MB / 0.9014 GB, free: 84.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 227 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008171/2.657, allocations: 202.1 kB / 0.9016 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.672, allocations: 7.771 MB / 0.9091 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.429e-06/2.672, allocations: 0 / 0.9091 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006123/2.678, allocations: 3.117 MB / 0.9122 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/2.682, allocations: 0.7019 MB / 0.9129 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/2.708, allocations: 12.38 MB / 0.925 GB, free: 63.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007873/2.716, allocations: 4.756 MB / 0.9296 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008805/2.725, allocations: 2.811 MB / 0.9324 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/2.727, allocations: 392.9 kB / 0.9327 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.197e-06/2.727, allocations: 4 kB / 0.9327 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.1608/2.888, allocations: 59.77 MB / 0.9911 GB, free: 5.48 MB / 0.5261 GB