Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 270 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.152e-05, allocations: 4 kB / 347 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 61.89 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.5202, allocations: 113.5 MB / 0.5101 GB, free: 9.164 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5205, allocations: 75.95 kB / 0.5102 GB, free: 9.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7389/1.259, allocations: 112.8 MB / 0.6203 GB, free: 20.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.259, allocations: 0 / 0.6203 GB, free: 20.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003203/1.26, allocations: 108 kB / 0.6204 GB, free: 19.95 MB / 442.7 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.017/1.277, allocations: 5.876 MB / 0.6262 GB, free: 14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.277, allocations: 8.031 kB / 0.6262 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03318/1.31, allocations: 6.899 MB / 0.6329 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/1.332, allocations: 6.77 MB / 0.6395 GB, free: 228 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009606/1.333, allocations: 414.9 kB / 0.6399 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004085/1.337, allocations: 0.5388 MB / 0.6404 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07832/1.415, allocations: 13.96 MB / 0.6541 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/1.416, allocations: 67.41 kB / 0.6541 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.417, allocations: 267.9 kB / 0.6544 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/1.419, allocations: 1.364 MB / 0.6557 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03171/1.451, allocations: 11.36 MB / 0.6668 GB, free: 3.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4543/1.905, allocations: 60.66 MB / 0.7261 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02217/1.928, allocations: 5.745 MB / 0.7317 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005347/1.933, allocations: 3.248 MB / 0.7348 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02563/1.959, allocations: 14.71 MB / 0.7492 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.959, allocations: 58.5 kB / 0.7493 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.208e-06/1.959, allocations: 3.75 kB / 0.7493 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.08628/2.045, allocations: 21.75 MB / 0.7705 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/2.045, allocations: 264.2 kB / 0.7708 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008947/2.054, allocations: 4.389 MB / 0.775 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004912/2.055, allocations: 66.48 kB / 0.7751 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002688/2.057, allocations: 3.824 MB / 0.7788 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/2.059, allocations: 0.9924 MB / 0.7798 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/2.059, allocations: 145.9 kB / 0.7799 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004652/2.06, allocations: 0.6181 MB / 0.7806 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005063/2.065, allocations: 2.525 MB / 0.783 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007685/2.073, allocations: 6.818 MB / 0.7897 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007819/2.08, allocations: 4.115 MB / 0.7937 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/2.081, allocations: 46.94 kB / 0.7937 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02116/2.102, allocations: 9.003 MB / 0.8025 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.102, allocations: 74.78 kB / 0.8026 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/2.102, allocations: 151.8 kB / 0.8027 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/2.104, allocations: 0.5871 MB / 0.8033 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/2.112, allocations: 1.739 MB / 0.805 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00697/2.119, allocations: 5.626 MB / 0.8105 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/2.126, allocations: 407.3 kB / 0.8109 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/2.127, allocations: 436.2 kB / 0.8113 GB, free: 46.38 MB / 0.5105 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.001279/2.129, allocations: 0.6894 MB / 0.812 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009559/2.13, allocations: 469.5 kB / 0.8124 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007894/2.138, allocations: 3.974 MB / 0.8163 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/2.138, allocations: 32.58 kB / 0.8164 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/2.138, allocations: 8 kB / 0.8164 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.969e-05/2.138, allocations: 11.02 kB / 0.8164 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/2.16, allocations: 10.24 MB / 0.8264 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/2.16, allocations: 4 kB / 0.8264 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/2.164, allocations: 467 kB / 0.8268 GB, free: 33.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/2.165, allocations: 348.2 kB / 0.8271 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/2.165, allocations: 49.42 kB / 0.8272 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/2.171, allocations: 4.95 MB / 0.832 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.274e-06/2.171, allocations: 4 kB / 0.832 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/2.183, allocations: 7.073 MB / 0.8389 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/2.185, allocations: 496.1 kB / 0.8394 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/2.186, allocations: 40 kB / 0.8394 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/2.189, allocations: 158.8 kB / 0.8396 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000574/2.189, allocations: 145.4 kB / 0.8397 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002659/2.19, allocations: 77.75 kB / 0.8398 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006413/2.196, allocations: 3.062 MB / 0.8428 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.013e-06/2.196, allocations: 6.375 kB / 0.8428 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007827/2.204, allocations: 1.294 MB / 0.8441 GB, free: 16.87 MB / 0.5105 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.0006473/2.205, allocations: 200 kB / 0.8443 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01098/2.216, allocations: 6.142 MB / 0.8503 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/2.216, allocations: 4 kB / 0.8503 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/2.219, allocations: 2.16 MB / 0.8524 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/2.223, allocations: 0.5565 MB / 0.8529 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/2.247, allocations: 10.72 MB / 0.8634 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009016/2.256, allocations: 4.233 MB / 0.8675 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/2.258, allocations: 372 kB / 0.8679 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of SimCode: time 1.909e-06/2.258, allocations: 0 / 0.8679 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of Templates: time 0.5067/2.765, allocations: 117.3 MB / 0.9824 GB, free: 144.9 MB / 0.573 GB