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.0008532/0.0008533, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009181/0.0009181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005107/0.0005107, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2746, allocations: 47.58 MB / 326.5 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01226/0.2869, allocations: 12.57 MB / 339 MB, free: 7.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008902/0.2959, allocations: 4.057 MB / 343.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.2984, allocations: 55.81 kB / 343.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3003, allocations: 0.6027 MB / 343.8 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.3063, allocations: 2.172 MB / 345.9 MB, free: 160 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3077, allocations: 435.3 kB / 346.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02621/0.3339, allocations: 17.65 MB / 364 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.3371, allocations: 1.541 MB / 365.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3388, allocations: 0.7511 MB / 366.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.3412, allocations: 1.235 MB / 367.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006611/0.3418, allocations: 84 kB / 367.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.344, allocations: 0.78 MB / 368.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.3457, allocations: 1.036 MB / 369.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.3466, allocations: 0.5079 MB / 369.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.3508, allocations: 3.345 MB / 373.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3508, allocations: 4 kB / 373.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3508, allocations: 0 / 373.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.351, allocations: 0 / 373.3 MB, free: 4.711 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.007171/0.3581, allocations: 2.766 MB / 376.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3582, allocations: 8.031 kB / 376.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/0.3641, allocations: 1.704 MB / 377.8 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.3673, allocations: 1.533 MB / 379.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3675, allocations: 131.1 kB / 379.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.3678, allocations: 167.9 kB / 379.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.378, allocations: 6.596 MB / 386.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.3781, allocations: 35.66 kB / 386.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3784, allocations: 87.89 kB / 386.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/0.3803, allocations: 1.327 MB / 387.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.3916, allocations: 5.82 MB / 393.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.4267, allocations: 28.09 MB / 421.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/0.433, allocations: 2.752 MB / 424.3 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4347, allocations: 1.266 MB / 425.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007388/0.4355, allocations: 0.6317 MB / 426.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.4356, allocations: 51.06 kB / 426.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 6.061e-06/0.4356, allocations: 3.938 kB / 426.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06642/0.502, allocations: 20.58 MB / 446.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.5022, allocations: 153.5 kB / 447 MB, free: 9.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/0.5063, allocations: 2.832 MB / 449.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003988/0.5068, allocations: 45.7 kB / 449.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.5083, allocations: 2.098 MB / 452 MB, free: 4.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007993/0.5091, allocations: 0.6016 MB / 452.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5094, allocations: 100 kB / 452.7 MB, free: 3.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.5097, allocations: 0.5166 MB / 453.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.5128, allocations: 2.204 MB / 455.4 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.209/0.7218, allocations: 5.17 MB / 460.5 MB, free: 109.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/0.7274, allocations: 3.295 MB / 463.8 MB, free: 108.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.376e-05/0.7275, allocations: 30.88 kB / 463.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02767/0.7552, allocations: 10.29 MB / 474.2 MB, free: 105.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/0.7556, allocations: 55.34 kB / 474.2 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003343/0.7559, allocations: 105.6 kB / 474.3 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/0.7703, allocations: 3.508 MB / 477.8 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/0.7753, allocations: 1.103 MB / 478.9 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.7954, allocations: 12.05 MB / 491 MB, free: 88.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/0.7995, allocations: 326.5 kB / 491.3 MB, free: 88.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/0.8005, allocations: 311.8 kB / 491.6 MB, free: 88.28 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.003725/0.8043, allocations: 1.463 MB / 493.1 MB, free: 86.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000829/0.8051, allocations: 251.2 kB / 493.3 MB, free: 86.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/0.8195, allocations: 6.028 MB / 499.3 MB, free: 80.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/0.8196, allocations: 20 kB / 499.4 MB, free: 80.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/0.8196, allocations: 8 kB / 499.4 MB, free: 80.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/0.8196, allocations: 11.92 kB / 499.4 MB, free: 80.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02629/0.8459, allocations: 13.2 MB / 0.5006 GB, free: 67.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.846, allocations: 0 / 0.5006 GB, free: 67.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.8471, allocations: 236.5 kB / 0.5008 GB, free: 67.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/0.8579, allocations: 4.134 MB / 0.5048 GB, free: 63.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003123/0.8582, allocations: 48.66 kB / 0.5049 GB, free: 63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.8735, allocations: 12.09 MB / 0.5167 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8735, allocations: 4 kB / 0.5167 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/0.8914, allocations: 9.926 MB / 0.5264 GB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/0.8922, allocations: 313.6 kB / 0.5267 GB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007381/0.893, allocations: 35.98 kB / 0.5267 GB, free: 40.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.8948, allocations: 188.7 kB / 0.5269 GB, free: 40.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.8953, allocations: 112.8 kB / 0.527 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.8954, allocations: 53.14 kB / 0.5271 GB, free: 40.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003017/0.8985, allocations: 1.747 MB / 0.5288 GB, free: 38.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8985, allocations: 0 / 0.5288 GB, free: 38.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004611/0.9031, allocations: 0.832 MB / 0.5296 GB, free: 37.52 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.0005401/0.9037, allocations: 166.9 kB / 0.5297 GB, free: 37.35 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.009134/0.9128, allocations: 6.202 MB / 0.5358 GB, free: 31.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9128, allocations: 0 / 0.5358 GB, free: 31.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004218/0.917, allocations: 2.858 MB / 0.5386 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.9194, allocations: 284.1 kB / 0.5388 GB, free: 27.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.9307, allocations: 8.401 MB / 0.5471 GB, free: 19.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.9327, allocations: 2.315 MB / 0.5493 GB, free: 16.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00314/0.9358, allocations: 1.527 MB / 0.5508 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.9363, allocations: 195.4 kB / 0.551 GB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.9363, allocations: 0 / 0.551 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Templates: time 0.06215/0.9984, allocations: 38.5 MB / 0.5886 GB, free: 8.746 MB / 414.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)