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.001244/0.001244, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001356/0.001356, allocations: 177.3 kB / 15.95 MB, free: 216 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.709/1.709, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004866/0.0004866, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01278/0.2798, allocations: 11.91 MB / 338.4 MB, free: 7.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.2898, allocations: 4.159 MB / 342.5 MB, free: 3.445 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.2923, allocations: 51.88 kB / 342.6 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.2937, allocations: 0.5405 MB / 343.1 MB, free: 2.852 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.2991, allocations: 1.936 MB / 345 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3001, allocations: 435.3 kB / 345.5 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01988/0.32, allocations: 13.68 MB / 359.2 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.3228, allocations: 1.541 MB / 360.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3239, allocations: 0.6229 MB / 361.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.325, allocations: 0.9034 MB / 362.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.3252, allocations: 95.94 kB / 362.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.3266, allocations: 0.7489 MB / 363.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008019/0.3274, allocations: 0.9663 MB / 364 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.3279, allocations: 0.5079 MB / 364.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.3309, allocations: 3.361 MB / 367.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3309, allocations: 0 / 367.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3309, allocations: 0 / 367.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.135e-05/0.331, allocations: 0 / 367.9 MB, free: 9.98 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.005666/0.3367, allocations: 2.785 MB / 370.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3367, allocations: 12.03 kB / 370.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/0.3434, allocations: 1.989 MB / 372.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.3471, allocations: 1.756 MB / 374.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.3472, allocations: 127.2 kB / 374.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.3476, allocations: 171.8 kB / 374.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009807/0.3574, allocations: 6.631 MB / 381.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.152e-05/0.3575, allocations: 35.64 kB / 381.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.3578, allocations: 87.89 kB / 381.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/0.3599, allocations: 1.331 MB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.37, allocations: 5.871 MB / 388.7 MB, free: 4.543 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.4052, allocations: 28.22 MB / 416.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006206/0.4115, allocations: 2.76 MB / 419.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008006/0.4123, allocations: 0.6356 MB / 420.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4124, allocations: 47.12 kB / 420.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.088e-06/0.4124, allocations: 0 / 420.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.08653/0.4989, allocations: 20.92 MB / 441.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.4991, allocations: 141.5 kB / 441.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006662/0.5057, allocations: 2.966 MB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004531/0.5062, allocations: 49.7 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.5085, allocations: 2.106 MB / 446.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.5097, allocations: 0.6056 MB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/0.5103, allocations: 96 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005106/0.5108, allocations: 0.5126 MB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/0.5163, allocations: 2.192 MB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2529/0.7692, allocations: 5.138 MB / 455.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/0.7755, allocations: 3.289 MB / 458.4 MB, free: 107.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/0.7756, allocations: 29.94 kB / 458.4 MB, free: 107.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02286/0.7985, allocations: 10.27 MB / 468.7 MB, free: 104.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.7987, allocations: 47.36 kB / 468.7 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.7988, allocations: 105 kB / 468.8 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.8102, allocations: 3.512 MB / 472.3 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/0.8138, allocations: 1.103 MB / 473.4 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.8298, allocations: 12.45 MB / 485.9 MB, free: 89.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/0.8337, allocations: 337.5 kB / 486.2 MB, free: 89.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007962/0.8346, allocations: 307.9 kB / 486.5 MB, free: 89.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 (581): * Single equations (assignments): 571 * 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.002473/0.837, allocations: 1.468 MB / 488 MB, free: 87.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.8376, allocations: 254.8 kB / 488.2 MB, free: 87.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.8514, allocations: 6.032 MB / 494.3 MB, free: 81.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.8515, allocations: 16.94 kB / 494.3 MB, free: 81.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/0.8515, allocations: 8 kB / 494.3 MB, free: 81.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/0.8515, allocations: 18.22 kB / 494.3 MB, free: 81.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/0.8782, allocations: 13.21 MB / 0.4956 GB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.8782, allocations: 3.938 kB / 0.4956 GB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.8793, allocations: 231.7 kB / 0.4958 GB, free: 68.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/0.8908, allocations: 4.139 MB / 0.4999 GB, free: 64.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/0.8911, allocations: 41.7 kB / 0.4999 GB, free: 63.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.9064, allocations: 12.53 MB / 0.5122 GB, free: 51.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9064, allocations: 4 kB / 0.5122 GB, free: 51.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/0.9242, allocations: 9.989 MB / 0.5219 GB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.925, allocations: 317.6 kB / 0.5222 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.9254, allocations: 32 kB / 0.5223 GB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.927, allocations: 188.7 kB / 0.5224 GB, free: 40.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.9273, allocations: 108.8 kB / 0.5225 GB, free: 40.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.9275, allocations: 48.91 kB / 0.5226 GB, free: 40.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.9297, allocations: 1.857 MB / 0.5244 GB, free: 38.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9297, allocations: 7.938 kB / 0.5244 GB, free: 38.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003606/0.9333, allocations: 0.8462 MB / 0.5252 GB, free: 37.86 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.000399/0.9337, allocations: 172.4 kB / 0.5254 GB, free: 37.68 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.008461/0.9422, allocations: 6.186 MB / 0.5314 GB, free: 31.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9422, allocations: 4 kB / 0.5314 GB, free: 31.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004275/0.9465, allocations: 2.863 MB / 0.5342 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.9479, allocations: 263.8 kB / 0.5345 GB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009703/0.9576, allocations: 8.355 MB / 0.5426 GB, free: 19.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.9593, allocations: 2.383 MB / 0.545 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003164/0.9625, allocations: 1.527 MB / 0.5465 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/0.963, allocations: 195.3 kB / 0.5467 GB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.963, allocations: 0 / 0.5467 GB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.06076/1.024, allocations: 39.1 MB / 0.5848 GB, free: 8.484 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: