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.001864/0.001864, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002309/0.002309, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.619/1.619, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.002082/0.002082, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2673, allocations: 46.63 MB / 324.8 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01706/0.2844, allocations: 14.03 MB / 338.9 MB, free: 6.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.2955, allocations: 4.309 MB / 343.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.2992, allocations: 55.88 kB / 343.2 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.3013, allocations: 0.8412 MB / 344.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.3047, allocations: 1.293 MB / 345.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3057, allocations: 0.4953 MB / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.31, allocations: 3.527 MB / 349.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.3122, allocations: 1.4 MB / 350.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.3137, allocations: 0.8368 MB / 351.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.3153, allocations: 1.386 MB / 353 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.3156, allocations: 180 kB / 353.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3172, allocations: 0.9828 MB / 354.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3182, allocations: 1.157 MB / 355.3 MB, free: 5.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.3195, allocations: 1.332 MB / 356.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.3241, allocations: 4.297 MB / 361 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3241, allocations: 0 / 361 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3241, allocations: 0 / 361 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.844e-05/0.3242, allocations: 0 / 361 MB, free: 15.97 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.007226/0.3315, allocations: 3.269 MB / 364.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3315, allocations: 8.031 kB / 364.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.3373, allocations: 1.655 MB / 365.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.3401, allocations: 1.55 MB / 367.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/0.3402, allocations: 135.1 kB / 367.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.3405, allocations: 167.8 kB / 367.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.3509, allocations: 6.596 MB / 374.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/0.351, allocations: 43.59 kB / 374.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.3513, allocations: 83.89 kB / 374.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/0.3532, allocations: 1.331 MB / 375.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.3638, allocations: 5.836 MB / 381.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.3959, allocations: 28.09 MB / 409.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005674/0.4016, allocations: 2.736 MB / 412.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.4031, allocations: 1.274 MB / 413.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.4038, allocations: 0.6317 MB / 414.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4038, allocations: 51.06 kB / 414.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.998e-06/0.4038, allocations: 0 / 414.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07133/0.4752, allocations: 20.55 MB / 435 MB, free: 4.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.4753, allocations: 149.5 kB / 435.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.4792, allocations: 2.844 MB / 437.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003166/0.4795, allocations: 49.7 kB / 438 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4811, allocations: 2.102 MB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/0.482, allocations: 0.5978 MB / 440.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.4833, allocations: 1.007 MB / 441.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4834, allocations: 309.1 kB / 442 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/0.4866, allocations: 2.219 MB / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/0.4916, allocations: 5.185 MB / 449.4 MB, free: 4.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1996/0.6913, allocations: 7.985 MB / 457.4 MB, free: 104.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.525e-05/0.6914, allocations: 30.19 kB / 457.4 MB, free: 104.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02399/0.7154, allocations: 10.3 MB / 467.7 MB, free: 101.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.288e-05/0.7155, allocations: 51.06 kB / 467.8 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.7156, allocations: 105.9 kB / 467.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.7266, allocations: 3.434 MB / 471.3 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.73, allocations: 1.107 MB / 472.4 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.7455, allocations: 12.87 MB / 485.3 MB, free: 87.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.7494, allocations: 334.9 kB / 485.6 MB, free: 87.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006817/0.7501, allocations: 301.2 kB / 485.9 MB, free: 87.3 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.002259/0.7523, allocations: 1.48 MB / 487.4 MB, free: 85.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006553/0.753, allocations: 247.5 kB / 487.6 MB, free: 85.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.7679, allocations: 6.003 MB / 493.6 MB, free: 79.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.439e-05/0.768, allocations: 19.52 kB / 493.7 MB, free: 79.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/0.768, allocations: 12 kB / 493.7 MB, free: 79.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/0.7681, allocations: 8.672 kB / 493.7 MB, free: 79.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/0.7999, allocations: 13.18 MB / 0.495 GB, free: 66.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.8, allocations: 0.9844 kB / 0.495 GB, free: 66.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.8011, allocations: 231.6 kB / 0.4952 GB, free: 66.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01142/0.8126, allocations: 4.015 MB / 0.4991 GB, free: 62.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003962/0.813, allocations: 54.7 kB / 0.4992 GB, free: 62.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/0.8281, allocations: 12.82 MB / 0.5117 GB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8282, allocations: 4 kB / 0.5117 GB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/0.8458, allocations: 9.891 MB / 0.5214 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.8464, allocations: 309.7 kB / 0.5217 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.8468, allocations: 35.98 kB / 0.5217 GB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.8484, allocations: 187.7 kB / 0.5219 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/0.8488, allocations: 104.8 kB / 0.522 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.849, allocations: 47.97 kB / 0.522 GB, free: 38.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001985/0.8509, allocations: 1.766 MB / 0.5237 GB, free: 36.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.851, allocations: 0 / 0.5237 GB, free: 36.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003419/0.8544, allocations: 0.8266 MB / 0.5245 GB, free: 36.02 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.0004077/0.8548, allocations: 166.7 kB / 0.5247 GB, free: 35.85 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.009644/0.8644, allocations: 6.77 MB / 0.5313 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.8645, allocations: 4 kB / 0.5313 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004281/0.8688, allocations: 2.858 MB / 0.5341 GB, free: 25.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.8709, allocations: 295.5 kB / 0.5344 GB, free: 25.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009819/0.8807, allocations: 8.536 MB / 0.5427 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.8824, allocations: 2.322 MB / 0.545 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003055/0.8855, allocations: 1.527 MB / 0.5465 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.8859, allocations: 191.4 kB / 0.5467 GB, free: 13.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.886, allocations: 0 / 0.5467 GB, free: 13.06 MB / 382.1 MB Notification: Performance of Templates: time 0.06472/0.9507, allocations: 41.18 MB / 0.5869 GB, free: 3.883 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)