Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001102/0.001102, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008566/0.008566, allocations: 171.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004182/0.0004182, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06565/0.3015, allocations: 71.44 MB / 398.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03498/0.3366, allocations: 14.63 MB / 413.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01424/0.3508, allocations: 319.2 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.3537, allocations: 0.6373 MB / 414 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008367/0.362, allocations: 2.612 MB / 416.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.3654, allocations: 1.354 MB / 418 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01611/0.3815, allocations: 11.44 MB / 429.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.3922, allocations: 7.119 MB / 436.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.3961, allocations: 2.089 MB / 438.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005323/0.4014, allocations: 3.695 MB / 442.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.4028, allocations: 252 kB / 442.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4059, allocations: 1.408 MB / 444 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003013/0.4089, allocations: 3.042 MB / 447.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004421/0.4134, allocations: 3.289 MB / 450.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2572/0.6706, allocations: 10.46 MB / 460.8 MB, free: 19.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6706, allocations: 0 / 460.8 MB, free: 19.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6706, allocations: 1 kB / 460.8 MB, free: 19.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000354/0.671, allocations: 0 / 460.8 MB, free: 19.14 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.01667/0.6877, allocations: 6.827 MB / 467.6 MB, free: 16.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6877, allocations: 11.02 kB / 467.6 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.7191, allocations: 3.77 MB / 471.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.7327, allocations: 5.491 MB / 476.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.733, allocations: 369.8 kB / 477.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/0.7354, allocations: 0.5112 MB / 477.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/0.7646, allocations: 16.3 MB / 494.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/0.7649, allocations: 79.55 kB / 494.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.766, allocations: 238.5 kB / 494.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004311/0.7704, allocations: 2.921 MB / 497.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/0.7995, allocations: 13.78 MB / 0.4991 GB, free: 3.453 MB / 382.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.08806/0.8876, allocations: 64.83 MB / 0.5624 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02444/0.9121, allocations: 7.974 MB / 0.5702 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006674/0.9188, allocations: 4.354 MB / 0.5745 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03085/0.9497, allocations: 19.35 MB / 0.5934 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.9498, allocations: 71 kB / 0.5934 GB, free: 1.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 6.181e-06/0.9498, allocations: 0 / 0.5934 GB, free: 1.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.3968/1.347, allocations: 50.6 MB / 0.6428 GB, free: 220.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.347, allocations: 268 kB / 0.6431 GB, free: 220.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0076/1.354, allocations: 6.096 MB / 0.649 GB, free: 217.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.355, allocations: 81.39 kB / 0.6491 GB, free: 217.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/1.358, allocations: 4.675 MB / 0.6537 GB, free: 214.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.359, allocations: 1.372 MB / 0.655 GB, free: 213.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009909/1.36, allocations: 0.8204 MB / 0.6558 GB, free: 212.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/1.36, allocations: 301.1 kB / 0.6561 GB, free: 212.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/1.366, allocations: 4.226 MB / 0.6602 GB, free: 211.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007726/1.374, allocations: 9.452 MB / 0.6695 GB, free: 200.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.388, allocations: 14.64 MB / 0.6838 GB, free: 183.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/1.389, allocations: 52 kB / 0.6838 GB, free: 183.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03581/1.424, allocations: 17.6 MB / 0.701 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/1.425, allocations: 87.31 kB / 0.7011 GB, free: 165.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003471/1.425, allocations: 184 kB / 0.7013 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/1.44, allocations: 4.581 MB / 0.7057 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007658/1.448, allocations: 2.133 MB / 0.7078 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/1.479, allocations: 23.74 MB / 0.731 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009763/1.489, allocations: 0.5227 MB / 0.7315 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00221/1.491, allocations: 0.54 MB / 0.732 GB, free: 133.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00724/1.499, allocations: 3.134 MB / 0.7351 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/1.5, allocations: 0.5669 MB / 0.7357 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/1.523, allocations: 10.76 MB / 0.7462 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/1.523, allocations: 36 kB / 0.7462 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/1.523, allocations: 20 kB / 0.7462 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/1.523, allocations: 15.94 kB / 0.7462 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/1.558, allocations: 20.58 MB / 0.7663 GB, free: 98.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.558, allocations: 2.25 kB / 0.7663 GB, free: 98.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.561, allocations: 0.5305 MB / 0.7668 GB, free: 98.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/1.573, allocations: 4.22 MB / 0.771 GB, free: 93.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000436/1.574, allocations: 66.09 kB / 0.771 GB, free: 93.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/1.6, allocations: 21.57 MB / 0.7921 GB, free: 71.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.6, allocations: 0 / 0.7921 GB, free: 71.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/1.625, allocations: 15.66 MB / 0.8074 GB, free: 56.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003403/1.629, allocations: 1.181 MB / 0.8085 GB, free: 54.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/1.63, allocations: 67.98 kB / 0.8086 GB, free: 54.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.632, allocations: 223.6 kB / 0.8088 GB, free: 54.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008665/1.633, allocations: 226.2 kB / 0.809 GB, free: 54.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.634, allocations: 102.3 kB / 0.8091 GB, free: 54.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004953/1.639, allocations: 3.801 MB / 0.8128 GB, free: 50.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.639, allocations: 4 kB / 0.8129 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007833/1.646, allocations: 1.935 MB / 0.8147 GB, free: 48.59 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000631/1.647, allocations: 223.8 kB / 0.815 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.661, allocations: 10.5 MB / 0.8252 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.661, allocations: 3.938 kB / 0.8252 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.666, allocations: 4.118 MB / 0.8292 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.671, allocations: 0.7245 MB / 0.8299 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2425/1.913, allocations: 19.8 MB / 0.8493 GB, free: 203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006731/1.92, allocations: 4.876 MB / 0.854 GB, free: 202.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007157/1.927, allocations: 2.796 MB / 0.8568 GB, free: 202 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.929, allocations: 378 kB / 0.8571 GB, free: 202 MB / 0.4981 GB Notification: Performance of SimCode: time 1.823e-06/1.929, allocations: 0 / 0.8571 GB, free: 202 MB / 0.4981 GB Notification: Performance of Templates: time 0.129/2.058, allocations: 80.33 MB / 0.9356 GB, free: 134.1 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)