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.001237/0.001237, allocations: 101 kB / 16.51 MB, free: 6.695 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.001212/0.001212, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.412/1.412, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.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.001296/0.001296, allocations: 51.94 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0167/0.121, allocations: 14.02 MB / 340 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1312, allocations: 4.418 MB / 344.4 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.1337, allocations: 55.81 kB / 344.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.136, allocations: 0.8686 MB / 345.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.1392, allocations: 1.269 MB / 346.6 MB, free: 184 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1403, allocations: 499.3 kB / 347.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00532/0.1456, allocations: 4.502 MB / 351.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.1477, allocations: 1.267 MB / 352.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.149, allocations: 0.7119 MB / 353.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.1507, allocations: 1.308 MB / 354.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.151, allocations: 104 kB / 355 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.1527, allocations: 0.9593 MB / 355.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009506/0.1536, allocations: 1.087 MB / 357 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.1547, allocations: 1.238 MB / 358.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.1587, allocations: 4.206 MB / 362.5 MB, free: 256 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1587, allocations: 4 kB / 362.5 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1588, allocations: 4 kB / 362.5 MB, free: 248 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.1589, allocations: 0 / 362.5 MB, free: 248 kB / 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.006816/0.1657, allocations: 3.269 MB / 365.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1657, allocations: 8.031 kB / 365.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/0.1714, allocations: 1.655 MB / 367.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.1743, allocations: 1.558 MB / 369 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.1744, allocations: 127.1 kB / 369.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.1747, allocations: 163.9 kB / 369.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009081/0.1838, allocations: 6.6 MB / 375.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-05/0.1839, allocations: 35.64 kB / 375.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.1842, allocations: 83.84 kB / 376 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.186, allocations: 1.327 MB / 377.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1926/0.3786, allocations: 5.835 MB / 383.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.4059, allocations: 28.08 MB / 411.2 MB, free: 28.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/0.4112, allocations: 2.737 MB / 413.9 MB, free: 26.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.4124, allocations: 1.274 MB / 415.2 MB, free: 24.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/0.4129, allocations: 0.6346 MB / 415.8 MB, free: 24.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.413, allocations: 47.12 kB / 415.9 MB, free: 24.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.306e-06/0.413, allocations: 1.969 kB / 415.9 MB, free: 24.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.0638/0.4768, allocations: 20.56 MB / 436.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4769, allocations: 145.5 kB / 436.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.4803, allocations: 2.852 MB / 439.4 MB, free: 392 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/0.4807, allocations: 45.7 kB / 439.5 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.4822, allocations: 2.102 MB / 441.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008054/0.4831, allocations: 0.6022 MB / 442.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.4844, allocations: 1.006 MB / 443.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4845, allocations: 309.1 kB / 443.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.4875, allocations: 2.223 MB / 445.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.4923, allocations: 5.185 MB / 450.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008706/0.501, allocations: 7.978 MB / 458.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.138e-05/0.5011, allocations: 36 kB / 458.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02253/0.5237, allocations: 10.31 MB / 469.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.5238, allocations: 48 kB / 469.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.61e-05/0.5239, allocations: 104 kB / 469.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/0.5357, allocations: 3.426 MB / 472.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/0.5394, allocations: 1.107 MB / 473.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.5579, allocations: 12 MB / 485.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.5622, allocations: 339.4 kB / 486.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000665/0.5629, allocations: 304 kB / 486.5 MB, free: 14.12 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 (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00217/0.565, allocations: 1.481 MB / 488 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.5656, allocations: 244.8 kB / 488.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.5812, allocations: 6.002 MB / 494.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/0.5812, allocations: 20 kB / 494.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/0.5813, allocations: 8 kB / 494.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.5813, allocations: 11.97 kB / 494.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/0.6097, allocations: 13.19 MB / 0.4956 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.6098, allocations: 2.438 kB / 0.4956 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6109, allocations: 231.7 kB / 0.4958 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01271/0.6237, allocations: 4.016 MB / 0.4997 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/0.624, allocations: 51.94 kB / 0.4998 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.6428, allocations: 12 MB / 0.5115 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6429, allocations: 0 / 0.5115 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1965/0.8394, allocations: 9.891 MB / 0.5212 GB, free: 132.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.8402, allocations: 303.8 kB / 0.5215 GB, free: 132 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/0.8406, allocations: 36.03 kB / 0.5215 GB, free: 132 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.8424, allocations: 183.7 kB / 0.5217 GB, free: 132 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005273/0.8429, allocations: 116 kB / 0.5218 GB, free: 132 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/0.8431, allocations: 56.83 kB / 0.5218 GB, free: 132 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.8455, allocations: 1.766 MB / 0.5236 GB, free: 131.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8455, allocations: 0 / 0.5236 GB, free: 131.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003519/0.849, allocations: 0.8258 MB / 0.5244 GB, free: 131.8 MB / 414.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 (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003573/0.8494, allocations: 166.9 kB / 0.5245 GB, free: 131.7 MB / 414.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.009117/0.8585, allocations: 6.214 MB / 0.5306 GB, free: 129.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8585, allocations: 0 / 0.5306 GB, free: 129.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004588/0.8631, allocations: 2.86 MB / 0.5334 GB, free: 128 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.8649, allocations: 285.3 kB / 0.5337 GB, free: 127.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.8736, allocations: 8.539 MB / 0.542 GB, free: 123.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.8751, allocations: 2.324 MB / 0.5443 GB, free: 122.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00283/0.878, allocations: 1.525 MB / 0.5458 GB, free: 122.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.8784, allocations: 196.9 kB / 0.5459 GB, free: 122.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.8784, allocations: 0 / 0.5459 GB, free: 122.4 MB / 414.1 MB Notification: Performance of Templates: time 0.0463/0.9247, allocations: 39.69 MB / 0.5847 GB, free: 86.55 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)