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.0008259/0.0008259, allocations: 98.27 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.005132/0.005132, allocations: 172 kB / 16.27 MB, free: 6.652 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.365/1.365, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004301/0.0004301, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2345, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06736/0.302, allocations: 71.44 MB / 398.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0383/0.3403, allocations: 14.63 MB / 413.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/0.3553, allocations: 323.1 kB / 413.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.3582, allocations: 0.6334 MB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008281/0.3665, allocations: 2.612 MB / 416.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.37, allocations: 1.357 MB / 418 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.384, allocations: 11.43 MB / 429.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.3976, allocations: 7.115 MB / 436.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005487/0.4031, allocations: 2.089 MB / 438.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/0.4094, allocations: 3.703 MB / 442.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.4112, allocations: 252 kB / 442.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.4152, allocations: 1.404 MB / 444 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004518/0.4198, allocations: 3.038 MB / 447 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.426, allocations: 3.297 MB / 450.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4257/0.8517, allocations: 10.45 MB / 460.8 MB, free: 19.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.8517, allocations: 0 / 460.8 MB, free: 19.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.8518, allocations: 0 / 460.8 MB, free: 19.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005109/0.8523, allocations: 4.344 kB / 460.8 MB, free: 19.13 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.026/0.8783, allocations: 6.829 MB / 467.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8784, allocations: 8.875 kB / 467.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03629/0.9147, allocations: 3.768 MB / 471.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.9301, allocations: 5.484 MB / 476.9 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003888/0.9306, allocations: 369 kB / 477.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.9333, allocations: 0.5196 MB / 477.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.9643, allocations: 16.3 MB / 494.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.9646, allocations: 80.89 kB / 494.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000775/0.9654, allocations: 237.1 kB / 494.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004006/0.9694, allocations: 2.926 MB / 497.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02571/0.9951, allocations: 13.77 MB / 0.4991 GB, free: 3.543 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.09106/1.086, allocations: 64.83 MB / 0.5624 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/1.11, allocations: 7.98 MB / 0.5702 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007005/1.117, allocations: 4.347 MB / 0.5744 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03381/1.151, allocations: 19.36 MB / 0.5934 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/1.151, allocations: 75.55 kB / 0.5934 GB, free: 1.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 6.001e-06/1.151, allocations: 0 / 0.5934 GB, free: 1.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.3856/1.537, allocations: 50.59 MB / 0.6428 GB, free: 220.4 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.537, allocations: 272.8 kB / 0.6431 GB, free: 220.1 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007521/1.544, allocations: 6.096 MB / 0.649 GB, free: 217.9 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000987/1.545, allocations: 83.08 kB / 0.6491 GB, free: 217.8 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/1.548, allocations: 4.68 MB / 0.6537 GB, free: 214.3 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001893/1.55, allocations: 1.369 MB / 0.655 GB, free: 213.3 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.551, allocations: 0.8215 MB / 0.6558 GB, free: 212.9 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/1.551, allocations: 309 kB / 0.6561 GB, free: 212.6 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/1.557, allocations: 4.224 MB / 0.6602 GB, free: 211.2 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007727/1.564, allocations: 9.454 MB / 0.6695 GB, free: 200.3 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.579, allocations: 14.64 MB / 0.6838 GB, free: 183.7 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.58, allocations: 52 kB / 0.6838 GB, free: 183.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03424/1.614, allocations: 17.59 MB / 0.701 GB, free: 166 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.614, allocations: 83.31 kB / 0.7011 GB, free: 166 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/1.614, allocations: 184 kB / 0.7013 GB, free: 165.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01417/1.628, allocations: 4.588 MB / 0.7057 GB, free: 161.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/1.635, allocations: 2.129 MB / 0.7078 GB, free: 159.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02918/1.664, allocations: 23.74 MB / 0.731 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007669/1.672, allocations: 0.5332 MB / 0.7315 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.674, allocations: 0.5359 MB / 0.732 GB, free: 134 MB / 0.4982 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.005806/1.679, allocations: 3.126 MB / 0.7351 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.681, allocations: 0.5708 MB / 0.7357 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02192/1.703, allocations: 10.75 MB / 0.7462 GB, free: 119.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/1.703, allocations: 40 kB / 0.7462 GB, free: 119.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/1.703, allocations: 16 kB / 0.7462 GB, free: 119.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.406e-05/1.703, allocations: 19.92 kB / 0.7462 GB, free: 119.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03714/1.74, allocations: 20.57 MB / 0.7663 GB, free: 98.72 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.74, allocations: 0 / 0.7663 GB, free: 98.72 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/1.743, allocations: 0.5344 MB / 0.7668 GB, free: 98.19 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/1.757, allocations: 4.224 MB / 0.771 GB, free: 93.95 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/1.757, allocations: 64.69 kB / 0.771 GB, free: 93.89 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02725/1.785, allocations: 21.57 MB / 0.7921 GB, free: 72.06 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.785, allocations: 0 / 0.7921 GB, free: 72.06 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/1.812, allocations: 15.67 MB / 0.8074 GB, free: 56.31 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/1.816, allocations: 1.185 MB / 0.8085 GB, free: 55.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.818, allocations: 65.41 kB / 0.8086 GB, free: 55.04 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.822, allocations: 223.6 kB / 0.8088 GB, free: 54.82 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009359/1.823, allocations: 230.2 kB / 0.809 GB, free: 54.59 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/1.823, allocations: 97.08 kB / 0.8091 GB, free: 54.5 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005996/1.829, allocations: 3.805 MB / 0.8128 GB, free: 50.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 8.72e-07/1.829, allocations: 4 kB / 0.8129 GB, free: 50.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01154/1.841, allocations: 1.936 MB / 0.8147 GB, free: 48.77 MB / 0.4982 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.0009859/1.842, allocations: 217.1 kB / 0.8149 GB, free: 48.55 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.858, allocations: 10.51 MB / 0.8252 GB, free: 38.03 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.858, allocations: 384 / 0.8252 GB, free: 38.03 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0063/1.864, allocations: 4.13 MB / 0.8292 GB, free: 33.87 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009124/1.873, allocations: 0.7304 MB / 0.83 GB, free: 33.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2953/2.169, allocations: 19.78 MB / 0.8493 GB, free: 203 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007155/2.176, allocations: 4.882 MB / 0.854 GB, free: 202.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007558/2.183, allocations: 2.787 MB / 0.8568 GB, free: 202 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/2.185, allocations: 386.7 kB / 0.8571 GB, free: 202 MB / 0.4982 GB Notification: Performance of SimCode: time 1.854e-06/2.185, allocations: 0 / 0.8571 GB, free: 202 MB / 0.4982 GB Notification: Performance of Templates: time 0.1283/2.313, allocations: 80.33 MB / 0.9356 GB, free: 134.3 MB / 0.4982 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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)