Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001513/0.001513, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.367/1.367, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001591/0.001591, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.841e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09446, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.4913, allocations: 91.68 MB / 399.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4917, allocations: 79.64 kB / 399.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5638/1.056, allocations: 123 MB / 0.5102 GB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.056, allocations: 7.938 kB / 0.5102 GB, free: 69.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004106/1.056, allocations: 134.7 kB / 0.5103 GB, free: 69.92 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.0245/1.081, allocations: 6.367 MB / 0.5165 GB, free: 66.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.081, allocations: 10.88 kB / 0.5165 GB, free: 66.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.096, allocations: 2.822 MB / 0.5193 GB, free: 66.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/1.116, allocations: 7.79 MB / 0.5269 GB, free: 60.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/1.116, allocations: 482.5 kB / 0.5274 GB, free: 60.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004298/1.121, allocations: 0.6206 MB / 0.528 GB, free: 59.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/1.16, allocations: 16.22 MB / 0.5438 GB, free: 42.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004196/1.16, allocations: 83.17 kB / 0.5439 GB, free: 42.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/1.162, allocations: 304 kB / 0.5442 GB, free: 41.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/1.164, allocations: 1.507 MB / 0.5457 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/1.193, allocations: 13.7 MB / 0.559 GB, free: 26.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4048/1.598, allocations: 73.48 MB / 0.6308 GB, free: 32.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/1.618, allocations: 7.519 MB / 0.6381 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006107/1.624, allocations: 4.971 MB / 0.643 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.625, allocations: 1.279 MB / 0.6442 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01644/1.642, allocations: 5.627 MB / 0.6497 GB, free: 30.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 6.852e-06/1.642, allocations: 0 / 0.6497 GB, free: 30.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.1304/1.772, allocations: 41.32 MB / 0.6901 GB, free: 20.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.772, allocations: 171.4 kB / 0.6902 GB, free: 19.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/1.78, allocations: 4.847 MB / 0.695 GB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.782, allocations: 89.7 kB / 0.6951 GB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003636/1.786, allocations: 4.226 MB / 0.6992 GB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002281/1.788, allocations: 1.424 MB / 0.7006 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/1.788, allocations: 168 kB / 0.7007 GB, free: 10.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003764/1.789, allocations: 0.6707 MB / 0.7014 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00564/1.794, allocations: 4.568 MB / 0.7059 GB, free: 5.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009317/1.804, allocations: 9.043 MB / 0.7147 GB, free: 11.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.815, allocations: 6.445 MB / 0.721 GB, free: 5.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/1.815, allocations: 44 kB / 0.721 GB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.04371/1.859, allocations: 19.43 MB / 0.74 GB, free: 2.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.859, allocations: 97.7 kB / 0.7401 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002104/1.859, allocations: 156 kB / 0.7402 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.88, allocations: 6.689 MB / 0.7468 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/1.888, allocations: 1.832 MB / 0.7486 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3547/2.242, allocations: 35.86 MB / 0.7836 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01632/2.259, allocations: 0.5944 MB / 0.7842 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003668/2.263, allocations: 485.7 kB / 0.7846 GB, free: 108.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * 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 {(9,66.7%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003241/2.266, allocations: 0.74 MB / 0.7854 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002375/2.268, allocations: 0.5124 MB / 0.7859 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05094/2.319, allocations: 13.9 MB / 0.7994 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.139e-05/2.319, allocations: 42.44 kB / 0.7995 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/2.319, allocations: 24.84 kB / 0.7995 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.867e-05/2.319, allocations: 24.75 kB / 0.7995 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08707/2.407, allocations: 26.82 MB / 0.8257 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.652e-05/2.407, allocations: 3.969 kB / 0.8257 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004689/2.411, allocations: 0.5342 MB / 0.8262 GB, free: 93.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03156/2.443, allocations: 6.287 MB / 0.8324 GB, free: 91.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001746/2.445, allocations: 77.58 kB / 0.8324 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07347/2.518, allocations: 34.47 MB / 0.8661 GB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/2.518, allocations: 6.125 kB / 0.8661 GB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04203/2.56, allocations: 20.35 MB / 0.886 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004524/2.565, allocations: 1.399 MB / 0.8874 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/2.566, allocations: 67.7 kB / 0.8874 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/2.569, allocations: 353.5 kB / 0.8878 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/2.57, allocations: 274.1 kB / 0.888 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/2.571, allocations: 95.98 kB / 0.8881 GB, free: 36.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005198/2.576, allocations: 3.462 MB / 0.8915 GB, free: 33.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/2.576, allocations: 0 / 0.8915 GB, free: 33.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01153/2.588, allocations: 1.973 MB / 0.8934 GB, free: 31.36 MB / 410.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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/2.589, allocations: 415.7 kB / 0.8938 GB, free: 31.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2587/2.848, allocations: 12.19 MB / 0.9057 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.848, allocations: 1.094 kB / 0.9057 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01005/2.858, allocations: 5.67 MB / 0.9113 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/2.863, allocations: 0.6436 MB / 0.9119 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/2.896, allocations: 14.96 MB / 0.9265 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006015/2.902, allocations: 4.867 MB / 0.9312 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006254/2.908, allocations: 2.567 MB / 0.9337 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/2.909, allocations: 358.3 kB / 0.9341 GB, free: 106.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/2.909, allocations: 0 / 0.9341 GB, free: 106.7 MB / 410.7 MB Notification: Performance of Templates: time 0.141/3.05, allocations: 93.48 MB / 1.025 GB, free: 37.73 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)