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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.413/1.413, allocations: 205.1 MB / 222 MB, free: 4.73 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.00117/0.00117, allocations: 47.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2668, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0146/0.2815, allocations: 14.03 MB / 338.7 MB, free: 6.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009871/0.2914, allocations: 4.398 MB / 343.1 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.2947, allocations: 55.88 kB / 343.2 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.2968, allocations: 0.8725 MB / 344 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.3009, allocations: 1.285 MB / 345.3 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3023, allocations: 483.3 kB / 345.8 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00588/0.3082, allocations: 4.498 MB / 350.3 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.3102, allocations: 1.267 MB / 351.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3114, allocations: 0.7119 MB / 352.3 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.3131, allocations: 1.304 MB / 353.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.3134, allocations: 108 kB / 353.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.3153, allocations: 0.9593 MB / 354.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3166, allocations: 1.087 MB / 355.7 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.318, allocations: 1.246 MB / 357 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.3225, allocations: 4.211 MB / 361.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3225, allocations: 0 / 361.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3226, allocations: 0 / 361.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.053e-05/0.3226, allocations: 0 / 361.2 MB, free: 15.55 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.008102/0.3308, allocations: 3.261 MB / 364.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/0.3308, allocations: 8.031 kB / 364.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005608/0.3365, allocations: 1.659 MB / 366.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.3405, allocations: 1.558 MB / 367.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.3407, allocations: 135.1 kB / 367.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.3412, allocations: 167.8 kB / 368 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.352, allocations: 6.596 MB / 374.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.273e-05/0.3521, allocations: 35.59 kB / 374.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.3524, allocations: 91.89 kB / 374.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/0.3543, allocations: 1.331 MB / 376 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.3642, allocations: 5.832 MB / 381.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/0.3988, allocations: 28.09 MB / 409.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/0.4051, allocations: 2.74 MB / 412.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.4069, allocations: 1.27 MB / 413.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009914/0.4079, allocations: 0.6278 MB / 414.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.408, allocations: 59 kB / 414.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.176e-06/0.408, allocations: 0 / 414.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07305/0.4811, allocations: 20.55 MB / 435.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4812, allocations: 141.5 kB / 435.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/0.4865, allocations: 2.844 MB / 438.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/0.4869, allocations: 45.7 kB / 438.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.4889, allocations: 2.106 MB / 440.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009667/0.4898, allocations: 0.6056 MB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.4918, allocations: 1.007 MB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.4919, allocations: 305.1 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/0.4953, allocations: 2.219 MB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/0.5016, allocations: 5.193 MB / 449.6 MB, free: 3.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1932/0.6948, allocations: 7.973 MB / 457.6 MB, free: 104.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.861e-05/0.6949, allocations: 35.56 kB / 457.6 MB, free: 104.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02111/0.716, allocations: 10.3 MB / 467.9 MB, free: 101.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/0.7161, allocations: 46.97 kB / 468 MB, free: 101.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/0.7162, allocations: 105.6 kB / 468.1 MB, free: 101.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.727, allocations: 3.431 MB / 471.5 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/0.7303, allocations: 1.106 MB / 472.6 MB, free: 99.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.7458, allocations: 12.01 MB / 484.6 MB, free: 88.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.7502, allocations: 331 kB / 485 MB, free: 88.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009102/0.7511, allocations: 311.9 kB / 485.3 MB, free: 87.79 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.002577/0.7537, allocations: 1.471 MB / 486.7 MB, free: 86.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.7544, allocations: 252 kB / 487 MB, free: 86.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.7683, allocations: 6.004 MB / 493 MB, free: 80.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/0.7684, allocations: 16 kB / 493 MB, free: 80.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-05/0.7684, allocations: 11.81 kB / 493 MB, free: 80.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.7684, allocations: 11.97 kB / 493 MB, free: 80.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/0.7936, allocations: 13.18 MB / 0.4943 GB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.7936, allocations: 4 kB / 0.4943 GB, free: 66.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.7947, allocations: 227.7 kB / 0.4946 GB, free: 66.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/0.8058, allocations: 4.019 MB / 0.4985 GB, free: 62.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/0.8062, allocations: 43.95 kB / 0.4985 GB, free: 62.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.8211, allocations: 12.02 MB / 0.5103 GB, free: 50.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8212, allocations: 0 / 0.5103 GB, free: 50.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/0.8391, allocations: 9.886 MB / 0.5199 GB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.8397, allocations: 305.7 kB / 0.5202 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/0.8404, allocations: 31.98 kB / 0.5202 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.8422, allocations: 195.4 kB / 0.5204 GB, free: 40.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/0.8427, allocations: 112.8 kB / 0.5205 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.8429, allocations: 56.78 kB / 0.5206 GB, free: 39.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002261/0.8451, allocations: 1.76 MB / 0.5223 GB, free: 38.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8451, allocations: 4 kB / 0.5223 GB, free: 38.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003436/0.8486, allocations: 0.8294 MB / 0.5231 GB, free: 37.33 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 (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.0004099/0.849, allocations: 163.2 kB / 0.5233 GB, free: 37.16 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.008304/0.8573, allocations: 6.22 MB / 0.5294 GB, free: 30.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8573, allocations: 3.938 kB / 0.5294 GB, free: 30.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004335/0.8617, allocations: 2.857 MB / 0.5321 GB, free: 27.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.8638, allocations: 283.5 kB / 0.5324 GB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.8738, allocations: 8.535 MB / 0.5408 GB, free: 18.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.8759, allocations: 2.318 MB / 0.543 GB, free: 16.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.8791, allocations: 1.527 MB / 0.5445 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.8797, allocations: 199.3 kB / 0.5447 GB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8797, allocations: 0 / 0.5447 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.05783/0.9376, allocations: 39.68 MB / 0.5834 GB, free: 7.223 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)