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_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 1.886/1.886, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.256e-05/5.291e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08654, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.4935, allocations: 94.61 MB / 416.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4938, allocations: 74.59 kB / 416.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7341/1.228, allocations: 128.7 MB / 0.5323 GB, free: 70.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.228, allocations: 0.6562 kB / 0.5323 GB, free: 70.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004007/1.228, allocations: 127.3 kB / 0.5324 GB, free: 70.57 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02252/1.251, allocations: 6.556 MB / 0.5389 GB, free: 68.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.251, allocations: 9.844 kB / 0.5389 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03728/1.288, allocations: 7.118 MB / 0.5458 GB, free: 67.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02171/1.31, allocations: 7.372 MB / 0.553 GB, free: 66.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/1.311, allocations: 496.4 kB / 0.5535 GB, free: 66.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/1.313, allocations: 0.6443 MB / 0.5541 GB, free: 66.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/1.351, allocations: 16.07 MB / 0.5698 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/1.352, allocations: 99.19 kB / 0.5699 GB, free: 62.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001434/1.353, allocations: 313.8 kB / 0.5702 GB, free: 62.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/1.355, allocations: 1.543 MB / 0.5717 GB, free: 62.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03279/1.388, allocations: 12.88 MB / 0.5843 GB, free: 62.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08634/1.475, allocations: 72.47 MB / 0.6551 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/1.497, allocations: 7.4 MB / 0.6623 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/1.51, allocations: 4.176 MB / 0.6664 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02238/1.532, allocations: 9.646 MB / 0.6758 GB, free: 7.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/1.532, allocations: 67.23 kB / 0.6758 GB, free: 7.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.89e-06/1.532, allocations: 4 kB / 0.6758 GB, free: 7.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.3563/1.889, allocations: 27.69 MB / 0.7029 GB, free: 78.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/1.889, allocations: 240.8 kB / 0.7031 GB, free: 77.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/1.902, allocations: 6.01 MB / 0.709 GB, free: 77.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007135/1.902, allocations: 72.66 kB / 0.7091 GB, free: 77.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003485/1.906, allocations: 4.452 MB / 0.7134 GB, free: 75.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.907, allocations: 1.191 MB / 0.7146 GB, free: 74.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008919/1.908, allocations: 179.8 kB / 0.7147 GB, free: 74.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000531/1.909, allocations: 0.6864 MB / 0.7154 GB, free: 74.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007301/1.916, allocations: 3.475 MB / 0.7188 GB, free: 74.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009795/1.926, allocations: 8.555 MB / 0.7272 GB, free: 67.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.937, allocations: 5.421 MB / 0.7325 GB, free: 67.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.937, allocations: 51.62 kB / 0.7325 GB, free: 67.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03086/1.968, allocations: 12.6 MB / 0.7448 GB, free: 66.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/1.968, allocations: 83.91 kB / 0.7449 GB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/1.968, allocations: 182.4 kB / 0.7451 GB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/1.973, allocations: 1.679 MB / 0.7467 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00944/1.983, allocations: 2.11 MB / 0.7488 GB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/2.001, allocations: 11.22 MB / 0.7597 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.011, allocations: 0.5283 MB / 0.7602 GB, free: 60.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002005/2.013, allocations: 0.5237 MB / 0.7607 GB, free: 59.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (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.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1084): * Single equations (assignments): 1079 * 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.002784/2.016, allocations: 0.7857 MB / 0.7615 GB, free: 59.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/2.017, allocations: 0.5833 MB / 0.7621 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/2.034, allocations: 6.729 MB / 0.7687 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-05/2.034, allocations: 36.88 kB / 0.7687 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.375e-05/2.034, allocations: 10.7 kB / 0.7687 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/2.034, allocations: 18.14 kB / 0.7687 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03597/2.07, allocations: 15.12 MB / 0.7835 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/2.07, allocations: 4 kB / 0.7835 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/2.074, allocations: 0.5886 MB / 0.7841 GB, free: 49.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/2.079, allocations: 1.399 MB / 0.7854 GB, free: 48.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007172/2.079, allocations: 62.58 kB / 0.7855 GB, free: 48.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/2.095, allocations: 10.41 MB / 0.7957 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.095, allocations: 8 kB / 0.7957 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02061/2.116, allocations: 11.81 MB / 0.8072 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003798/2.12, allocations: 1.158 MB / 0.8083 GB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/2.122, allocations: 55.2 kB / 0.8084 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004698/2.127, allocations: 215.9 kB / 0.8086 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009677/2.128, allocations: 197.3 kB / 0.8088 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/2.128, allocations: 84 kB / 0.8089 GB, free: 27.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00957/2.137, allocations: 4.289 MB / 0.813 GB, free: 23.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.33e-06/2.138, allocations: 0 / 0.813 GB, free: 23.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0107/2.148, allocations: 1.635 MB / 0.8146 GB, free: 22.11 MB / 442.7 MB 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 (260): * Single equations (assignments): 255 * 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.0009835/2.149, allocations: 203.3 kB / 0.8148 GB, free: 21.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01589/2.165, allocations: 8.345 MB / 0.823 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.611e-06/2.165, allocations: 0 / 0.823 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006922/2.172, allocations: 3.365 MB / 0.8263 GB, free: 11.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/2.177, allocations: 0.7011 MB / 0.827 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03231/2.209, allocations: 13.79 MB / 0.8404 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/2.222, allocations: 4.931 MB / 0.8452 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002802/2.225, allocations: 465.8 kB / 0.8457 GB, free: 10.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.879e-06/2.225, allocations: 4 kB / 0.8457 GB, free: 10.52 MB / 458.7 MB Notification: Performance of Templates: time 0.5064/2.731, allocations: 143.3 MB / 0.9857 GB, free: 12.83 MB / 458.7 MB