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.007138/0.007139, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001565/0.001565, allocations: 195.8 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001472/0.001472, allocations: 50.86 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09145, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009513/0.101, allocations: 7.028 MB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.1083, allocations: 3.139 MB / 383.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.1103, allocations: 35.88 kB / 383.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.1129, allocations: 0.8951 MB / 384.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.1165, allocations: 1.374 MB / 385.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1179, allocations: 0.5303 MB / 386.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.1217, allocations: 2.727 MB / 388.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1233, allocations: 1.329 MB / 390.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1244, allocations: 0.8642 MB / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.1268, allocations: 2.018 MB / 393.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.1272, allocations: 183.9 kB / 393.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.129, allocations: 0.9633 MB / 394.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1301, allocations: 1.138 MB / 395.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.1317, allocations: 1.309 MB / 396.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.1375, allocations: 4.422 MB / 401.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1376, allocations: 0 / 401.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1376, allocations: 0 / 401.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.365e-05/0.1377, allocations: 0 / 401.1 MB, free: 5.258 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.00752/0.1452, allocations: 3.273 MB / 404.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1453, allocations: 12.03 kB / 404.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.1512, allocations: 1.647 MB / 406.1 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/0.155, allocations: 1.569 MB / 407.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1551, allocations: 131.2 kB / 407.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.1555, allocations: 163.8 kB / 407.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.1662, allocations: 6.6 MB / 414.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.941e-05/0.1663, allocations: 27.75 kB / 414.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.1666, allocations: 91.89 kB / 414.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.1687, allocations: 1.335 MB / 416 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.1796, allocations: 5.843 MB / 421.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.2114, allocations: 27.96 MB / 449.8 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/0.2177, allocations: 2.794 MB / 452.6 MB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2213/0.4391, allocations: 1.302 MB / 453.9 MB, free: 70.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.4399, allocations: 0.6294 MB / 454.5 MB, free: 70.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.44, allocations: 51.52 kB / 454.6 MB, free: 70.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.697e-06/0.44, allocations: 0.5 kB / 454.6 MB, free: 70.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.06709/0.5071, allocations: 21.02 MB / 475.6 MB, free: 62.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.5072, allocations: 175.1 kB / 475.7 MB, free: 62.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.5099, allocations: 2.801 MB / 478.5 MB, free: 59.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000308/0.5102, allocations: 53.73 kB / 478.6 MB, free: 59.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/0.511, allocations: 2.071 MB / 480.7 MB, free: 57.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/0.5115, allocations: 0.6313 MB / 481.3 MB, free: 57.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.5125, allocations: 0.9919 MB / 482.3 MB, free: 56.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.5126, allocations: 301.1 kB / 482.6 MB, free: 55.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.515, allocations: 2.231 MB / 484.8 MB, free: 53.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/0.5183, allocations: 5.152 MB / 490 MB, free: 46.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/0.5249, allocations: 7.981 MB / 497.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.668e-05/0.5251, allocations: 31.94 kB / 498 MB, free: 37.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02012/0.5452, allocations: 10.29 MB / 0.4964 GB, free: 27.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/0.5453, allocations: 56.16 kB / 0.4964 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.5454, allocations: 104.6 kB / 0.4965 GB, free: 26.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.5563, allocations: 3.425 MB / 0.4999 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.5595, allocations: 1.092 MB / 0.5009 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.5755, allocations: 12.85 MB / 0.5135 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.5795, allocations: 331.5 kB / 0.5138 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/0.5801, allocations: 307.9 kB / 0.5141 GB, free: 8.812 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.00184/0.5819, allocations: 1.464 MB / 0.5155 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/0.5824, allocations: 248.7 kB / 0.5157 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.5966, allocations: 6.005 MB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-05/0.5967, allocations: 31.98 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.5967, allocations: 8 kB / 0.5217 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/0.5968, allocations: 7.984 kB / 0.5217 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/0.6269, allocations: 13.2 MB / 0.5346 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.6269, allocations: 7.938 kB / 0.5346 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.6281, allocations: 227.7 kB / 0.5348 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/0.6409, allocations: 4.015 MB / 0.5387 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/0.6413, allocations: 47.95 kB / 0.5387 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.6608, allocations: 12.83 MB / 0.5513 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6609, allocations: 3.891 kB / 0.5513 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/0.683, allocations: 10.08 MB / 0.5611 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.6841, allocations: 313.6 kB / 0.5614 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/0.6853, allocations: 39.92 kB / 0.5615 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/0.6881, allocations: 187.5 kB / 0.5616 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007853/0.6889, allocations: 108.8 kB / 0.5617 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/0.6892, allocations: 51.97 kB / 0.5618 GB, free: 7.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004062/0.6933, allocations: 1.742 MB / 0.5635 GB, free: 5.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6933, allocations: 0 / 0.5635 GB, free: 5.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005596/0.6989, allocations: 0.8217 MB / 0.5643 GB, free: 5.09 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.0007218/0.6997, allocations: 161.5 kB / 0.5644 GB, free: 4.93 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.01199/0.7117, allocations: 6.279 MB / 0.5706 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.7117, allocations: 0 / 0.5706 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/0.7175, allocations: 2.89 MB / 0.5734 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.7202, allocations: 311.3 kB / 0.5737 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.732, allocations: 7.304 MB / 0.5808 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/0.7342, allocations: 2.334 MB / 0.5831 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003283/0.7375, allocations: 1.503 MB / 0.5846 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/0.7381, allocations: 191.4 kB / 0.5848 GB, free: 15.84 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7381, allocations: 4 kB / 0.5848 GB, free: 15.84 MB / 462.1 MB Notification: Performance of Templates: time 0.06802/0.8061, allocations: 38.74 MB / 0.6226 GB, free: 9.156 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)