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.6409/0.6409, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001634/0.001634, allocations: 142.3 kB / 151.9 MB, free: 4.988 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 4 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 25.15 MB / 210.1 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05423/0.1951, allocations: 44.41 MB / 254.5 MB, free: 5.406 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.1954, allocations: 79.95 kB / 254.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5451/0.7405, allocations: 133 MB / 387.6 MB, free: 36.57 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7406, allocations: 1.438 kB / 387.6 MB, free: 36.57 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001301/0.7407, allocations: 74.8 kB / 387.6 MB, free: 36.57 MB / 234.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.01977/0.7605, allocations: 6.123 MB / 393.8 MB, free: 35.85 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7605, allocations: 7.594 kB / 393.8 MB, free: 35.85 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08952/0.8501, allocations: 19.41 MB / 413.2 MB, free: 35.27 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.8633, allocations: 5.177 MB / 418.4 MB, free: 34.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.8636, allocations: 310.3 kB / 418.7 MB, free: 34.76 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.8666, allocations: 398.6 kB / 419.1 MB, free: 34.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06579/0.9324, allocations: 23.39 MB / 442.4 MB, free: 26.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.9326, allocations: 28.69 kB / 442.5 MB, free: 26.42 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/0.9346, allocations: 189.1 kB / 442.7 MB, free: 26.37 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03043/0.965, allocations: 7.821 MB / 450.5 MB, free: 18.71 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.064/1.029, allocations: 25.24 MB / 475.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.443/1.472, allocations: 105.2 MB / 0.5673 GB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.494, allocations: 7.657 MB / 0.5748 GB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/1.495, allocations: 0.6586 MB / 0.5754 GB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/1.495, allocations: 65.47 kB / 0.5755 GB, free: 5.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=216): time 8.316e-06/1.495, allocations: 0 / 0.5755 GB, free: 5.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=249): time 0.2331/1.728, allocations: 43.18 MB / 0.6176 GB, free: 55.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.728, allocations: 470.3 kB / 0.6181 GB, free: 54.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/1.734, allocations: 3.814 MB / 0.6218 GB, free: 54.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000814/1.734, allocations: 60.47 kB / 0.6219 GB, free: 54.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.736, allocations: 2.982 MB / 0.6248 GB, free: 52.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.737, allocations: 0.9325 MB / 0.6257 GB, free: 52.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/1.737, allocations: 131.5 kB / 0.6258 GB, free: 52.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/1.738, allocations: 0.6003 MB / 0.6264 GB, free: 51.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01806/1.756, allocations: 6.777 MB / 0.633 GB, free: 51.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01949/1.775, allocations: 10.72 MB / 0.6435 GB, free: 42.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/1.793, allocations: 7.194 MB / 0.6505 GB, free: 37.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.793, allocations: 40 kB / 0.6506 GB, free: 37.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.05351/1.847, allocations: 20.1 MB / 0.6702 GB, free: 18.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.847, allocations: 67.98 kB / 0.6703 GB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003415/1.847, allocations: 305.2 kB / 0.6705 GB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/1.86, allocations: 4.201 MB / 0.6746 GB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1229/1.983, allocations: 1.632 MB / 0.6762 GB, free: 54.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/2.003, allocations: 14.31 MB / 0.6902 GB, free: 53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.015, allocations: 1.711 MB / 0.6919 GB, free: 53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/2.017, allocations: 0.5671 MB / 0.6924 GB, free: 53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (815): * Single equations (assignments): 796 * 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.004238/2.021, allocations: 2.102 MB / 0.6945 GB, free: 52.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/2.022, allocations: 356.2 kB / 0.6948 GB, free: 52.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/2.04, allocations: 7.175 MB / 0.7018 GB, free: 51.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02663/2.067, allocations: 8.987 MB / 0.7106 GB, free: 50.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-05/2.067, allocations: 11.12 kB / 0.7106 GB, free: 50.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/2.067, allocations: 21.62 kB / 0.7106 GB, free: 50.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07916/2.146, allocations: 28.65 MB / 0.7386 GB, free: 39.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/2.146, allocations: 12 kB / 0.7386 GB, free: 39.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/2.148, allocations: 424.7 kB / 0.739 GB, free: 39.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/2.161, allocations: 3.947 MB / 0.7429 GB, free: 35.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/2.162, allocations: 135.3 kB / 0.743 GB, free: 34.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/2.179, allocations: 13.32 MB / 0.756 GB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/2.179, allocations: 16.31 kB / 0.756 GB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1866/2.366, allocations: 23.51 MB / 0.779 GB, free: 51.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/2.367, allocations: 0.4982 MB / 0.7795 GB, free: 51.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/2.369, allocations: 54.73 kB / 0.7795 GB, free: 51.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00853/2.377, allocations: 1.427 MB / 0.7809 GB, free: 51.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009057/2.378, allocations: 214.9 kB / 0.7811 GB, free: 51.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005776/2.379, allocations: 226.7 kB / 0.7814 GB, free: 51.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004612/2.383, allocations: 2.672 MB / 0.784 GB, free: 51.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.383, allocations: 1.125 kB / 0.784 GB, free: 51.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00754/2.391, allocations: 1.248 MB / 0.7852 GB, free: 51.57 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 165 * 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.0009744/2.392, allocations: 202.8 kB / 0.7854 GB, free: 51.49 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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.04031/2.432, allocations: 15.71 MB / 0.8007 GB, free: 50.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.432, allocations: 0 / 0.8007 GB, free: 50.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02121/2.453, allocations: 8.844 MB / 0.8094 GB, free: 49.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/2.456, allocations: 373.2 kB / 0.8097 GB, free: 49.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/2.486, allocations: 15.84 MB / 0.8252 GB, free: 42.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/2.488, allocations: 3.329 MB / 0.8284 GB, free: 40.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.007124/2.496, allocations: 2.605 MB / 0.831 GB, free: 38.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/2.498, allocations: 0.5684 MB / 0.8315 GB, free: 38.03 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/2.498, allocations: 0 / 0.8315 GB, free: 38.03 MB / 266.7 MB Notification: Performance of Templates: time 0.2253/2.723, allocations: 74.6 MB / 0.9044 GB, free: 47.58 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)