Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.426/1.426, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001583/0.001583, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.207e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09755, allocations: 44.51 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4474, allocations: 84.15 MB / 433.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4477, allocations: 86.73 kB / 433.7 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1484/0.5961, allocations: 61.21 MB / 494.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5961, allocations: 0 / 494.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.929e-05/0.5962, allocations: 56 kB / 494.9 MB, free: 4.848 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.006717/0.603, allocations: 3.027 MB / 498 MB, free: 1.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.603, allocations: 8.031 kB / 498 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007917/0.6109, allocations: 1.997 MB / 500 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009743/0.6207, allocations: 3.538 MB / 0.4917 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.6209, allocations: 213.4 kB / 0.4919 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/0.6216, allocations: 279.8 kB / 0.4922 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.635, allocations: 7.895 MB / 0.4999 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.6352, allocations: 55.55 kB / 0.4999 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/0.6356, allocations: 147.9 kB / 0.5001 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.6367, allocations: 0.7807 MB / 0.5009 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.6489, allocations: 6.456 MB / 0.5072 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/0.6971, allocations: 41.38 MB / 0.5476 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.295/0.9922, allocations: 2.929 MB / 0.5504 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.9939, allocations: 1.389 MB / 0.5518 GB, free: 113.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.9946, allocations: 0.6366 MB / 0.5524 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9947, allocations: 50.12 kB / 0.5525 GB, free: 112.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.586e-06/0.9947, allocations: 0 / 0.5525 GB, free: 112.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.06127/1.056, allocations: 18.27 MB / 0.5703 GB, free: 111.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.056, allocations: 147.2 kB / 0.5704 GB, free: 111.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/1.061, allocations: 2.884 MB / 0.5733 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005131/1.061, allocations: 49.45 kB / 0.5733 GB, free: 110.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.063, allocations: 2.317 MB / 0.5756 GB, free: 109.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007387/1.064, allocations: 0.6058 MB / 0.5762 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.064, allocations: 102.5 kB / 0.5763 GB, free: 109.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/1.064, allocations: 0.5241 MB / 0.5768 GB, free: 109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/1.067, allocations: 2.361 MB / 0.5791 GB, free: 108.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.072, allocations: 5.517 MB / 0.5845 GB, free: 104.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/1.077, allocations: 3.57 MB / 0.5879 GB, free: 103.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-05/1.077, allocations: 32.31 kB / 0.588 GB, free: 103.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.02701/1.104, allocations: 11.36 MB / 0.5991 GB, free: 99.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.104, allocations: 51.09 kB / 0.5991 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/1.104, allocations: 114.7 kB / 0.5992 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01343/1.118, allocations: 4.097 MB / 0.6032 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004175/1.122, allocations: 1.158 MB / 0.6044 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/1.142, allocations: 13.7 MB / 0.6177 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/1.148, allocations: 356.6 kB / 0.6181 GB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.149, allocations: 319.1 kB / 0.6184 GB, free: 86.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (616): * Single equations (assignments): 606 * Array equations: 3 * 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.0009808/1.15, allocations: 0.492 MB / 0.6189 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/1.151, allocations: 279.9 kB / 0.6191 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.167, allocations: 6.909 MB / 0.6259 GB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/1.168, allocations: 17.41 kB / 0.6259 GB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/1.168, allocations: 15.95 kB / 0.6259 GB, free: 80.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/1.168, allocations: 7.969 kB / 0.6259 GB, free: 80.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/1.197, allocations: 14.56 MB / 0.6401 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/1.198, allocations: 4 kB / 0.6401 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.199, allocations: 223.7 kB / 0.6404 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01374/1.212, allocations: 4.638 MB / 0.6449 GB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/1.213, allocations: 55.91 kB / 0.6449 GB, free: 61.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.231, allocations: 13.77 MB / 0.6584 GB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.231, allocations: 0 / 0.6584 GB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02109/1.252, allocations: 11.05 MB / 0.6692 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.254, allocations: 343.6 kB / 0.6695 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.254, allocations: 41.03 kB / 0.6695 GB, free: 35.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/1.256, allocations: 195.7 kB / 0.6697 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/1.256, allocations: 108.8 kB / 0.6698 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.257, allocations: 53.22 kB / 0.6699 GB, free: 35.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002905/1.259, allocations: 2.006 MB / 0.6718 GB, free: 33.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.259, allocations: 0 / 0.6718 GB, free: 33.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005166/1.265, allocations: 0.9037 MB / 0.6727 GB, free: 32.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * 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.000626/1.265, allocations: 170.8 kB / 0.6729 GB, free: 32.54 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Parts.mo:2651:5-2655:74: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.2.2+maint.om/Mechanics/MultiBody/Parts.mo:2651:5-2655:74: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.01158/1.277, allocations: 6.793 MB / 0.6795 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.277, allocations: 0 / 0.6795 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005453/1.282, allocations: 3.196 MB / 0.6826 GB, free: 22.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.284, allocations: 313.1 kB / 0.6829 GB, free: 22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.295, allocations: 6.745 MB / 0.6895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.297, allocations: 2.557 MB / 0.692 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2507/1.547, allocations: 1.615 MB / 0.6936 GB, free: 99.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/1.548, allocations: 198.7 kB / 0.6938 GB, free: 99.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/1.548, allocations: 0 / 0.6938 GB, free: 99.3 MB / 410.7 MB Notification: Performance of Templates: time 0.07749/1.626, allocations: 43.01 MB / 0.7358 GB, free: 95.02 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)