Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.932e-05, allocations: 0 / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 61.89 MB / 410.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.5713, allocations: 109 MB / 0.5071 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5716, allocations: 75.97 kB / 0.5072 GB, free: 13.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8632/1.435, allocations: 141.3 MB / 0.6452 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.035e-06/1.435, allocations: 0 / 0.6452 GB, free: 11.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004712/1.435, allocations: 147.9 kB / 0.6453 GB, free: 11.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02336/1.459, allocations: 6.87 MB / 0.652 GB, free: 4.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.459, allocations: 8.031 kB / 0.652 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05021/1.509, allocations: 9.514 MB / 0.6613 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03899/1.548, allocations: 8.371 MB / 0.6695 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/1.549, allocations: 0.5216 MB / 0.67 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004509/1.554, allocations: 0.7027 MB / 0.6707 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0735/1.627, allocations: 16.44 MB / 0.6868 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000824/1.628, allocations: 107 kB / 0.6869 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00389/1.632, allocations: 347.8 kB / 0.6872 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004599/1.637, allocations: 1.483 MB / 0.6886 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0364/1.673, allocations: 12.72 MB / 0.7011 GB, free: 264 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7985/2.472, allocations: 75.39 MB / 0.7747 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/2.492, allocations: 6.265 MB / 0.7808 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00557/2.498, allocations: 3.444 MB / 0.7842 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/2.498, allocations: 49.78 kB / 0.7842 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/2.498, allocations: 66.83 kB / 0.7843 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 7.18e-06/2.498, allocations: 0 / 0.7843 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.07852/2.577, allocations: 24.13 MB / 0.8078 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/2.577, allocations: 287.5 kB / 0.8081 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/2.59, allocations: 6.242 MB / 0.8142 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005005/2.59, allocations: 61.89 kB / 0.8143 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003871/2.594, allocations: 4.993 MB / 0.8191 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/2.595, allocations: 1.014 MB / 0.8201 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006676/2.596, allocations: 173.8 kB / 0.8203 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005075/2.597, allocations: 0.6773 MB / 0.821 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006304/2.603, allocations: 3.014 MB / 0.8239 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008934/2.612, allocations: 8.214 MB / 0.8319 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/2.621, allocations: 4.944 MB / 0.8368 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/2.622, allocations: 57.8 kB / 0.8368 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02724/2.649, allocations: 11.64 MB / 0.8482 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/2.649, allocations: 82.44 kB / 0.8483 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002086/2.649, allocations: 185.1 kB / 0.8484 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00426/2.654, allocations: 1.361 MB / 0.8498 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008296/2.662, allocations: 1.975 MB / 0.8517 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/2.678, allocations: 11.23 MB / 0.8627 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/2.688, allocations: 478.3 kB / 0.8631 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003277/2.691, allocations: 0.5174 MB / 0.8636 GB, free: 5.133 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003487/2.695, allocations: 0.7867 MB / 0.8644 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002846/2.697, allocations: 0.5939 MB / 0.865 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02687/2.724, allocations: 5.241 MB / 0.8701 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/2.725, allocations: 32 kB / 0.8701 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-05/2.725, allocations: 8 kB / 0.8701 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.611e-05/2.725, allocations: 17.16 kB / 0.8701 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06033/2.785, allocations: 12.9 MB / 0.8827 GB, free: 5.055 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/2.785, allocations: 4 kB / 0.8827 GB, free: 5.051 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/2.788, allocations: 423.7 kB / 0.8831 GB, free: 4.719 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003998/2.792, allocations: 1.047 MB / 0.8842 GB, free: 3.961 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004915/2.793, allocations: 47.89 kB / 0.8842 GB, free: 3.918 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/2.811, allocations: 10.2 MB / 0.8942 GB, free: 10.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.773e-06/2.811, allocations: 0 / 0.8942 GB, free: 10.41 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/2.83, allocations: 8.965 MB / 0.9029 GB, free: 2.457 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/2.832, allocations: 0.6612 MB / 0.9036 GB, free: 1.801 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/2.834, allocations: 47.94 kB / 0.9036 GB, free: 1.754 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/2.838, allocations: 147.2 kB / 0.9037 GB, free: 1.66 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007853/2.839, allocations: 154 kB / 0.9039 GB, free: 1.566 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/2.839, allocations: 71.12 kB / 0.904 GB, free: 1.5 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.02264/2.862, allocations: 5.048 MB / 0.9089 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.375e-06/2.862, allocations: 0 / 0.9089 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01079/2.873, allocations: 1.595 MB / 0.9105 GB, free: 13.52 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007992/2.873, allocations: 189.8 kB / 0.9106 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01611/2.89, allocations: 7.393 MB / 0.9179 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.89, allocations: 0 / 0.9179 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005978/2.896, allocations: 2.71 MB / 0.9205 GB, free: 4.172 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/2.901, allocations: 0.8146 MB / 0.9213 GB, free: 3.5 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3538/3.255, allocations: 12.66 MB / 0.9337 GB, free: 135.4 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/3.266, allocations: 5.157 MB / 0.9387 GB, free: 134.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0105/3.276, allocations: 2.825 MB / 0.9415 GB, free: 134.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/3.278, allocations: 392.9 kB / 0.9418 GB, free: 134.5 MB / 0.5574 GB Notification: Performance of SimCode: time 1.797e-06/3.278, allocations: 0 / 0.9418 GB, free: 134.5 MB / 0.5574 GB Notification: Performance of Templates: time 0.1629/3.441, allocations: 59.47 MB / 0.9999 GB, free: 127.3 MB / 0.5574 GB