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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.366e-05, allocations: 11.98 kB / 348.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5565/0.6675, allocations: 109 MB / 0.5071 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.6678, allocations: 71.97 kB / 0.5071 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.997/1.665, allocations: 141.4 MB / 0.6452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.482e-06/1.665, allocations: 0 / 0.6452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004336/1.665, allocations: 139.7 kB / 0.6453 GB, free: 107.8 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02115/1.686, allocations: 6.882 MB / 0.652 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.686, allocations: 11 kB / 0.652 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/1.738, allocations: 9.505 MB / 0.6613 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/1.763, allocations: 8.372 MB / 0.6695 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/1.763, allocations: 0.5219 MB / 0.67 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/1.766, allocations: 0.7043 MB / 0.6707 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/1.806, allocations: 16.43 MB / 0.6867 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003837/1.806, allocations: 102.3 kB / 0.6868 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/1.808, allocations: 342.7 kB / 0.6872 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/1.811, allocations: 1.492 MB / 0.6886 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03248/1.843, allocations: 12.72 MB / 0.7011 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0867/1.93, allocations: 75.41 MB / 0.7747 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/1.95, allocations: 6.262 MB / 0.7808 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005046/1.955, allocations: 3.446 MB / 0.7842 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/1.955, allocations: 45.97 kB / 0.7842 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.955, allocations: 63.28 kB / 0.7843 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 7.384e-06/1.955, allocations: 0 / 0.7843 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.08489/2.04, allocations: 24.12 MB / 0.8078 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/2.04, allocations: 282.9 kB / 0.8081 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3683/2.408, allocations: 6.235 MB / 0.8142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005339/2.409, allocations: 65.91 kB / 0.8143 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004683/2.414, allocations: 4.991 MB / 0.8191 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00142/2.415, allocations: 1.022 MB / 0.8201 GB, free: 111 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008588/2.416, allocations: 171.7 kB / 0.8203 GB, free: 111 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006541/2.417, allocations: 0.6707 MB / 0.8209 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007098/2.424, allocations: 3.015 MB / 0.8239 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/2.435, allocations: 8.223 MB / 0.8319 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.445, allocations: 4.944 MB / 0.8367 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003099/2.446, allocations: 53.66 kB / 0.8368 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02928/2.475, allocations: 11.64 MB / 0.8482 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/2.475, allocations: 82.41 kB / 0.8482 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/2.476, allocations: 188.5 kB / 0.8484 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004333/2.48, allocations: 1.359 MB / 0.8498 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009258/2.489, allocations: 1.976 MB / 0.8517 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/2.506, allocations: 11.21 MB / 0.8626 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009498/2.516, allocations: 483.1 kB / 0.8631 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/2.518, allocations: 0.5149 MB / 0.8636 GB, free: 95.54 MB / 0.5261 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.002596/2.52, allocations: 0.7889 MB / 0.8644 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.522, allocations: 0.599 MB / 0.8649 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/2.535, allocations: 5.231 MB / 0.8701 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/2.535, allocations: 31.31 kB / 0.8701 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/2.535, allocations: 10.66 kB / 0.8701 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-05/2.535, allocations: 13.2 kB / 0.8701 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03395/2.569, allocations: 12.88 MB / 0.8827 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/2.569, allocations: 2.469 kB / 0.8827 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/2.572, allocations: 429.1 kB / 0.8831 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/2.576, allocations: 1.053 MB / 0.8841 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005299/2.577, allocations: 54.91 kB / 0.8842 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/2.592, allocations: 10.19 MB / 0.8941 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.938e-06/2.592, allocations: 7.719 kB / 0.8941 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/2.609, allocations: 8.973 MB / 0.9029 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/2.611, allocations: 0.6596 MB / 0.9035 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/2.613, allocations: 46.83 kB / 0.9036 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.617, allocations: 149.5 kB / 0.9037 GB, free: 76.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000742/2.618, allocations: 149.9 kB / 0.9039 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/2.618, allocations: 65.17 kB / 0.9039 GB, free: 76.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009911/2.628, allocations: 4.429 MB / 0.9083 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-06/2.628, allocations: 4 kB / 0.9083 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01012/2.638, allocations: 1.59 MB / 0.9098 GB, free: 75.2 MB / 0.5261 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.0007952/2.639, allocations: 190 kB / 0.91 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01401/2.653, allocations: 7.407 MB / 0.9172 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/2.653, allocations: 2.625 kB / 0.9172 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004921/2.658, allocations: 2.701 MB / 0.9199 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/2.664, allocations: 0.8132 MB / 0.9207 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/2.693, allocations: 12.66 MB / 0.933 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.704, allocations: 5.159 MB / 0.9381 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01081/2.715, allocations: 2.826 MB / 0.9408 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/2.717, allocations: 389.7 kB / 0.9412 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of SimCode: time 2.518e-06/2.717, allocations: 0 / 0.9412 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.1633/2.88, allocations: 59.47 MB / 0.9993 GB, free: 13.47 MB / 0.5417 GB