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.0009304/0.0009306, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001144/0.001144, allocations: 168.7 kB / 15.95 MB, free: 204 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004713/0.0004713, allocations: 16 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.06181/0.3263, allocations: 66.41 MB / 392.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.3615, allocations: 14.01 MB / 406.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01371/0.3753, allocations: 323.1 kB / 407.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01373/0.389, allocations: 3.417 MB / 410.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03298/0.4221, allocations: 10.2 MB / 420.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006444/0.4285, allocations: 1.287 MB / 422.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2577/0.6863, allocations: 37.32 MB / 459.5 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009737/0.6961, allocations: 6.391 MB / 465.9 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.7003, allocations: 2.256 MB / 468.1 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/0.7061, allocations: 3.693 MB / 471.8 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.7076, allocations: 248.8 kB / 472 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.7109, allocations: 1.197 MB / 473.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003835/0.7148, allocations: 3.003 MB / 476.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.7179, allocations: 1.304 MB / 477.5 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.7289, allocations: 8.538 MB / 486.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7289, allocations: 0 / 486.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.7289, allocations: 0 / 486.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004716/0.7294, allocations: 2.531 kB / 486.1 MB, free: 31.39 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.01556/0.745, allocations: 6.914 MB / 493 MB, free: 27.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.745, allocations: 8.719 kB / 493 MB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0255/0.7705, allocations: 3.766 MB / 496.8 MB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.7831, allocations: 5.398 MB / 0.4904 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.7835, allocations: 373.1 kB / 0.4908 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/0.7864, allocations: 0.5064 MB / 0.4913 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02773/0.8141, allocations: 16.26 MB / 0.5071 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.8145, allocations: 88.36 kB / 0.5072 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.8155, allocations: 235.3 kB / 0.5074 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00421/0.8197, allocations: 2.918 MB / 0.5103 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/0.8481, allocations: 13.72 MB / 0.5237 GB, free: 13.43 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.08551/0.9337, allocations: 64.79 MB / 0.587 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.022/0.9557, allocations: 7.97 MB / 0.5948 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006593/0.9623, allocations: 4.338 MB / 0.599 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03058/0.9929, allocations: 19.37 MB / 0.6179 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.993, allocations: 63.66 kB / 0.618 GB, free: 3.879 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 5.72e-06/0.993, allocations: 0 / 0.618 GB, free: 3.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.3427/1.336, allocations: 50.55 MB / 0.6673 GB, free: 169.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/1.336, allocations: 269.8 kB / 0.6676 GB, free: 169.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007555/1.343, allocations: 6.055 MB / 0.6735 GB, free: 163.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008389/1.344, allocations: 81.7 kB / 0.6736 GB, free: 163.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.347, allocations: 4.676 MB / 0.6781 GB, free: 158.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.348, allocations: 1.371 MB / 0.6795 GB, free: 157.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/1.349, allocations: 196 kB / 0.6797 GB, free: 157.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003929/1.35, allocations: 0.7112 MB / 0.6804 GB, free: 156.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/1.355, allocations: 4.192 MB / 0.6845 GB, free: 152.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008359/1.364, allocations: 9.414 MB / 0.6937 GB, free: 140.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008831/1.372, allocations: 6.071 MB / 0.6996 GB, free: 134.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/1.373, allocations: 52 kB / 0.6996 GB, free: 134.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03261/1.405, allocations: 17.52 MB / 0.7167 GB, free: 116.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.405, allocations: 84 kB / 0.7168 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.405, allocations: 180 kB / 0.717 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01254/1.418, allocations: 4.6 MB / 0.7215 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00692/1.425, allocations: 2.125 MB / 0.7236 GB, free: 109.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/1.454, allocations: 23.73 MB / 0.7467 GB, free: 85.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/1.461, allocations: 0.5275 MB / 0.7473 GB, free: 85.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/1.463, allocations: 0.539 MB / 0.7478 GB, free: 84.47 MB / 478.1 MB 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 (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,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005755/1.469, allocations: 3.131 MB / 0.7508 GB, free: 81.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009866/1.47, allocations: 0.5639 MB / 0.7514 GB, free: 80.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.489, allocations: 10.73 MB / 0.7619 GB, free: 69.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/1.489, allocations: 36 kB / 0.7619 GB, free: 69.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/1.489, allocations: 20 kB / 0.7619 GB, free: 69.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/1.489, allocations: 15.94 kB / 0.7619 GB, free: 69.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03361/1.523, allocations: 20.54 MB / 0.782 GB, free: 49.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.523, allocations: 0 / 0.782 GB, free: 49.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/1.525, allocations: 0.5343 MB / 0.7825 GB, free: 48.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/1.537, allocations: 4.221 MB / 0.7866 GB, free: 44.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005538/1.538, allocations: 65.23 kB / 0.7867 GB, free: 44.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2002/1.738, allocations: 21.53 MB / 0.8077 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.738, allocations: 1.25 kB / 0.8077 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/1.764, allocations: 15.63 MB / 0.823 GB, free: 167.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.766, allocations: 1.184 MB / 0.8242 GB, free: 167.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007776/1.767, allocations: 59.19 kB / 0.8242 GB, free: 167.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.769, allocations: 220.1 kB / 0.8244 GB, free: 167 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/1.77, allocations: 232.9 kB / 0.8246 GB, free: 167 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.77, allocations: 98.94 kB / 0.8247 GB, free: 167 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004985/1.775, allocations: 3.768 MB / 0.8284 GB, free: 165.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.775, allocations: 3.688 kB / 0.8284 GB, free: 165.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006852/1.782, allocations: 1.939 MB / 0.8303 GB, free: 165.5 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 (272): * Single equations (assignments): 267 * 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.0005491/1.783, allocations: 218 kB / 0.8305 GB, free: 165.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01255/1.795, allocations: 10.46 MB / 0.8407 GB, free: 161.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.795, allocations: 0 / 0.8407 GB, free: 161.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.8, allocations: 4.113 MB / 0.8448 GB, free: 159.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.804, allocations: 0.7409 MB / 0.8455 GB, free: 159.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/1.827, allocations: 19.03 MB / 0.8641 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004373/1.831, allocations: 4.877 MB / 0.8688 GB, free: 138.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006165/1.838, allocations: 2.789 MB / 0.8715 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.839, allocations: 385.6 kB / 0.8719 GB, free: 136.6 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/1.839, allocations: 4 kB / 0.8719 GB, free: 136.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1031/1.942, allocations: 78.65 MB / 0.9487 GB, free: 57.96 MB / 478.1 MB 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)