Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.788e-05, allocations: 4 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.4968, allocations: 114.6 MB / 0.5112 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4971, allocations: 71.97 kB / 0.5113 GB, free: 7.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7482/1.245, allocations: 137.9 MB / 0.6459 GB, free: 9.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.245, allocations: 0 / 0.6459 GB, free: 9.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004682/1.246, allocations: 140 kB / 0.646 GB, free: 9.504 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02464/1.27, allocations: 7.024 MB / 0.6529 GB, free: 2.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.271, allocations: 12.03 kB / 0.6529 GB, free: 2.391 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04179/1.312, allocations: 7.565 MB / 0.6603 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02969/1.342, allocations: 9.188 MB / 0.6693 GB, free: 1.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007413/1.343, allocations: 492.9 kB / 0.6697 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.346, allocations: 0.6519 MB / 0.6704 GB, free: 404 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04663/1.393, allocations: 16.51 MB / 0.6865 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004472/1.393, allocations: 99.03 kB / 0.6866 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/1.396, allocations: 315.8 kB / 0.6869 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.399, allocations: 1.588 MB / 0.6885 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03858/1.438, allocations: 13.25 MB / 0.7014 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4127/1.851, allocations: 74.31 MB / 0.774 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02884/1.879, allocations: 7.661 MB / 0.7814 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006781/1.886, allocations: 3.978 MB / 0.7853 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03488/1.921, allocations: 18.65 MB / 0.8035 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.921, allocations: 64.69 kB / 0.8036 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 7.2e-06/1.921, allocations: 0 / 0.8036 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.1611/2.082, allocations: 38.74 MB / 0.8414 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/2.082, allocations: 269.1 kB / 0.8417 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/2.093, allocations: 5.268 MB / 0.8468 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000714/2.094, allocations: 83.89 kB / 0.8469 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003156/2.097, allocations: 4.562 MB / 0.8514 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/2.099, allocations: 1.361 MB / 0.8527 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009194/2.1, allocations: 184 kB / 0.8529 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005568/2.101, allocations: 0.7058 MB / 0.8536 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007255/2.108, allocations: 3.669 MB / 0.8571 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/2.118, allocations: 8.81 MB / 0.8657 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.128, allocations: 5.587 MB / 0.8712 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/2.129, allocations: 52 kB / 0.8712 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05633/2.185, allocations: 15.76 MB / 0.8866 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/2.185, allocations: 86.17 kB / 0.8867 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002762/2.185, allocations: 188 kB / 0.8869 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/2.202, allocations: 4.013 MB / 0.8908 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009723/2.212, allocations: 2.048 MB / 0.8928 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0652/2.277, allocations: 20.94 MB / 0.9133 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02173/2.299, allocations: 0.5384 MB / 0.9138 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004099/2.303, allocations: 0.5246 MB / 0.9143 GB, free: 112 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1088): * Single equations (assignments): 1083 * 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 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005809/2.309, allocations: 0.8096 MB / 0.9151 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003262/2.312, allocations: 0.5707 MB / 0.9157 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03852/2.351, allocations: 9.449 MB / 0.9249 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-05/2.351, allocations: 39.94 kB / 0.9249 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-05/2.351, allocations: 19.25 kB / 0.9249 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/2.351, allocations: 23.92 kB / 0.925 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3772/2.728, allocations: 18.92 MB / 0.9434 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-05/2.728, allocations: 0 / 0.9434 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/2.732, allocations: 0.5087 MB / 0.9439 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01592/2.748, allocations: 3.556 MB / 0.9474 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007395/2.749, allocations: 67.97 kB / 0.9475 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03624/2.785, allocations: 18.73 MB / 0.9658 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.395e-06/2.785, allocations: 3.562 kB / 0.9658 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03332/2.818, allocations: 13.95 MB / 0.9794 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/2.82, allocations: 0.5863 MB / 0.98 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00179/2.822, allocations: 58.44 kB / 0.98 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004624/2.827, allocations: 225.8 kB / 0.9802 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.828, allocations: 228 kB / 0.9804 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/2.828, allocations: 87.16 kB / 0.9805 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008458/2.837, allocations: 3.677 MB / 0.9841 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.92e-07/2.837, allocations: 0 / 0.9841 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01147/2.848, allocations: 1.848 MB / 0.9859 GB, free: 126.9 MB / 0.5573 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 (270): * Single equations (assignments): 265 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/2.85, allocations: 228 kB / 0.9861 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01854/2.868, allocations: 9.187 MB / 0.9951 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.042e-06/2.868, allocations: 5.625 kB / 0.9951 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007815/2.876, allocations: 3.669 MB / 0.9987 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/2.881, allocations: 0.7091 MB / 0.9994 GB, free: 122 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/2.915, allocations: 13.85 MB / 1.013 GB, free: 117 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.925, allocations: 5.007 MB / 1.018 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/2.927, allocations: 445.9 kB / 1.018 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.762e-06/2.928, allocations: 0 / 1.018 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.5483/3.476, allocations: 144.3 MB / 1.159 GB, free: 131.3 MB / 0.5573 GB