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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 90.41 kB / 16.31 MB, free: 5.668 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.001197/0.001197, allocations: 186.1 kB / 17.21 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0005/0.0005, allocations: 14.81 kB / 280.2 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 47.57 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01249/0.2717, allocations: 12.57 MB / 340.3 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.2801, allocations: 4.069 MB / 344.4 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.2819, allocations: 51.88 kB / 344.4 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2832, allocations: 0.5988 MB / 345 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.2883, allocations: 2.168 MB / 347.2 MB, free: 12 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2893, allocations: 435.3 kB / 347.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02392/0.3133, allocations: 17.66 MB / 365.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.316, allocations: 1.548 MB / 366.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3172, allocations: 0.7355 MB / 367.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.3188, allocations: 1.246 MB / 368.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.319, allocations: 84 kB / 368.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3205, allocations: 0.7683 MB / 369.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.3215, allocations: 1.04 MB / 370.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.322, allocations: 0.5079 MB / 371.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.3252, allocations: 3.341 MB / 374.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3252, allocations: 4 kB / 374.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3252, allocations: 4 kB / 374.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-05/0.3253, allocations: 3.938 kB / 374.5 MB, free: 4.562 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.005903/0.3312, allocations: 2.766 MB / 377.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3312, allocations: 8.031 kB / 377.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/0.3368, allocations: 1.701 MB / 379 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.3403, allocations: 1.537 MB / 380.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3404, allocations: 127.2 kB / 380.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.3407, allocations: 167.9 kB / 380.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.3522, allocations: 6.592 MB / 387.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.3523, allocations: 35.66 kB / 387.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.3526, allocations: 87.89 kB / 387.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/0.3546, allocations: 1.331 MB / 388.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.3662, allocations: 5.824 MB / 394.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.4012, allocations: 28.09 MB / 422.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/0.4071, allocations: 2.736 MB / 425.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.4087, allocations: 1.27 MB / 426.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.4094, allocations: 0.6356 MB / 427.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.4095, allocations: 43.12 kB / 427.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.878e-06/0.4095, allocations: 0 / 427.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06728/0.4768, allocations: 20.6 MB / 448.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.4769, allocations: 153.5 kB / 448.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/0.4819, allocations: 2.825 MB / 451.1 MB, free: 6.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.4823, allocations: 45.7 kB / 451.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/0.4842, allocations: 2.098 MB / 453.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008739/0.485, allocations: 0.6055 MB / 453.8 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.4854, allocations: 96 kB / 453.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003381/0.4857, allocations: 0.5166 MB / 454.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/0.4889, allocations: 2.204 MB / 456.6 MB, free: 480 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2028/0.6917, allocations: 5.167 MB / 461.8 MB, free: 109.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.6961, allocations: 3.303 MB / 465.1 MB, free: 108.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.856e-05/0.6962, allocations: 29.81 kB / 465.1 MB, free: 108.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01846/0.7146, allocations: 10.29 MB / 475.4 MB, free: 105.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.7147, allocations: 52.12 kB / 475.5 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.491e-05/0.7148, allocations: 104.8 kB / 475.6 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009866/0.7247, allocations: 3.507 MB / 479.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.7279, allocations: 1.103 MB / 480.2 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.7427, allocations: 12.05 MB / 492.2 MB, free: 88.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.7466, allocations: 330.9 kB / 492.6 MB, free: 88.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/0.7474, allocations: 308 kB / 492.9 MB, free: 87.99 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.0023/0.7497, allocations: 1.465 MB / 494.3 MB, free: 86.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.7501, allocations: 251.6 kB / 494.6 MB, free: 86.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.763, allocations: 6.029 MB / 0.4889 GB, free: 80.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.763, allocations: 16 kB / 0.4889 GB, free: 80.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.763, allocations: 8 kB / 0.4889 GB, free: 80.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.7631, allocations: 13 kB / 0.4889 GB, free: 80.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/0.7863, allocations: 13.2 MB / 0.5018 GB, free: 67.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.7864, allocations: 0.875 kB / 0.5018 GB, free: 67.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.7874, allocations: 239.7 kB / 0.502 GB, free: 66.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/0.7983, allocations: 4.13 MB / 0.506 GB, free: 62.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002943/0.7986, allocations: 48.5 kB / 0.5061 GB, free: 62.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.8138, allocations: 12.1 MB / 0.5179 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8138, allocations: 0 / 0.5179 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.8315, allocations: 9.927 MB / 0.5276 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/0.8323, allocations: 317.6 kB / 0.5279 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/0.833, allocations: 33.16 kB / 0.5279 GB, free: 40.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8346, allocations: 187.7 kB / 0.5281 GB, free: 39.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.835, allocations: 109.9 kB / 0.5282 GB, free: 39.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.8352, allocations: 53.06 kB / 0.5283 GB, free: 39.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002382/0.8376, allocations: 1.754 MB / 0.53 GB, free: 38.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8376, allocations: 0 / 0.53 GB, free: 38.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003831/0.8414, allocations: 0.8277 MB / 0.5308 GB, free: 37.23 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.0004502/0.8419, allocations: 164.7 kB / 0.5309 GB, free: 37.07 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.009287/0.8512, allocations: 6.199 MB / 0.537 GB, free: 30.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.8512, allocations: 7.938 kB / 0.537 GB, free: 30.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004375/0.8556, allocations: 2.851 MB / 0.5398 GB, free: 27.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.8578, allocations: 283.4 kB / 0.5401 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.8694, allocations: 8.407 MB / 0.5483 GB, free: 19.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.8714, allocations: 2.319 MB / 0.5505 GB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003107/0.8745, allocations: 1.537 MB / 0.552 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.8749, allocations: 183.4 kB / 0.5522 GB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.875, allocations: 0 / 0.5522 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.06303/0.938, allocations: 38.49 MB / 0.5898 GB, free: 8.477 MB / 414.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)