Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007926/0.007926, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001661/0.001661, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001249/0.001249, allocations: 51.02 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09523, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008241/0.1035, allocations: 7.032 MB / 380.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.1094, allocations: 3.139 MB / 383.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008163/0.1103, allocations: 35.88 kB / 383.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.1125, allocations: 0.899 MB / 384.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.1169, allocations: 1.366 MB / 385.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.1181, allocations: 0.5225 MB / 386.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.1213, allocations: 2.731 MB / 388.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1227, allocations: 1.333 MB / 390.2 MB, free: 180 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009457/0.1236, allocations: 0.8565 MB / 391.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1258, allocations: 2.022 MB / 393.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.1261, allocations: 184 kB / 393.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1276, allocations: 0.9593 MB / 394.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009246/0.1285, allocations: 1.138 MB / 395.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.1298, allocations: 1.305 MB / 396.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.1345, allocations: 4.43 MB / 401.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1346, allocations: 0 / 401.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1346, allocations: 0 / 401.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.925e-05/0.1347, allocations: 0 / 401.1 MB, free: 5.25 MB / 334.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.007323/0.142, allocations: 3.265 MB / 404.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1421, allocations: 12.03 kB / 404.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00621/0.1483, allocations: 1.647 MB / 406 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.1521, allocations: 1.577 MB / 407.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.1522, allocations: 127.2 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/0.1526, allocations: 175.8 kB / 407.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.163, allocations: 6.596 MB / 414.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.03e-05/0.1631, allocations: 39.67 kB / 414.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.1634, allocations: 83.89 kB / 414.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/0.1656, allocations: 1.331 MB / 416 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.177, allocations: 5.836 MB / 421.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/0.2118, allocations: 27.97 MB / 449.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006483/0.2184, allocations: 2.79 MB / 452.6 MB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2403/0.4586, allocations: 1.302 MB / 453.9 MB, free: 70.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.4594, allocations: 0.6282 MB / 454.5 MB, free: 70.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.4595, allocations: 48.83 kB / 454.5 MB, free: 70.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.426e-06/0.4595, allocations: 1.25 kB / 454.5 MB, free: 70.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07025/0.5297, allocations: 21.02 MB / 475.6 MB, free: 62.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.5299, allocations: 171.2 kB / 475.7 MB, free: 62.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/0.5332, allocations: 2.805 MB / 478.5 MB, free: 59.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.5335, allocations: 49.7 kB / 478.6 MB, free: 59.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/0.5343, allocations: 2.072 MB / 480.7 MB, free: 57.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.5347, allocations: 0.6313 MB / 481.3 MB, free: 57.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009681/0.5357, allocations: 0.9993 MB / 482.3 MB, free: 56.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.5357, allocations: 301.1 kB / 482.6 MB, free: 55.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.5381, allocations: 2.231 MB / 484.8 MB, free: 53.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.5414, allocations: 5.152 MB / 490 MB, free: 46.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/0.5479, allocations: 7.973 MB / 497.9 MB, free: 37.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.662e-05/0.548, allocations: 35.94 kB / 498 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02949/0.5775, allocations: 10.29 MB / 0.4963 GB, free: 27.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5777, allocations: 48.94 kB / 0.4964 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/0.5778, allocations: 106.3 kB / 0.4965 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/0.5965, allocations: 3.425 MB / 0.4998 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005728/0.6023, allocations: 1.096 MB / 0.5009 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/0.6316, allocations: 12.85 MB / 0.5135 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/0.6387, allocations: 335 kB / 0.5138 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009712/0.6398, allocations: 307.9 kB / 0.5141 GB, free: 8.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (577): * Single equations (assignments): 566 * Array equations: 4 * 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.00336/0.6431, allocations: 1.468 MB / 0.5155 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/0.644, allocations: 248.7 kB / 0.5157 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/0.6692, allocations: 6.001 MB / 0.5216 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/0.6694, allocations: 24 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/0.6694, allocations: 8 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/0.6695, allocations: 7.969 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05063/0.7201, allocations: 13.21 MB / 0.5345 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/0.7202, allocations: 4 kB / 0.5345 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.7223, allocations: 231.7 kB / 0.5348 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01969/0.742, allocations: 4.012 MB / 0.5387 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003698/0.7424, allocations: 47.95 kB / 0.5387 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/0.7616, allocations: 12.82 MB / 0.5513 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.7617, allocations: 4.25 kB / 0.5513 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/0.7831, allocations: 10.08 MB / 0.5611 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/0.7841, allocations: 309.6 kB / 0.5614 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/0.7846, allocations: 47.92 kB / 0.5614 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.7862, allocations: 191.2 kB / 0.5616 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.7866, allocations: 112.8 kB / 0.5617 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.7868, allocations: 54.03 kB / 0.5618 GB, free: 7.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002556/0.7893, allocations: 1.742 MB / 0.5635 GB, free: 5.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7893, allocations: 0 / 0.5635 GB, free: 5.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003673/0.793, allocations: 0.8217 MB / 0.5643 GB, free: 5.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * 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.0004548/0.7935, allocations: 156.5 kB / 0.5644 GB, free: 4.941 MB / 430.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.01025/0.8037, allocations: 6.278 MB / 0.5706 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8038, allocations: 0 / 0.5706 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005197/0.809, allocations: 2.895 MB / 0.5734 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.8109, allocations: 299.6 kB / 0.5737 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.8214, allocations: 7.307 MB / 0.5808 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.8237, allocations: 2.326 MB / 0.5831 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003055/0.8267, allocations: 1.511 MB / 0.5846 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.8273, allocations: 191.4 kB / 0.5847 GB, free: 15.86 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8273, allocations: 0 / 0.5847 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Templates: time 0.06258/0.8899, allocations: 38.64 MB / 0.6225 GB, free: 9.242 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)