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.001022/0.001022, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.442/1.442, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00182/0.00182, allocations: 122.8 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.49e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.451, allocations: 83.5 MB / 426.1 MB, free: 12.5 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4513, allocations: 87.89 kB / 426.2 MB, free: 12.46 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1498/0.6011, allocations: 60.24 MB / 486.4 MB, free: 7.363 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6012, allocations: 0 / 486.4 MB, free: 7.363 MB / 363.1 MB Notification: Performance of Transformations before backend: time 9.815e-05/0.6013, allocations: 55.94 kB / 486.5 MB, free: 7.309 MB / 363.1 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.007745/0.609, allocations: 3.031 MB / 489.5 MB, free: 4.219 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6091, allocations: 8.031 kB / 489.5 MB, free: 4.211 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008483/0.6176, allocations: 1.993 MB / 491.5 MB, free: 2.211 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009122/0.6267, allocations: 3.537 MB / 495 MB, free: 14.62 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.6269, allocations: 88 kB / 495.1 MB, free: 14.54 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006207/0.6275, allocations: 163.9 kB / 495.3 MB, free: 14.38 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007425/0.6349, allocations: 4.543 MB / 499.8 MB, free: 9.828 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009969/0.6449, allocations: 7.159 MB / 0.4951 GB, free: 1.668 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.6451, allocations: 59.5 kB / 0.4951 GB, free: 1.609 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.6454, allocations: 28 kB / 0.4952 GB, free: 1.582 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.6465, allocations: 0.7807 MB / 0.4959 GB, free: 0.8008 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2509/0.8974, allocations: 39.96 MB / 0.535 GB, free: 62.39 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.9, allocations: 2.325 MB / 0.5372 GB, free: 61.73 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.9012, allocations: 1.362 MB / 0.5386 GB, free: 61.7 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.9018, allocations: 0.6345 MB / 0.5392 GB, free: 61.13 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.9018, allocations: 51.36 kB / 0.5392 GB, free: 61.09 MB / 395.1 MB Notification: Performance of pre-optimization done (n=120): time 4.378e-06/0.9019, allocations: 0 / 0.5392 GB, free: 61.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=152): time 0.03646/0.9383, allocations: 16 MB / 0.5549 GB, free: 59.4 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.9384, allocations: 148.7 kB / 0.555 GB, free: 59.25 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/0.9424, allocations: 2.448 MB / 0.5574 GB, free: 58.96 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005636/0.943, allocations: 26.77 kB / 0.5574 GB, free: 58.93 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.9444, allocations: 2.373 MB / 0.5597 GB, free: 57.61 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/0.9451, allocations: 0.5885 MB / 0.5603 GB, free: 57.18 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.9454, allocations: 1.031 kB / 0.5603 GB, free: 57.18 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003226/0.9457, allocations: 0.5863 MB / 0.5609 GB, free: 56.75 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.9489, allocations: 2.278 MB / 0.5631 GB, free: 55.88 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.9538, allocations: 5.552 MB / 0.5685 GB, free: 50.57 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/0.9592, allocations: 3.499 MB / 0.5719 GB, free: 49.43 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.911e-05/0.9593, allocations: 38.16 kB / 0.572 GB, free: 49.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.02704/0.9863, allocations: 10.8 MB / 0.5825 GB, free: 46.36 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/0.9865, allocations: 60.06 kB / 0.5826 GB, free: 46.36 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.9866, allocations: 117.5 kB / 0.5827 GB, free: 46.36 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/0.9998, allocations: 4.114 MB / 0.5867 GB, free: 45.64 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.004, allocations: 1.209 MB / 0.5879 GB, free: 45.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.021, allocations: 12.69 MB / 0.6003 GB, free: 40.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004828/1.026, allocations: 269.9 kB / 0.6005 GB, free: 40 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008249/1.027, allocations: 333.5 kB / 0.6009 GB, free: 39.96 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 (638): * Single equations (assignments): 628 * 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.0009196/1.028, allocations: 396.6 kB / 0.6012 GB, free: 39.63 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/1.028, allocations: 258 kB / 0.6015 GB, free: 39.48 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.045, allocations: 6.733 MB / 0.6081 GB, free: 37.58 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.765e-05/1.045, allocations: 17.19 kB / 0.6081 GB, free: 37.58 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/1.045, allocations: 6.75 kB / 0.6081 GB, free: 37.58 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.045, allocations: 14.83 kB / 0.6081 GB, free: 37.57 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.072, allocations: 13.92 MB / 0.6217 GB, free: 26.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.072, allocations: 4 kB / 0.6217 GB, free: 26.75 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.073, allocations: 231.7 kB / 0.6219 GB, free: 26.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/1.087, allocations: 4.66 MB / 0.6265 GB, free: 21.84 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/1.087, allocations: 29.39 kB / 0.6265 GB, free: 21.81 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.104, allocations: 12.7 MB / 0.6389 GB, free: 8.984 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.104, allocations: 0 / 0.6389 GB, free: 8.984 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.125, allocations: 10.85 MB / 0.6495 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009935/1.126, allocations: 309.7 kB / 0.6498 GB, free: 13.75 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.126, allocations: 11.98 kB / 0.6498 GB, free: 13.74 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.128, allocations: 171.7 kB / 0.65 GB, free: 13.57 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.128, allocations: 112.5 kB / 0.6501 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.128, allocations: 51.97 kB / 0.6501 GB, free: 13.41 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.002651/1.131, allocations: 1.622 MB / 0.6517 GB, free: 11.79 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.131, allocations: 0.75 kB / 0.6517 GB, free: 11.79 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005025/1.136, allocations: 0.7748 MB / 0.6525 GB, free: 11.02 MB / 411.1 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 (102): * Single equations (assignments): 92 * 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.0004977/1.137, allocations: 147.2 kB / 0.6526 GB, free: 10.87 MB / 411.1 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.0123/1.149, allocations: 6.582 MB / 0.659 GB, free: 4.176 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.149, allocations: 0 / 0.659 GB, free: 4.176 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006366/1.155, allocations: 3.148 MB / 0.6621 GB, free: 0.8945 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.158, allocations: 230.6 kB / 0.6623 GB, free: 0.6719 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2186/1.376, allocations: 6.624 MB / 0.6688 GB, free: 96.34 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.378, allocations: 2.55 MB / 0.6713 GB, free: 95.59 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.003627/1.382, allocations: 1.635 MB / 0.6729 GB, free: 95.55 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.382, allocations: 190.5 kB / 0.6731 GB, free: 95.55 MB / 411.1 MB Notification: Performance of SimCode: time 1.943e-06/1.382, allocations: 0 / 0.6731 GB, free: 95.55 MB / 411.1 MB Notification: Performance of Templates: time 0.06168/1.444, allocations: 39.02 MB / 0.7112 GB, free: 92.81 MB / 411.1 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)