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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001023, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004555, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.256, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01259/0.2686, allocations: 12.57 MB / 339 MB, free: 6.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.28, allocations: 4.057 MB / 343.1 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.2835, allocations: 51.88 kB / 343.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.2858, allocations: 0.5988 MB / 343.8 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.2924, allocations: 2.172 MB / 345.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2938, allocations: 443.2 kB / 346.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02395/0.3178, allocations: 17.66 MB / 364 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.3213, allocations: 1.545 MB / 365.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.323, allocations: 0.7394 MB / 366.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.325, allocations: 1.242 MB / 367.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.3254, allocations: 84 kB / 367.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.327, allocations: 0.7722 MB / 368.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3282, allocations: 1.036 MB / 369.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008471/0.3291, allocations: 0.5079 MB / 369.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.3329, allocations: 3.349 MB / 373.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.333, allocations: 3.938 kB / 373.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.333, allocations: 0 / 373.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.333, allocations: 0 / 373.3 MB, free: 4.543 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.005689/0.3387, allocations: 2.766 MB / 376.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.3388, allocations: 8.031 kB / 376.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.3444, allocations: 1.704 MB / 377.8 MB, free: 0 / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.347, allocations: 1.533 MB / 379.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.3471, allocations: 131.2 kB / 379.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.3474, allocations: 167.9 kB / 379.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008861/0.3563, allocations: 6.592 MB / 386.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.3564, allocations: 35.66 kB / 386.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.3566, allocations: 87.89 kB / 386.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.3586, allocations: 1.331 MB / 387.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009982/0.3686, allocations: 5.82 MB / 393.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.4017, allocations: 28.09 MB / 421.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005888/0.4077, allocations: 2.744 MB / 424.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4093, allocations: 1.266 MB / 425.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/0.4101, allocations: 0.6317 MB / 426.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.4101, allocations: 47.12 kB / 426.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 4.97e-06/0.4101, allocations: 0 / 426.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.0651/0.4753, allocations: 20.59 MB / 446.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.4754, allocations: 153.4 kB / 447 MB, free: 8.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/0.4795, allocations: 2.825 MB / 449.8 MB, free: 6.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/0.4799, allocations: 49.7 kB / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.4814, allocations: 2.102 MB / 451.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/0.4821, allocations: 0.6016 MB / 452.5 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4824, allocations: 99.98 kB / 452.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000316/0.4827, allocations: 0.5166 MB / 453.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.4859, allocations: 2.2 MB / 455.4 MB, free: 464 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2087/0.6946, allocations: 5.167 MB / 460.5 MB, free: 109.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/0.6991, allocations: 3.3 MB / 463.8 MB, free: 108.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.706e-05/0.6992, allocations: 30.22 kB / 463.9 MB, free: 108.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0192/0.7184, allocations: 10.29 MB / 474.1 MB, free: 105.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.7185, allocations: 53.88 kB / 474.2 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.398e-05/0.7186, allocations: 107.1 kB / 474.3 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009433/0.7281, allocations: 3.51 MB / 477.8 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/0.7309, allocations: 1.107 MB / 478.9 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/0.7453, allocations: 12.05 MB / 491 MB, free: 88.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/0.7493, allocations: 332.6 kB / 491.3 MB, free: 88.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/0.7499, allocations: 304 kB / 491.6 MB, free: 87.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[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 (585): * Single equations (assignments): 575 * 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 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.7519, allocations: 1.468 MB / 493.1 MB, free: 86.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.7524, allocations: 255.9 kB / 493.3 MB, free: 86.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.7654, allocations: 6.017 MB / 499.3 MB, free: 80.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/0.7655, allocations: 20 kB / 499.3 MB, free: 80.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.7655, allocations: 11.25 kB / 499.4 MB, free: 80.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.7655, allocations: 11.92 kB / 499.4 MB, free: 80.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/0.7887, allocations: 13.21 MB / 0.5006 GB, free: 67.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/0.7888, allocations: 3.281 kB / 0.5006 GB, free: 67.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7899, allocations: 227.7 kB / 0.5008 GB, free: 66.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/0.8005, allocations: 4.141 MB / 0.5048 GB, free: 62.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/0.8009, allocations: 47.95 kB / 0.5049 GB, free: 62.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.8156, allocations: 12.08 MB / 0.5167 GB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8156, allocations: 8 kB / 0.5167 GB, free: 50.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.8324, allocations: 9.925 MB / 0.5264 GB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.8331, allocations: 313.6 kB / 0.5267 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.8335, allocations: 36.23 kB / 0.5267 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.8349, allocations: 188.7 kB / 0.5269 GB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/0.8352, allocations: 116.7 kB / 0.527 GB, free: 39.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.8353, allocations: 53.3 kB / 0.5271 GB, free: 39.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00205/0.8374, allocations: 1.751 MB / 0.5288 GB, free: 38.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8374, allocations: 0 / 0.5288 GB, free: 38.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003821/0.8412, allocations: 0.823 MB / 0.5296 GB, free: 37.19 MB / 382.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 () * 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 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004442/0.8417, allocations: 169.3 kB / 0.5297 GB, free: 37.02 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.00845/0.8502, allocations: 6.202 MB / 0.5358 GB, free: 30.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.8502, allocations: 0 / 0.5358 GB, free: 30.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.8542, allocations: 2.857 MB / 0.5386 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.856, allocations: 283 kB / 0.5388 GB, free: 27.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00946/0.8655, allocations: 8.399 MB / 0.547 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.8672, allocations: 2.314 MB / 0.5493 GB, free: 16.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003149/0.8704, allocations: 1.533 MB / 0.5508 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.8708, allocations: 191.4 kB / 0.551 GB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8708, allocations: 0 / 0.551 GB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.06245/0.9333, allocations: 38.5 MB / 0.5886 GB, free: 8.422 MB / 414.1 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)