Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.449 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 47.59 MB / 326.5 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.05834/0.2825, allocations: 62.65 MB / 389.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03076/0.3133, allocations: 14.66 MB / 403.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01326/0.3266, allocations: 323.2 kB / 404.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.3372, allocations: 3.091 MB / 407.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02903/0.3662, allocations: 8.941 MB / 416.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00597/0.3722, allocations: 1.256 MB / 417.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0402/0.4124, allocations: 28.11 MB / 445.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.4228, allocations: 6.356 MB / 451.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.4266, allocations: 1.857 MB / 453.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.4309, allocations: 2.656 MB / 456.3 MB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4324, allocations: 248 kB / 456.6 MB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2164/0.6488, allocations: 1.156 MB / 457.7 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00452/0.6534, allocations: 2.775 MB / 460.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.656, allocations: 1.321 MB / 461.8 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009245/0.6652, allocations: 8.884 MB / 470.7 MB, free: 32.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6653, allocations: 0 / 470.7 MB, free: 32.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6653, allocations: 0.5 kB / 470.7 MB, free: 32.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003994/0.6657, allocations: 3.594 kB / 470.7 MB, free: 32.33 MB / 382.1 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.01906/0.6848, allocations: 7.378 MB / 478.1 MB, free: 29.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6848, allocations: 10.31 kB / 478.1 MB, free: 29.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1633/0.8482, allocations: 15.11 MB / 493.2 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.8634, allocations: 6.196 MB / 499.4 MB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.8639, allocations: 374 kB / 499.8 MB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/0.866, allocations: 0.5041 MB / 0.4886 GB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/0.8955, allocations: 16.35 MB / 0.5045 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/0.8958, allocations: 73.06 kB / 0.5046 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/0.8971, allocations: 233.4 kB / 0.5048 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004232/0.9013, allocations: 2.926 MB / 0.5077 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.9307, allocations: 13.7 MB / 0.5211 GB, free: 12.77 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08889/1.02, allocations: 64.52 MB / 0.5841 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/1.042, allocations: 7.873 MB / 0.5917 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03299/1.075, allocations: 18.92 MB / 0.6102 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/1.075, allocations: 71.09 kB / 0.6103 GB, free: 13.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=287): time 6.302e-06/1.075, allocations: 0 / 0.6103 GB, free: 13.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=370): time 0.3408/1.416, allocations: 51.86 MB / 0.6609 GB, free: 177.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/1.416, allocations: 273.8 kB / 0.6612 GB, free: 177.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007432/1.424, allocations: 6.571 MB / 0.6676 GB, free: 171 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006996/1.424, allocations: 77.7 kB / 0.6677 GB, free: 170.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/1.426, allocations: 4.752 MB / 0.6723 GB, free: 166.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.428, allocations: 1.363 MB / 0.6737 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/1.428, allocations: 190.2 kB / 0.6738 GB, free: 164.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003243/1.428, allocations: 0.6947 MB / 0.6745 GB, free: 164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.433, allocations: 3.891 MB / 0.6783 GB, free: 160.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/1.44, allocations: 9.086 MB / 0.6872 GB, free: 148.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/1.447, allocations: 5.75 MB / 0.6928 GB, free: 142.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.011e-05/1.447, allocations: 52 kB / 0.6929 GB, free: 142.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02977/1.477, allocations: 16.34 MB / 0.7088 GB, free: 126.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.477, allocations: 87.98 kB / 0.7089 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.477, allocations: 184 kB / 0.7091 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/1.489, allocations: 4.103 MB / 0.7131 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006895/1.496, allocations: 2.059 MB / 0.7151 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02754/1.523, allocations: 22.74 MB / 0.7373 GB, free: 96.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.531, allocations: 0.5073 MB / 0.7378 GB, free: 96.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.532, allocations: 0.5328 MB / 0.7383 GB, free: 95.73 MB / 478.1 MB 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 () * Number of clocked 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.005376/1.538, allocations: 3.124 MB / 0.7414 GB, free: 92.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.539, allocations: 0.5746 MB / 0.7419 GB, free: 92.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.557, allocations: 9.848 MB / 0.7515 GB, free: 82.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/1.557, allocations: 41.41 kB / 0.7516 GB, free: 82.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/1.558, allocations: 19.94 kB / 0.7516 GB, free: 82.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/1.558, allocations: 23.97 kB / 0.7516 GB, free: 82.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03536/1.593, allocations: 19.62 MB / 0.7708 GB, free: 62.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/1.593, allocations: 7.938 kB / 0.7708 GB, free: 62.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.596, allocations: 0.5343 MB / 0.7713 GB, free: 61.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.607, allocations: 3.668 MB / 0.7749 GB, free: 58.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007745/1.608, allocations: 67.98 kB / 0.775 GB, free: 58.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/1.633, allocations: 20.66 MB / 0.7951 GB, free: 37.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.633, allocations: 4 kB / 0.7951 GB, free: 37.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1982/1.832, allocations: 14.58 MB / 0.8094 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004291/1.836, allocations: 1.163 MB / 0.8105 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.837, allocations: 58.06 kB / 0.8106 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/1.841, allocations: 206.8 kB / 0.8108 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007627/1.842, allocations: 226.7 kB / 0.811 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/1.842, allocations: 102.3 kB / 0.8111 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007735/1.85, allocations: 4.179 MB / 0.8152 GB, free: 168.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.85, allocations: 0 / 0.8152 GB, free: 168.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009102/1.859, allocations: 1.878 MB / 0.817 GB, free: 168.2 MB / 478.1 MB 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 () * Number of clocked 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.000811/1.86, allocations: 237 kB / 0.8172 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01343/1.873, allocations: 9.94 MB / 0.8269 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.873, allocations: 0 / 0.8269 GB, free: 164.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004975/1.878, allocations: 3.932 MB / 0.8308 GB, free: 163.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.882, allocations: 0.7213 MB / 0.8315 GB, free: 162.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/1.91, allocations: 18.63 MB / 0.8497 GB, free: 154 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005676/1.915, allocations: 5.012 MB / 0.8546 GB, free: 151.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007115/1.923, allocations: 2.82 MB / 0.8573 GB, free: 149.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.924, allocations: 390.2 kB / 0.8577 GB, free: 149.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/1.924, allocations: 0 / 0.8577 GB, free: 149.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1126/2.036, allocations: 77.17 MB / 0.933 GB, free: 75.68 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: