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.001138/0.001138, allocations: 109.1 kB / 16.62 MB, free: 6.816 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.001147/0.001147, allocations: 189.9 kB / 17.55 MB, free: 5.949 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.424/1.424, allocations: 205.1 MB / 223.4 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.00113/0.001129, allocations: 47.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0146/0.1221, allocations: 14.02 MB / 340.2 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009619/0.1318, allocations: 4.32 MB / 344.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.1348, allocations: 51.88 kB / 344.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.1369, allocations: 0.849 MB / 345.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1403, allocations: 1.285 MB / 346.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1414, allocations: 0.4915 MB / 347.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004203/0.1456, allocations: 3.535 MB / 350.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.1474, allocations: 1.4 MB / 352.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1487, allocations: 0.8407 MB / 352.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1503, allocations: 1.383 MB / 354.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.1506, allocations: 180 kB / 354.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.1523, allocations: 0.9789 MB / 355.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.1534, allocations: 1.161 MB / 356.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.1547, allocations: 1.324 MB / 358 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.1594, allocations: 4.296 MB / 362.2 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1594, allocations: 4 kB / 362.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1594, allocations: 4 kB / 362.3 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.392e-05/0.1595, allocations: 0 / 362.3 MB, free: 0.5352 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.007576/0.1671, allocations: 3.265 MB / 365.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1671, allocations: 12.03 kB / 365.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.1729, allocations: 1.655 MB / 367.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.1761, allocations: 1.554 MB / 368.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.1762, allocations: 131.1 kB / 368.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.1766, allocations: 167.8 kB / 369 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.1876, allocations: 6.6 MB / 375.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/0.1878, allocations: 39.64 kB / 375.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.188, allocations: 87.89 kB / 375.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/0.1902, allocations: 1.327 MB / 377.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2091/0.3993, allocations: 5.832 MB / 382.9 MB, free: 49.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02897/0.4283, allocations: 28.07 MB / 411 MB, free: 28.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/0.4335, allocations: 2.746 MB / 413.7 MB, free: 26.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.4347, allocations: 1.268 MB / 415 MB, free: 25.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.4352, allocations: 0.6426 MB / 415.6 MB, free: 24.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.4352, allocations: 47.12 kB / 415.7 MB, free: 24.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.118e-06/0.4352, allocations: 0 / 415.7 MB, free: 24.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06423/0.4995, allocations: 20.54 MB / 436.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.4996, allocations: 149.5 kB / 436.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.5029, allocations: 2.844 MB / 439.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003212/0.5032, allocations: 49.7 kB / 439.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5046, allocations: 2.103 MB / 441.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000786/0.5054, allocations: 0.6082 MB / 442 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.5068, allocations: 0.9997 MB / 443 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5069, allocations: 309.1 kB / 443.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.5101, allocations: 2.215 MB / 445.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/0.5159, allocations: 5.193 MB / 450.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5263, allocations: 7.986 MB / 458.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-05/0.5265, allocations: 32 kB / 458.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02586/0.5523, allocations: 10.3 MB / 469 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.5525, allocations: 52.06 kB / 469.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.5526, allocations: 108 kB / 469.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/0.5643, allocations: 3.439 MB / 472.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.5679, allocations: 1.103 MB / 473.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.587, allocations: 12.86 MB / 486.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.5911, allocations: 343.3 kB / 486.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/0.5918, allocations: 300 kB / 487.2 MB, free: 13.52 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.002696/0.5945, allocations: 1.481 MB / 488.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.5951, allocations: 244.8 kB / 488.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/0.611, allocations: 5.998 MB / 494.9 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.396e-05/0.6111, allocations: 23.98 kB / 494.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/0.6112, allocations: 12 kB / 494.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/0.6112, allocations: 7.969 kB / 495 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0293/0.6405, allocations: 13.18 MB / 0.4962 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-05/0.6406, allocations: 0 / 0.4962 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.6418, allocations: 235.6 kB / 0.4964 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01273/0.6545, allocations: 4.02 MB / 0.5004 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/0.6549, allocations: 47.95 kB / 0.5004 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/0.6738, allocations: 12.83 MB / 0.5129 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6738, allocations: 0 / 0.5129 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2273/0.9012, allocations: 9.897 MB / 0.5226 GB, free: 132 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/0.902, allocations: 300.8 kB / 0.5229 GB, free: 131.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/0.9026, allocations: 37.55 kB / 0.5229 GB, free: 131.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.9044, allocations: 188 kB / 0.5231 GB, free: 131.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/0.9049, allocations: 106.2 kB / 0.5232 GB, free: 131.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.905, allocations: 46.73 kB / 0.5233 GB, free: 131.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003408/0.9085, allocations: 1.764 MB / 0.525 GB, free: 131.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.9085, allocations: 0 / 0.525 GB, free: 131.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004883/0.9134, allocations: 0.8333 MB / 0.5258 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.0005744/0.9139, allocations: 160.3 kB / 0.526 GB, free: 131.6 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.01317/0.9271, allocations: 6.769 MB / 0.5326 GB, free: 129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9272, allocations: 0 / 0.5326 GB, free: 129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004626/0.9318, allocations: 2.865 MB / 0.5354 GB, free: 127.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.934, allocations: 306.2 kB / 0.5357 GB, free: 127.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.9452, allocations: 8.532 MB / 0.544 GB, free: 123 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.9471, allocations: 2.325 MB / 0.5463 GB, free: 122 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003233/0.9503, allocations: 1.531 MB / 0.5477 GB, free: 121.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.9508, allocations: 185 kB / 0.5479 GB, free: 121.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.9508, allocations: 3.938 kB / 0.5479 GB, free: 121.8 MB / 414.1 MB Notification: Performance of Templates: time 0.05445/1.005, allocations: 41.18 MB / 0.5881 GB, free: 83.06 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)