Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01164/0.01164, allocations: 164.5 kB / 15.11 MB, free: 5.973 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.652/1.652, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001699/0.001699, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3638, allocations: 86.66 MB / 399.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.3642, allocations: 87.95 kB / 399.6 MB, free: 3.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4154/0.7795, allocations: 117.4 MB / 0.5049 GB, free: 6.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.7796, allocations: 4.188 kB / 0.505 GB, free: 6.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003953/0.78, allocations: 131.9 kB / 0.5051 GB, free: 6.648 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02162/0.8016, allocations: 6.484 MB / 0.5114 GB, free: 84 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.8017, allocations: 8.031 kB / 0.5114 GB, free: 76 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.8161, allocations: 2.781 MB / 0.5141 GB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/0.8353, allocations: 7.656 MB / 0.5216 GB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005867/0.8359, allocations: 464 kB / 0.5221 GB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/0.839, allocations: 0.5896 MB / 0.5226 GB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03786/0.8768, allocations: 15.69 MB / 0.5379 GB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003225/0.8772, allocations: 91.17 kB / 0.538 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.8787, allocations: 283.9 kB / 0.5383 GB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/0.881, allocations: 1.478 MB / 0.5397 GB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2215/1.103, allocations: 13.47 MB / 0.5529 GB, free: 48.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08579/1.188, allocations: 70.25 MB / 0.6215 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.205, allocations: 7.304 MB / 0.6286 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.207, allocations: 1.298 MB / 0.6299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/1.207, allocations: 59.25 kB / 0.63 GB, free: 4.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 5.861e-06/1.207, allocations: 0 / 0.63 GB, free: 4.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1839/1.391, allocations: 51.27 MB / 0.68 GB, free: 2.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/1.391, allocations: 167 kB / 0.6802 GB, free: 2.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1784/1.569, allocations: 4.616 MB / 0.6847 GB, free: 78.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.571, allocations: 79.11 kB / 0.6848 GB, free: 78.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0027/1.573, allocations: 3.96 MB / 0.6886 GB, free: 77.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.575, allocations: 1.372 MB / 0.69 GB, free: 76.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/1.576, allocations: 163 kB / 0.6901 GB, free: 76.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005083/1.577, allocations: 0.6505 MB / 0.6908 GB, free: 76.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.583, allocations: 4.515 MB / 0.6952 GB, free: 76.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009095/1.593, allocations: 8.745 MB / 0.7037 GB, free: 70.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009807/1.602, allocations: 6.228 MB / 0.7098 GB, free: 70.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002125/1.603, allocations: 42.28 kB / 0.7098 GB, free: 70.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.04313/1.646, allocations: 19.04 MB / 0.7284 GB, free: 68.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/1.646, allocations: 68.03 kB / 0.7285 GB, free: 68.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002557/1.646, allocations: 146.9 kB / 0.7286 GB, free: 68.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01869/1.665, allocations: 6.642 MB / 0.7351 GB, free: 66.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006464/1.672, allocations: 1.764 MB / 0.7369 GB, free: 66.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04546/1.717, allocations: 37.23 MB / 0.7732 GB, free: 44.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007914/1.725, allocations: 0.5679 MB / 0.7738 GB, free: 43.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/1.727, allocations: 469.8 kB / 0.7742 GB, free: 43.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (899): * Single equations (assignments): 891 * Array equations: 3 * Algorithm blocks: 0 * 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,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008425/1.736, allocations: 2.993 MB / 0.7771 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.737, allocations: 0.4898 MB / 0.7776 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02702/1.764, allocations: 13.78 MB / 0.7911 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/1.764, allocations: 43.12 kB / 0.7911 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.348e-05/1.764, allocations: 24 kB / 0.7911 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-05/1.765, allocations: 22.8 kB / 0.7912 GB, free: 29.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2804/2.045, allocations: 26.33 MB / 0.8169 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/2.045, allocations: 4.875 kB / 0.8169 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/2.048, allocations: 0.5341 MB / 0.8174 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01779/2.066, allocations: 6.324 MB / 0.8236 GB, free: 62.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/2.067, allocations: 72.92 kB / 0.8236 GB, free: 62.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04729/2.114, allocations: 34.01 MB / 0.8569 GB, free: 60.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.114, allocations: 6.875 kB / 0.8569 GB, free: 60.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03521/2.15, allocations: 20.31 MB / 0.8767 GB, free: 52.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004657/2.154, allocations: 1.348 MB / 0.878 GB, free: 52.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/2.156, allocations: 59.19 kB / 0.8781 GB, free: 52.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004326/2.16, allocations: 342.4 kB / 0.8784 GB, free: 51.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/2.162, allocations: 277.5 kB / 0.8787 GB, free: 51.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004403/2.162, allocations: 93.73 kB / 0.8788 GB, free: 51.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006045/2.168, allocations: 3.32 MB / 0.882 GB, free: 50.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.168, allocations: 0 / 0.882 GB, free: 50.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01043/2.179, allocations: 1.876 MB / 0.8838 GB, free: 50.58 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * 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,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/2.18, allocations: 224.5 kB / 0.884 GB, free: 50.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01961/2.199, allocations: 11.95 MB / 0.8957 GB, free: 45.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/2.199, allocations: 0 / 0.8957 GB, free: 45.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009474/2.209, allocations: 5.718 MB / 0.9013 GB, free: 42.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/2.215, allocations: 0.6216 MB / 0.9019 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04308/2.258, allocations: 19.09 MB / 0.9205 GB, free: 25.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007604/2.265, allocations: 4.681 MB / 0.9251 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007288/2.273, allocations: 2.454 MB / 0.9275 GB, free: 20.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/2.274, allocations: 336.8 kB / 0.9278 GB, free: 20.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/2.274, allocations: 0 / 0.9278 GB, free: 20.24 MB / 378.7 MB Notification: Performance of Templates: time 0.3762/2.651, allocations: 90.71 MB / 1.016 GB, free: 69.1 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)