Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.3_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.052e-05, allocations: 7.984 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 58.83 MB / 382.2 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4925, allocations: 105.5 MB / 487.7 MB, free: 2.84 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4928, allocations: 75.97 kB / 487.8 MB, free: 2.766 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8908/1.384, allocations: 163.6 MB / 0.6361 GB, free: 20.18 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.09e-06/1.384, allocations: 0 / 0.6361 GB, free: 20.18 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005096/1.384, allocations: 167.8 kB / 0.6363 GB, free: 20.02 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02524/1.409, allocations: 8.014 MB / 0.6441 GB, free: 12.29 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.409, allocations: 8.031 kB / 0.6441 GB, free: 12.29 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06165/1.471, allocations: 12.04 MB / 0.6559 GB, free: 224 kB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0332/1.504, allocations: 10.82 MB / 0.6665 GB, free: 5.465 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008948/1.505, allocations: 0.6075 MB / 0.6671 GB, free: 4.898 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003686/1.509, allocations: 0.8096 MB / 0.6678 GB, free: 4.133 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05531/1.564, allocations: 19.04 MB / 0.6864 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006113/1.565, allocations: 103 kB / 0.6865 GB, free: 15.63 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003326/1.568, allocations: 381.9 kB / 0.6869 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003706/1.572, allocations: 1.742 MB / 0.6886 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04431/1.616, allocations: 15.19 MB / 0.7034 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4177/2.034, allocations: 79.74 MB / 0.7813 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02757/2.062, allocations: 8.14 MB / 0.7892 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006934/2.069, allocations: 4.087 MB / 0.7932 GB, free: 51.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007961/2.07, allocations: 0.6609 MB / 0.7939 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/2.07, allocations: 69.41 kB / 0.7939 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 8.954e-06/2.07, allocations: 0 / 0.7939 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.09296/2.163, allocations: 25.92 MB / 0.8193 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/2.163, allocations: 292 kB / 0.8195 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/2.177, allocations: 6.682 MB / 0.8261 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006374/2.178, allocations: 75.55 kB / 0.8261 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004312/2.182, allocations: 5.621 MB / 0.8316 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/2.183, allocations: 1.254 MB / 0.8329 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008499/2.184, allocations: 190.6 kB / 0.833 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005723/2.185, allocations: 0.696 MB / 0.8337 GB, free: 36.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009378/2.194, allocations: 3.372 MB / 0.837 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02682/2.221, allocations: 8.83 MB / 0.8456 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03932/2.261, allocations: 5.416 MB / 0.8509 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002847/2.261, allocations: 55.75 kB / 0.851 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.05209/2.313, allocations: 12.33 MB / 0.863 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/2.313, allocations: 88 kB / 0.8631 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003512/2.314, allocations: 192.8 kB / 0.8633 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00546/2.319, allocations: 1.015 MB / 0.8643 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01795/2.337, allocations: 2.165 MB / 0.8664 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/2.357, allocations: 11 MB / 0.8771 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009776/2.366, allocations: 0.5012 MB / 0.8776 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/2.368, allocations: 0.5587 MB / 0.8782 GB, free: 4.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],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.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 (1152): * Single equations (assignments): 1145 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001848/2.37, allocations: 0.8347 MB / 0.879 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/2.372, allocations: 0.6672 MB / 0.8796 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/2.388, allocations: 6.058 MB / 0.8855 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/2.388, allocations: 35.94 kB / 0.8856 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/2.388, allocations: 8 kB / 0.8856 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-05/2.389, allocations: 23.47 kB / 0.8856 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04042/2.429, allocations: 14.63 MB / 0.8999 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/2.429, allocations: 0 / 0.8999 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/2.433, allocations: 0.5283 MB / 0.9004 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/2.436, allocations: 0.6689 MB / 0.9011 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005406/2.436, allocations: 62.2 kB / 0.9011 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/2.452, allocations: 9.861 MB / 0.9108 GB, free: 8.176 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.829e-06/2.452, allocations: 0 / 0.9108 GB, free: 8.176 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.354/2.806, allocations: 10.18 MB / 0.9207 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004291/2.81, allocations: 1.171 MB / 0.9218 GB, free: 122 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/2.812, allocations: 54.14 kB / 0.9219 GB, free: 122 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004046/2.816, allocations: 194.7 kB / 0.9221 GB, free: 122 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/2.817, allocations: 196.9 kB / 0.9223 GB, free: 122 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/2.817, allocations: 84.22 kB / 0.9223 GB, free: 122 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01072/2.828, allocations: 4.759 MB / 0.927 GB, free: 121.8 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.162e-06/2.828, allocations: 0 / 0.927 GB, free: 121.8 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01119/2.839, allocations: 1.813 MB / 0.9288 GB, free: 121.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(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.000893/2.84, allocations: 221.4 kB / 0.929 GB, free: 121.7 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01563/2.856, allocations: 8.337 MB / 0.9371 GB, free: 121.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.798e-06/2.856, allocations: 3.469 kB / 0.9371 GB, free: 121.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005486/2.861, allocations: 3.092 MB / 0.9401 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/2.867, allocations: 0.9169 MB / 0.941 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/2.9, allocations: 14.5 MB / 0.9552 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01223/2.912, allocations: 5.904 MB / 0.961 GB, free: 117 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01188/2.924, allocations: 3.049 MB / 0.9639 GB, free: 117 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/2.926, allocations: 447.6 kB / 0.9644 GB, free: 117 MB / 0.5418 GB Notification: Performance of SimCode: time 2.626e-06/2.926, allocations: 0 / 0.9644 GB, free: 117 MB / 0.5418 GB Notification: Performance of Templates: time 0.1778/3.104, allocations: 67.13 MB / 1.03 GB, free: 89.63 MB / 0.5418 GB