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.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001266/0.001266, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.429/1.429, allocations: 205.1 MB / 222 MB, free: 4.973 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.001158/0.001158, allocations: 47.92 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2477, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06484/0.3126, allocations: 73.23 MB / 397.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04593/0.3585, allocations: 14.7 MB / 412.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02146/0.3801, allocations: 327.1 kB / 412.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.3919, allocations: 4.356 MB / 417.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009986/0.4019, allocations: 2.604 MB / 419.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.4072, allocations: 1.35 MB / 421.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.4281, allocations: 11.43 MB / 432.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.4388, allocations: 5.294 MB / 438 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.4451, allocations: 2.421 MB / 440.4 MB, free: 40 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008726/0.4539, allocations: 4.117 MB / 444.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.4563, allocations: 388 kB / 444.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005637/0.462, allocations: 1.537 MB / 446.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004626/0.4666, allocations: 3.238 MB / 449.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006171/0.4728, allocations: 3.518 MB / 453.2 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2524/0.7252, allocations: 10.74 MB / 463.9 MB, free: 20.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7252, allocations: 2.812 kB / 463.9 MB, free: 20.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7252, allocations: 0.6562 kB / 463.9 MB, free: 20.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004813/0.7257, allocations: 0 / 463.9 MB, free: 20.18 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.02696/0.7527, allocations: 8.239 MB / 472.2 MB, free: 17.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7528, allocations: 8.969 kB / 472.2 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/0.7799, allocations: 3.678 MB / 475.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.7944, allocations: 5.493 MB / 481.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/0.7949, allocations: 372.2 kB / 481.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003177/0.7981, allocations: 0.5137 MB / 482.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04397/0.8421, allocations: 16.24 MB / 498.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007413/0.8429, allocations: 84.95 kB / 498.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003692/0.8466, allocations: 236.3 kB / 498.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007412/0.854, allocations: 2.927 MB / 0.4899 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05026/0.9043, allocations: 13.71 MB / 0.5033 GB, free: 0.6953 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.1025/1.007, allocations: 64.83 MB / 0.5666 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02459/1.031, allocations: 7.875 MB / 0.5743 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007316/1.039, allocations: 4.342 MB / 0.5786 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03587/1.075, allocations: 19.38 MB / 0.5975 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/1.075, allocations: 63 kB / 0.5975 GB, free: 14.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.262e-06/1.075, allocations: 4 kB / 0.5975 GB, free: 14.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.3677/1.443, allocations: 49.89 MB / 0.6463 GB, free: 219.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/1.443, allocations: 274.6 kB / 0.6465 GB, free: 219.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/1.454, allocations: 6.096 MB / 0.6525 GB, free: 217.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.455, allocations: 81.42 kB / 0.6526 GB, free: 217.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003437/1.459, allocations: 4.677 MB / 0.6571 GB, free: 213.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002123/1.461, allocations: 1.369 MB / 0.6585 GB, free: 212.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003139/1.464, allocations: 1.913 MB / 0.6603 GB, free: 211.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/1.464, allocations: 307.9 kB / 0.6606 GB, free: 211.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/1.47, allocations: 4.222 MB / 0.6647 GB, free: 208.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007692/1.478, allocations: 9.449 MB / 0.674 GB, free: 197 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/1.493, allocations: 14.64 MB / 0.6883 GB, free: 180.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/1.493, allocations: 52 kB / 0.6883 GB, free: 180.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03616/1.53, allocations: 17.56 MB / 0.7055 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.53, allocations: 84 kB / 0.7055 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/1.53, allocations: 180 kB / 0.7057 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/1.544, allocations: 4.542 MB / 0.7102 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007703/1.552, allocations: 2.133 MB / 0.7122 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/1.583, allocations: 23.65 MB / 0.7353 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/1.592, allocations: 0.5188 MB / 0.7358 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002409/1.594, allocations: 0.539 MB / 0.7364 GB, free: 130.9 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.008784/1.603, allocations: 3.128 MB / 0.7394 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/1.605, allocations: 0.5707 MB / 0.74 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/1.63, allocations: 10.71 MB / 0.7504 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.63, allocations: 40 kB / 0.7505 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.468e-05/1.631, allocations: 16.47 kB / 0.7505 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-05/1.631, allocations: 23.94 kB / 0.7505 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04561/1.676, allocations: 20.53 MB / 0.7706 GB, free: 95.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-05/1.676, allocations: 0 / 0.7706 GB, free: 95.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/1.679, allocations: 0.5383 MB / 0.7711 GB, free: 95.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/1.693, allocations: 4.183 MB / 0.7752 GB, free: 90.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001554/1.694, allocations: 63.98 kB / 0.7752 GB, free: 90.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/1.722, allocations: 21.47 MB / 0.7962 GB, free: 69.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.722, allocations: 7.938 kB / 0.7962 GB, free: 69.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/1.749, allocations: 15.63 MB / 0.8115 GB, free: 53.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/1.752, allocations: 1.181 MB / 0.8126 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/1.754, allocations: 56 kB / 0.8127 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/1.758, allocations: 219.6 kB / 0.8129 GB, free: 51.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/1.759, allocations: 230.3 kB / 0.8131 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004643/1.76, allocations: 99.66 kB / 0.8132 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007307/1.767, allocations: 3.805 MB / 0.8169 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.767, allocations: 0 / 0.8169 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01091/1.778, allocations: 1.932 MB / 0.8188 GB, free: 45.89 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.001244/1.779, allocations: 220 kB / 0.819 GB, free: 45.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0177/1.797, allocations: 10.49 MB / 0.8293 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.797, allocations: 4 kB / 0.8293 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007125/1.804, allocations: 4.125 MB / 0.8333 GB, free: 31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007498/1.812, allocations: 0.7337 MB / 0.834 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/2.011, allocations: 19.69 MB / 0.8532 GB, free: 203.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004929/2.016, allocations: 4.878 MB / 0.858 GB, free: 202.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006483/2.023, allocations: 2.796 MB / 0.8607 GB, free: 202.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/2.024, allocations: 378.8 kB / 0.8611 GB, free: 202.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/2.024, allocations: 3.969 kB / 0.8611 GB, free: 202.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1217/2.145, allocations: 81.65 MB / 0.9408 GB, free: 131.4 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)