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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.836e-05, allocations: 8.922 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5754, allocations: 113.5 MB / 0.5115 GB, free: 6.625 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.5759, allocations: 72.47 kB / 0.5115 GB, free: 6.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7491/1.325, allocations: 112.8 MB / 0.6217 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.634e-06/1.325, allocations: 3.562 kB / 0.6217 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003871/1.325, allocations: 111.4 kB / 0.6218 GB, free: 111.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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02021/1.346, allocations: 5.866 MB / 0.6275 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.346, allocations: 9.125 kB / 0.6276 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03673/1.382, allocations: 6.904 MB / 0.6343 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.404, allocations: 6.768 MB / 0.6409 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/1.405, allocations: 411 kB / 0.6413 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.407, allocations: 0.5443 MB / 0.6418 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/1.445, allocations: 13.96 MB / 0.6555 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003349/1.445, allocations: 78.08 kB / 0.6555 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/1.447, allocations: 264.8 kB / 0.6558 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/1.449, allocations: 1.361 MB / 0.6571 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/1.481, allocations: 11.36 MB / 0.6682 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07964/1.56, allocations: 60.68 MB / 0.7275 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/1.582, allocations: 5.748 MB / 0.7331 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005363/1.588, allocations: 3.25 MB / 0.7363 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02618/1.614, allocations: 14.7 MB / 0.7506 GB, free: 40.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/1.614, allocations: 67.64 kB / 0.7507 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.676e-06/1.614, allocations: 0 / 0.7507 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.08785/1.702, allocations: 21.75 MB / 0.7719 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.702, allocations: 261.3 kB / 0.7722 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009735/1.712, allocations: 4.397 MB / 0.7765 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005152/1.712, allocations: 65.7 kB / 0.7765 GB, free: 17.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.715, allocations: 3.979 MB / 0.7804 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.717, allocations: 0.9853 MB / 0.7814 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/1.717, allocations: 148 kB / 0.7815 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004917/1.718, allocations: 0.6161 MB / 0.7821 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005665/1.724, allocations: 2.521 MB / 0.7846 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008213/1.732, allocations: 6.816 MB / 0.7912 GB, free: 128 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009648/1.742, allocations: 4.113 MB / 0.7952 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.742, allocations: 44 kB / 0.7953 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02544/1.767, allocations: 9.203 MB / 0.8043 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.767, allocations: 68 kB / 0.8043 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/1.768, allocations: 152 kB / 0.8045 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.77, allocations: 0.584 MB / 0.805 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008843/1.778, allocations: 1.743 MB / 0.8068 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3198/2.098, allocations: 5.602 MB / 0.8122 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008123/2.106, allocations: 406.1 kB / 0.8126 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.109, allocations: 442.4 kB / 0.813 GB, free: 110.2 MB / 0.5261 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.001864/2.11, allocations: 0.6813 MB / 0.8137 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/2.112, allocations: 468.4 kB / 0.8141 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/2.122, allocations: 3.975 MB / 0.818 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/2.122, allocations: 31.31 kB / 0.8181 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/2.122, allocations: 5.156 kB / 0.8181 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/2.122, allocations: 13.64 kB / 0.8181 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02874/2.151, allocations: 10.23 MB / 0.8281 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/2.151, allocations: 6.234 kB / 0.8281 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/2.154, allocations: 463.3 kB / 0.8285 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/2.156, allocations: 347.7 kB / 0.8288 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/2.156, allocations: 45.34 kB / 0.8289 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006604/2.163, allocations: 4.957 MB / 0.8337 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.915e-06/2.163, allocations: 1.375 kB / 0.8337 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/2.176, allocations: 7.081 MB / 0.8406 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.178, allocations: 498.9 kB / 0.8411 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/2.179, allocations: 43.09 kB / 0.8412 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/2.183, allocations: 157.9 kB / 0.8413 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006518/2.184, allocations: 151.1 kB / 0.8415 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/2.184, allocations: 67.33 kB / 0.8415 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007248/2.191, allocations: 3.061 MB / 0.8445 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.074e-06/2.191, allocations: 0 / 0.8445 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008933/2.2, allocations: 1.302 MB / 0.8458 GB, free: 104.5 MB / 0.5261 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.0008255/2.201, allocations: 199.8 kB / 0.846 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0125/2.213, allocations: 6.136 MB / 0.852 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.429e-06/2.214, allocations: 0 / 0.852 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/2.218, allocations: 2.16 MB / 0.8541 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/2.222, allocations: 0.5628 MB / 0.8546 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/2.245, allocations: 10.06 MB / 0.8644 GB, free: 97.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008438/2.254, allocations: 4.22 MB / 0.8686 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009221/2.263, allocations: 2.385 MB / 0.8709 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/2.265, allocations: 325.8 kB / 0.8712 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/2.265, allocations: 0 / 0.8712 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.1234/2.388, allocations: 44.19 MB / 0.9144 GB, free: 81.39 MB / 0.5261 GB