Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.23e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5004, allocations: 111.6 MB / 493.8 MB, free: 12.84 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5007, allocations: 75.97 kB / 493.9 MB, free: 12.77 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.713/1.214, allocations: 111.4 MB / 0.5911 GB, free: 84.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.388e-06/1.214, allocations: 0 / 0.5911 GB, free: 84.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003064/1.214, allocations: 112 kB / 0.5912 GB, free: 84.79 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01797/1.232, allocations: 5.877 MB / 0.597 GB, free: 78.84 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.232, allocations: 11.97 kB / 0.597 GB, free: 78.83 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.034/1.266, allocations: 6.903 MB / 0.6037 GB, free: 71.91 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.286, allocations: 7.075 MB / 0.6106 GB, free: 64.75 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/1.286, allocations: 410.8 kB / 0.611 GB, free: 64.34 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/1.288, allocations: 0.5466 MB / 0.6115 GB, free: 63.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/1.32, allocations: 13.97 MB / 0.6252 GB, free: 48.69 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/1.321, allocations: 71.3 kB / 0.6252 GB, free: 48.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/1.322, allocations: 267.8 kB / 0.6255 GB, free: 48.36 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002011/1.324, allocations: 1.36 MB / 0.6268 GB, free: 46.99 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/1.352, allocations: 11.36 MB / 0.6379 GB, free: 35.62 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08123/1.433, allocations: 60.73 MB / 0.6972 GB, free: 5.023 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/1.456, allocations: 5.744 MB / 0.7028 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/1.462, allocations: 3.243 MB / 0.706 GB, free: 11.88 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3214/1.784, allocations: 14.73 MB / 0.7204 GB, free: 126 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.784, allocations: 61.66 kB / 0.7204 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=227): time 7.556e-06/1.784, allocations: 1.156 kB / 0.7204 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=264): time 0.08935/1.873, allocations: 21.87 MB / 0.7418 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/1.873, allocations: 265.5 kB / 0.7421 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008709/1.882, allocations: 4.415 MB / 0.7464 GB, free: 121.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004866/1.882, allocations: 66.05 kB / 0.7464 GB, free: 121.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002918/1.885, allocations: 3.986 MB / 0.7503 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.886, allocations: 0.9848 MB / 0.7513 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000639/1.887, allocations: 146.9 kB / 0.7514 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004473/1.888, allocations: 0.6151 MB / 0.752 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.893, allocations: 2.522 MB / 0.7545 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007329/1.9, allocations: 6.818 MB / 0.7611 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007441/1.907, allocations: 4.118 MB / 0.7652 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.908, allocations: 41.56 kB / 0.7652 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02086/1.929, allocations: 9.198 MB / 0.7742 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.929, allocations: 74.31 kB / 0.7743 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/1.929, allocations: 154.3 kB / 0.7744 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/1.931, allocations: 0.5832 MB / 0.775 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008768/1.939, allocations: 1.737 MB / 0.7767 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.952, allocations: 5.617 MB / 0.7822 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/1.964, allocations: 405.3 kB / 0.7825 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.966, allocations: 442.7 kB / 0.783 GB, free: 103.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (916): * Single equations (assignments): 911 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.968, allocations: 0.6821 MB / 0.7836 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.969, allocations: 469.9 kB / 0.7841 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009645/1.979, allocations: 3.981 MB / 0.788 GB, free: 99.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.436e-05/1.979, allocations: 29.33 kB / 0.788 GB, free: 99.27 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/1.979, allocations: 6.875 kB / 0.788 GB, free: 99.27 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.82e-05/1.979, allocations: 12.84 kB / 0.788 GB, free: 99.27 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04924/2.029, allocations: 10.25 MB / 0.798 GB, free: 90.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/2.029, allocations: 0 / 0.798 GB, free: 90.89 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007005/2.036, allocations: 467.5 kB / 0.7985 GB, free: 90.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/2.038, allocations: 345.2 kB / 0.7988 GB, free: 90.26 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007238/2.039, allocations: 50.47 kB / 0.7988 GB, free: 90.21 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/2.052, allocations: 4.958 MB / 0.8037 GB, free: 85.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.134e-06/2.052, allocations: 0 / 0.8037 GB, free: 85.41 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/2.069, allocations: 7.085 MB / 0.8106 GB, free: 79.01 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.072, allocations: 0.8249 MB / 0.8114 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/2.073, allocations: 43.95 kB / 0.8115 GB, free: 78.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/2.076, allocations: 167.6 kB / 0.8116 GB, free: 78.08 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/2.076, allocations: 137.4 kB / 0.8117 GB, free: 78 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/2.077, allocations: 67.52 kB / 0.8118 GB, free: 77.93 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006609/2.083, allocations: 3.093 MB / 0.8148 GB, free: 75.21 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.271e-06/2.083, allocations: 0 / 0.8148 GB, free: 75.21 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008038/2.091, allocations: 1.295 MB / 0.8161 GB, free: 73.93 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (224): * Single equations (assignments): 219 * 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 {(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.0006281/2.092, allocations: 202.1 kB / 0.8163 GB, free: 73.73 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0109/2.103, allocations: 6.144 MB / 0.8223 GB, free: 68.12 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.78e-06/2.103, allocations: 3.938 kB / 0.8223 GB, free: 68.12 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/2.107, allocations: 2.148 MB / 0.8244 GB, free: 66.13 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/2.11, allocations: 0.5623 MB / 0.8249 GB, free: 65.64 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/2.131, allocations: 10.09 MB / 0.8348 GB, free: 56.66 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006932/2.138, allocations: 4.231 MB / 0.8389 GB, free: 53.53 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008739/2.147, allocations: 2.385 MB / 0.8413 GB, free: 52 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/2.149, allocations: 326.1 kB / 0.8416 GB, free: 51.69 MB / 0.4949 GB Notification: Performance of SimCode: time 1.753e-06/2.149, allocations: 4 kB / 0.8416 GB, free: 51.68 MB / 0.4949 GB Notification: Performance of Templates: time 0.1185/2.267, allocations: 44.23 MB / 0.8848 GB, free: 9.578 MB / 0.4949 GB