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.001074/0.001074, allocations: 88.03 kB / 16.65 MB, free: 6.535 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.001235/0.001235, allocations: 177.9 kB / 17.56 MB, free: 6.18 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.433/1.433, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004761/0.0004761, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09607, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01281/0.1089, allocations: 13.44 MB / 341.8 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008773/0.1178, allocations: 4.36 MB / 346.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.1203, allocations: 51.88 kB / 346.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.1212, allocations: 278.8 kB / 346.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.1243, allocations: 1.277 MB / 347.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.1252, allocations: 483.3 kB / 348.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.1304, allocations: 4.494 MB / 352.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.1327, allocations: 1.65 MB / 354.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009938/0.1337, allocations: 0.6574 MB / 355 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.1352, allocations: 1.25 MB / 356.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.1354, allocations: 84 kB / 356.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.137, allocations: 0.9397 MB / 357.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009097/0.1379, allocations: 1.063 MB / 358.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.1389, allocations: 1.228 MB / 359.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.1429, allocations: 4.119 MB / 363.7 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1429, allocations: 0 / 363.7 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1429, allocations: 3.938 kB / 363.7 MB, free: 236 kB / 302.1 MB Notification: Performance of Transformations before backend: time 6.15e-05/0.143, allocations: 4 kB / 363.7 MB, free: 232 kB / 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.00618/0.1492, allocations: 2.739 MB / 366.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1492, allocations: 8.031 kB / 366.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/0.1551, allocations: 1.698 MB / 368.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.1579, allocations: 1.569 MB / 369.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.746e-05/0.158, allocations: 139.1 kB / 369.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.1583, allocations: 163.9 kB / 370 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008536/0.1669, allocations: 6.6 MB / 376.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/0.167, allocations: 35.64 kB / 376.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.1672, allocations: 87.89 kB / 376.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/0.1692, allocations: 1.323 MB / 378 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2171/0.3863, allocations: 5.839 MB / 383.9 MB, free: 30.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03128/0.4176, allocations: 28.1 MB / 412 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/0.4231, allocations: 2.756 MB / 414.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4244, allocations: 1.263 MB / 416 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.4249, allocations: 0.6337 MB / 416.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.425, allocations: 53.38 kB / 416.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.737e-06/0.425, allocations: 0 / 416.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06813/0.4931, allocations: 20.6 MB / 437.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.4932, allocations: 145.5 kB / 437.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.4971, allocations: 2.851 MB / 440.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003495/0.4974, allocations: 46.41 kB / 440.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.499, allocations: 2.103 MB / 442.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000644/0.4996, allocations: 0.6024 MB / 443 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/0.5002, allocations: 416.7 kB / 443.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5004, allocations: 301.1 kB / 443.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.5035, allocations: 2.225 MB / 445.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005179/0.5087, allocations: 5.189 MB / 451.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/0.5177, allocations: 7.985 MB / 459.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/0.5178, allocations: 32 kB / 459.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0248/0.5426, allocations: 10.33 MB / 469.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.5427, allocations: 55.97 kB / 469.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.5428, allocations: 108 kB / 469.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.5555, allocations: 3.5 MB / 473.1 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/0.5592, allocations: 1.108 MB / 474.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.579, allocations: 12.05 MB / 486.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/0.583, allocations: 332.8 kB / 486.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005903/0.5836, allocations: 304 kB / 486.9 MB, free: 2.523 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.002327/0.586, allocations: 1.471 MB / 488.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.5865, allocations: 248.7 kB / 488.6 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.6033, allocations: 6.031 MB / 494.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/0.6034, allocations: 20.75 kB / 494.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.6034, allocations: 11.94 kB / 494.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.6035, allocations: 3.984 kB / 494.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/0.6338, allocations: 13.22 MB / 0.496 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/0.6339, allocations: 0 / 0.496 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6351, allocations: 231.6 kB / 0.4962 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/0.6491, allocations: 4.132 MB / 0.5003 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/0.6495, allocations: 50.03 kB / 0.5003 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.6687, allocations: 12.1 MB / 0.5121 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6687, allocations: 3.938 kB / 0.5121 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/0.6898, allocations: 9.954 MB / 0.5219 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/0.6906, allocations: 313.6 kB / 0.5222 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.691, allocations: 36.77 kB / 0.5222 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.6927, allocations: 187.6 kB / 0.5224 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.6931, allocations: 105.8 kB / 0.5225 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6933, allocations: 52.59 kB / 0.5225 GB, free: 2.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002463/0.6957, allocations: 1.766 MB / 0.5243 GB, free: 312 kB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6958, allocations: 0 / 0.5243 GB, free: 312 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.1803/0.876, allocations: 0.8229 MB / 0.5251 GB, free: 148.3 MB / 430.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.000528/0.8766, allocations: 169 kB / 0.5252 GB, free: 148.2 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.01297/0.8896, allocations: 6.215 MB / 0.5313 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/0.8897, allocations: 0.9688 kB / 0.5313 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008051/0.8977, allocations: 2.866 MB / 0.5341 GB, free: 145.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.9011, allocations: 284.5 kB / 0.5344 GB, free: 145.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.9168, allocations: 8.682 MB / 0.5428 GB, free: 141.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/0.9199, allocations: 2.324 MB / 0.5451 GB, free: 140.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005116/0.925, allocations: 1.526 MB / 0.5466 GB, free: 140.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/0.9257, allocations: 199.3 kB / 0.5468 GB, free: 140.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/0.9257, allocations: 0 / 0.5468 GB, free: 140.1 MB / 430.1 MB Notification: Performance of Templates: time 0.0595/0.9853, allocations: 39.21 MB / 0.5851 GB, free: 106.8 MB / 430.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)