Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00101/0.00101, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.19/1.19, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001436/0.001436, allocations: 125.1 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08102/0.08134, allocations: 44.51 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.3174, allocations: 97.03 MB / 452.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3177, allocations: 90.39 kB / 452.2 MB, free: 8.809 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.4421/0.7598, allocations: 123.2 MB / 0.5619 GB, free: 81.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7598, allocations: 0 / 0.5619 GB, free: 81.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004724/0.7603, allocations: 131.3 kB / 0.562 GB, free: 81.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.01912/0.7794, allocations: 6.841 MB / 0.5687 GB, free: 78.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7795, allocations: 7.375 kB / 0.5687 GB, free: 78.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.792, allocations: 2.824 MB / 0.5715 GB, free: 77.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.8107, allocations: 7.822 MB / 0.5791 GB, free: 74.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.8113, allocations: 483.6 kB / 0.5796 GB, free: 74.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003132/0.8144, allocations: 0.6324 MB / 0.5802 GB, free: 74.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.8462, allocations: 16.35 MB / 0.5961 GB, free: 64.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006494/0.847, allocations: 91.17 kB / 0.5962 GB, free: 64.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00382/0.8508, allocations: 300.5 kB / 0.5965 GB, free: 64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002286/0.8531, allocations: 1.516 MB / 0.598 GB, free: 62.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.8787, allocations: 13.89 MB / 0.6116 GB, free: 48.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3065/1.185, allocations: 73.49 MB / 0.6833 GB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.203, allocations: 7.617 MB / 0.6908 GB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.204, allocations: 1.285 MB / 0.692 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01729/1.221, allocations: 5.671 MB / 0.6976 GB, free: 42.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=300): time 8.145e-06/1.221, allocations: 0 / 0.6976 GB, free: 42.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=395): time 0.1649/1.386, allocations: 54.15 MB / 0.7505 GB, free: 36.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.386, allocations: 173.7 kB / 0.7506 GB, free: 36.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/1.393, allocations: 4.903 MB / 0.7554 GB, free: 33.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.394, allocations: 85.7 kB / 0.7555 GB, free: 33.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.397, allocations: 4.238 MB / 0.7596 GB, free: 30.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.398, allocations: 1.453 MB / 0.7611 GB, free: 28.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/1.399, allocations: 172 kB / 0.7612 GB, free: 28.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003165/1.399, allocations: 0.6694 MB / 0.7619 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00526/1.404, allocations: 4.709 MB / 0.7665 GB, free: 23.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.412, allocations: 9.189 MB / 0.7754 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007192/1.42, allocations: 6.545 MB / 0.7818 GB, free: 7.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/1.42, allocations: 44 kB / 0.7819 GB, free: 6.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03758/1.457, allocations: 19.73 MB / 0.8011 GB, free: 3.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002376/1.458, allocations: 105.7 kB / 0.8012 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/1.458, allocations: 156 kB / 0.8014 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.477, allocations: 6.735 MB / 0.808 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006686/1.484, allocations: 1.849 MB / 0.8098 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05821/1.542, allocations: 37.35 MB / 0.8463 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007692/1.55, allocations: 0.5928 MB / 0.8468 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.551, allocations: 497.9 kB / 0.8473 GB, free: 4.152 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 947 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008261/1.56, allocations: 3.147 MB / 0.8504 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.561, allocations: 0.5206 MB / 0.8509 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.211/1.772, allocations: 14.13 MB / 0.8647 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/1.772, allocations: 40.72 kB / 0.8647 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.218e-05/1.772, allocations: 29.52 kB / 0.8648 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/1.772, allocations: 19.27 kB / 0.8648 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05471/1.827, allocations: 27.14 MB / 0.8913 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.556e-05/1.827, allocations: 3.812 kB / 0.8913 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.83, allocations: 0.5491 MB / 0.8918 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.848, allocations: 6.36 MB / 0.898 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001495/1.849, allocations: 81.02 kB / 0.8981 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05086/1.9, allocations: 35.89 MB / 0.9331 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.9, allocations: 3.938 kB / 0.9332 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03564/1.936, allocations: 20.71 MB / 0.9534 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005972/1.942, allocations: 1.404 MB / 0.9548 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002604/1.944, allocations: 72 kB / 0.9548 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004505/1.949, allocations: 343.2 kB / 0.9551 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/1.95, allocations: 287.9 kB / 0.9554 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008291/1.951, allocations: 107 kB / 0.9555 GB, free: 100.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006515/1.958, allocations: 3.516 MB / 0.959 GB, free: 96.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.958, allocations: 0 / 0.959 GB, free: 96.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01118/1.969, allocations: 1.976 MB / 0.9609 GB, free: 94.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002487/1.972, allocations: 0.4998 MB / 0.9614 GB, free: 94.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01891/1.99, allocations: 12.5 MB / 0.9736 GB, free: 81.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.991, allocations: 0 / 0.9736 GB, free: 81.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009112/2, allocations: 5.874 MB / 0.9793 GB, free: 75.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/2.005, allocations: 0.6501 MB / 0.98 GB, free: 75.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/2.043, allocations: 19.97 MB / 0.9995 GB, free: 55.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007321/2.05, allocations: 4.888 MB / 1.004 GB, free: 50.47 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007149/2.057, allocations: 2.582 MB / 1.007 GB, free: 47.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/2.059, allocations: 363.3 kB / 1.007 GB, free: 47.54 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/2.059, allocations: 0 / 1.007 GB, free: 47.54 MB / 474.7 MB Notification: Performance of Templates: time 0.319/2.378, allocations: 94.36 MB / 1.099 GB, free: 112.4 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)