Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7199/0.7199, allocations: 110.8 MB / 118.3 MB, free: 14.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00142/0.00142, allocations: 159.4 kB / 144 MB, free: 4.844 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.862e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05209/0.05213, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06759/0.1198, allocations: 43.65 MB / 242.7 MB, free: 1.977 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.12, allocations: 71.95 kB / 242.8 MB, free: 1.906 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5403/0.6603, allocations: 131.4 MB / 374.2 MB, free: 34.87 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6604, allocations: 0 / 374.2 MB, free: 34.87 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.6606, allocations: 74.97 kB / 374.3 MB, free: 34.8 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1501 * Number of variables: 1501 Notification: Performance of Generate backend data structure: time 0.02084/0.6814, allocations: 5.977 MB / 380.2 MB, free: 28.77 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6815, allocations: 8.031 kB / 380.2 MB, free: 28.76 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09337/0.7749, allocations: 19.37 MB / 399.6 MB, free: 9.355 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.7874, allocations: 5.158 MB / 404.8 MB, free: 4.184 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.7877, allocations: 139.9 kB / 404.9 MB, free: 4.047 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003087/0.7908, allocations: 227.9 kB / 405.1 MB, free: 3.824 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02199/0.8128, allocations: 12.66 MB / 417.8 MB, free: 7.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1372/0.95, allocations: 13.98 MB / 431.8 MB, free: 44.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.9502, allocations: 41.09 kB / 431.8 MB, free: 44.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009834/0.9512, allocations: 17.97 kB / 431.8 MB, free: 44.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0334/0.9846, allocations: 7.822 MB / 439.6 MB, free: 44.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5043/1.489, allocations: 103.4 MB / 0.5303 GB, free: 46.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/1.494, allocations: 4.035 MB / 0.5343 GB, free: 45.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/1.497, allocations: 2.585 MB / 0.5368 GB, free: 45.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007196/1.498, allocations: 0.6567 MB / 0.5374 GB, free: 44.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/1.498, allocations: 73.34 kB / 0.5375 GB, free: 44.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=216): time 6.672e-06/1.498, allocations: 0 / 0.5375 GB, free: 44.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=247): time 0.04779/1.546, allocations: 25.02 MB / 0.5619 GB, free: 35.55 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002458/1.546, allocations: 464.7 kB / 0.5624 GB, free: 35.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/1.552, allocations: 3.101 MB / 0.5654 GB, free: 33.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.553, allocations: 25.7 kB / 0.5654 GB, free: 33.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.555, allocations: 3.034 MB / 0.5684 GB, free: 30.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.557, allocations: 0.9037 MB / 0.5693 GB, free: 30.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/1.557, allocations: 2.688 kB / 0.5693 GB, free: 30.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004023/1.558, allocations: 0.6564 MB / 0.5699 GB, free: 29.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/1.562, allocations: 3.688 MB / 0.5735 GB, free: 26.37 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006664/1.569, allocations: 7.733 MB / 0.5811 GB, free: 17.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/1.575, allocations: 4.609 MB / 0.5856 GB, free: 13.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.576, allocations: 40 kB / 0.5856 GB, free: 13.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.03115/1.607, allocations: 13.81 MB / 0.5991 GB, free: 2.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.607, allocations: 76.27 kB / 0.5992 GB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003897/1.607, allocations: 279.6 kB / 0.5994 GB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/1.622, allocations: 4.156 MB / 0.6035 GB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.628, allocations: 1.68 MB / 0.6051 GB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1669/1.795, allocations: 12.75 MB / 0.6176 GB, free: 64.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/1.807, allocations: 1.59 MB / 0.6191 GB, free: 64.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.809, allocations: 0.5814 MB / 0.6197 GB, free: 64.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (837): * Single equations (assignments): 818 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.81, allocations: 461 kB / 0.6202 GB, free: 64.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.811, allocations: 311.7 kB / 0.6205 GB, free: 64.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.829, allocations: 6.947 MB / 0.6272 GB, free: 64.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02561/1.854, allocations: 8.809 MB / 0.6358 GB, free: 64.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-05/1.854, allocations: 13.34 kB / 0.6359 GB, free: 64.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.854, allocations: 11.7 kB / 0.6359 GB, free: 64.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06537/1.92, allocations: 24.87 MB / 0.6602 GB, free: 59.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/1.92, allocations: 11.5 kB / 0.6602 GB, free: 59.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/1.922, allocations: 426.5 kB / 0.6606 GB, free: 59.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/1.935, allocations: 3.906 MB / 0.6644 GB, free: 58.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009322/1.936, allocations: 102.3 kB / 0.6645 GB, free: 58.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.952, allocations: 11.78 MB / 0.676 GB, free: 48.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.952, allocations: 14.62 kB / 0.676 GB, free: 48.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/1.976, allocations: 14.7 MB / 0.6904 GB, free: 33.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.977, allocations: 452.6 kB / 0.6908 GB, free: 32.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/1.978, allocations: 23.98 kB / 0.6908 GB, free: 32.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007906/1.986, allocations: 1.39 MB / 0.6922 GB, free: 31.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006226/1.987, allocations: 213.8 kB / 0.6924 GB, free: 31.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/1.987, allocations: 225.9 kB / 0.6926 GB, free: 30.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002704/1.99, allocations: 2.047 MB / 0.6946 GB, free: 28.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.99, allocations: 3.688 kB / 0.6946 GB, free: 28.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.007244/1.997, allocations: 1.075 MB / 0.6956 GB, free: 27.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 163 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008111/1.998, allocations: 175.5 kB / 0.6958 GB, free: 27.59 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Parts.mo:2404:7-2406:80:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Parts.mo:2404:7-2406:80:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01385/2.012, allocations: 9.443 MB / 0.705 GB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.012, allocations: 0 / 0.705 GB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008646/2.02, allocations: 5.823 MB / 0.7107 GB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/2.023, allocations: 268.6 kB / 0.711 GB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1424/2.165, allocations: 9.557 MB / 0.7203 GB, free: 62.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/2.168, allocations: 3.322 MB / 0.7236 GB, free: 61.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.01281/2.181, allocations: 2.597 MB / 0.7261 GB, free: 61.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003889/2.185, allocations: 0.5539 MB / 0.7266 GB, free: 61.44 MB / 266.7 MB Notification: Performance of SimCode: time 2.375e-06/2.185, allocations: 0 / 0.7266 GB, free: 61.44 MB / 266.7 MB Notification: Performance of Templates: time 0.164/2.349, allocations: 69.19 MB / 0.7942 GB, free: 21.98 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)