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.001008/0.001008, 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.18/1.18, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001587/0.001587, allocations: 109.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003375, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.08149, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.3214, allocations: 84.24 MB / 439.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.3217, allocations: 94.67 kB / 439.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.147/0.4687, allocations: 61.17 MB / 0.4888 GB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4688, allocations: 4 kB / 0.4888 GB, free: 10.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.767e-05/0.4689, allocations: 55.98 kB / 0.4889 GB, free: 10.29 MB / 378.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.007082/0.476, allocations: 3.173 MB / 0.492 GB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.476, allocations: 8.031 kB / 0.492 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008052/0.4841, allocations: 1.997 MB / 0.4939 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009137/0.4933, allocations: 3.549 MB / 0.4974 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.4935, allocations: 205.5 kB / 0.4976 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.4943, allocations: 279.9 kB / 0.4979 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.5069, allocations: 7.946 MB / 0.5056 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.5071, allocations: 55.47 kB / 0.5057 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.5075, allocations: 143.9 kB / 0.5058 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009814/0.5085, allocations: 0.7807 MB / 0.5066 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.5192, allocations: 6.544 MB / 0.513 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1861/0.7054, allocations: 41.38 MB / 0.5534 GB, free: 63.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/0.7118, allocations: 2.947 MB / 0.5563 GB, free: 63.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.7125, allocations: 0.6414 MB / 0.5569 GB, free: 62.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.7125, allocations: 45.42 kB / 0.5569 GB, free: 62.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.689e-06/0.7125, allocations: 0 / 0.5569 GB, free: 62.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.07395/0.7865, allocations: 23.14 MB / 0.5795 GB, free: 58.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.7866, allocations: 143 kB / 0.5797 GB, free: 58.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.7905, allocations: 2.916 MB / 0.5825 GB, free: 57.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003603/0.7908, allocations: 48.83 kB / 0.5826 GB, free: 57.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.7919, allocations: 2.314 MB / 0.5848 GB, free: 55.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.7924, allocations: 0.6048 MB / 0.5854 GB, free: 55.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.7926, allocations: 103.6 kB / 0.5855 GB, free: 55.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.7928, allocations: 0.5249 MB / 0.586 GB, free: 54.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.7955, allocations: 2.398 MB / 0.5884 GB, free: 53.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.7991, allocations: 5.553 MB / 0.5938 GB, free: 48.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.8028, allocations: 3.574 MB / 0.5973 GB, free: 47.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/0.8028, allocations: 30.69 kB / 0.5973 GB, free: 47.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.02267/0.8255, allocations: 11.49 MB / 0.6085 GB, free: 43.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.8256, allocations: 52 kB / 0.6086 GB, free: 43.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.8258, allocations: 113.7 kB / 0.6087 GB, free: 43.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/0.8393, allocations: 4.16 MB / 0.6128 GB, free: 40.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.8429, allocations: 1.162 MB / 0.6139 GB, free: 38.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.8611, allocations: 14.26 MB / 0.6278 GB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8652, allocations: 351.3 kB / 0.6281 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/0.8658, allocations: 330.1 kB / 0.6285 GB, free: 23.81 MB / 394.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 () * Number of clocked 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.00203/0.8678, allocations: 1.595 MB / 0.63 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.8682, allocations: 279.1 kB / 0.6303 GB, free: 21.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/0.8842, allocations: 6.967 MB / 0.6371 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/0.8843, allocations: 16 kB / 0.6371 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.8843, allocations: 8 kB / 0.6371 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.8844, allocations: 15.92 kB / 0.6371 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/0.9133, allocations: 14.65 MB / 0.6514 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.9133, allocations: 4 kB / 0.6514 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.9144, allocations: 223.7 kB / 0.6517 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01481/0.9292, allocations: 4.772 MB / 0.6563 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/0.9296, allocations: 49.59 kB / 0.6564 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1818/1.111, allocations: 14.38 MB / 0.6704 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.112, allocations: 3.781 kB / 0.6704 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.132, allocations: 11.14 MB / 0.6813 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/1.133, allocations: 339.8 kB / 0.6816 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/1.133, allocations: 37.28 kB / 0.6816 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.135, allocations: 200 kB / 0.6818 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.135, allocations: 103.2 kB / 0.6819 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.136, allocations: 53.55 kB / 0.682 GB, free: 99.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002768/1.138, allocations: 2.031 MB / 0.684 GB, free: 99.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.138, allocations: 1.938 kB / 0.684 GB, free: 99.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003848/1.142, allocations: 0.9073 MB / 0.6849 GB, free: 99.3 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 () * Number of clocked 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.0004031/1.143, allocations: 171.7 kB / 0.685 GB, free: 99.21 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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01117/1.154, allocations: 6.864 MB / 0.6917 GB, free: 98.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.154, allocations: 1.156 kB / 0.6917 GB, free: 98.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005747/1.16, allocations: 3.227 MB / 0.6949 GB, free: 97.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.161, allocations: 316.8 kB / 0.6952 GB, free: 97.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.173, allocations: 9.046 MB / 0.704 GB, free: 93.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.175, allocations: 2.553 MB / 0.7065 GB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003287/1.178, allocations: 1.616 MB / 0.7081 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.179, allocations: 206.3 kB / 0.7083 GB, free: 92.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.179, allocations: 0 / 0.7083 GB, free: 92.65 MB / 410.7 MB Notification: Performance of Templates: time 0.05185/1.231, allocations: 43.22 MB / 0.7505 GB, free: 70.78 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)