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.0012/0.0012, allocations: 96.12 kB / 16.3 MB, free: 5.543 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.001381/0.001381, allocations: 183.7 kB / 17.2 MB, free: 5.477 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.605/1.605, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0005238/0.000524, allocations: 20 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01251/0.125, allocations: 11.91 MB / 339.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008748/0.1338, allocations: 4.167 MB / 343.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.1363, allocations: 59.81 kB / 343.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.1382, allocations: 0.5327 MB / 344.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006118/0.1444, allocations: 1.948 MB / 346.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1456, allocations: 439.2 kB / 346.7 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02069/0.1663, allocations: 13.68 MB / 360.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.1693, allocations: 1.541 MB / 362 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1704, allocations: 0.6229 MB / 362.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.1715, allocations: 0.9035 MB / 363.5 MB, free: 196 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.1718, allocations: 88 kB / 363.6 MB, free: 108 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.1733, allocations: 0.7489 MB / 364.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009129/0.1742, allocations: 0.9702 MB / 365.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.1747, allocations: 0.5079 MB / 365.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.1787, allocations: 3.352 MB / 369.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1787, allocations: 4 kB / 369.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1787, allocations: 0 / 369.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.1789, allocations: 0 / 369.2 MB, free: 10.5 MB / 318.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.006659/0.1855, allocations: 2.785 MB / 371.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1856, allocations: 8.031 kB / 372 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007215/0.1928, allocations: 1.993 MB / 373.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.1973, allocations: 1.752 MB / 375.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1975, allocations: 123.2 kB / 375.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.1979, allocations: 167.9 kB / 376 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2156/0.4135, allocations: 6.628 MB / 382.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.4137, allocations: 34.33 kB / 382.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005307/0.4143, allocations: 89.53 kB / 382.7 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00245/0.4167, allocations: 1.33 MB / 384.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.4285, allocations: 5.877 MB / 389.9 MB, free: 44.79 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.03484/0.4634, allocations: 28.21 MB / 418.1 MB, free: 22.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/0.4687, allocations: 2.761 MB / 420.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.4693, allocations: 0.6303 MB / 421.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4694, allocations: 51.25 kB / 421.6 MB, free: 18.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.717e-06/0.4694, allocations: 0 / 421.6 MB, free: 18.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06483/0.5342, allocations: 20.92 MB / 442.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.5344, allocations: 153.4 kB / 442.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004507/0.5389, allocations: 2.968 MB / 445.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.5393, allocations: 53.7 kB / 445.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.5411, allocations: 2.102 MB / 447.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/0.542, allocations: 0.5993 MB / 448.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5423, allocations: 96 kB / 448.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003513/0.5426, allocations: 0.5126 MB / 449 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/0.546, allocations: 2.19 MB / 451.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005606/0.5516, allocations: 5.144 MB / 456.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.5566, allocations: 3.29 MB / 459.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.372e-05/0.5567, allocations: 32 kB / 459.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02597/0.5827, allocations: 10.27 MB / 469.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.5828, allocations: 52 kB / 470 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.5829, allocations: 104 kB / 470.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.5954, allocations: 3.508 MB / 473.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/0.5996, allocations: 1.103 MB / 474.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.6201, allocations: 12.46 MB / 487.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004608/0.6247, allocations: 331.4 kB / 487.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.6258, allocations: 308 kB / 487.8 MB, free: 14.6 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.003534/0.6294, allocations: 1.468 MB / 489.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.6301, allocations: 248.8 kB / 489.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.6469, allocations: 6.023 MB / 495.5 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.889e-05/0.647, allocations: 20 kB / 495.5 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/0.6471, allocations: 11.83 kB / 495.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.6471, allocations: 11.92 kB / 495.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03453/0.6817, allocations: 13.24 MB / 0.4968 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/0.6817, allocations: 0 / 0.4968 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.683, allocations: 227.7 kB / 0.4971 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.6961, allocations: 4.139 MB / 0.5011 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/0.6966, allocations: 47.95 kB / 0.5012 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.7162, allocations: 12.52 MB / 0.5134 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7163, allocations: 4.062 kB / 0.5134 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2124/0.9287, allocations: 9.984 MB / 0.5231 GB, free: 130.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.9298, allocations: 313.7 kB / 0.5234 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/0.9308, allocations: 36.94 kB / 0.5235 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.9332, allocations: 187.2 kB / 0.5236 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/0.9338, allocations: 114.1 kB / 0.5238 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/0.9341, allocations: 51.5 kB / 0.5238 GB, free: 130.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003682/0.9378, allocations: 1.864 MB / 0.5256 GB, free: 130.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9378, allocations: 0 / 0.5256 GB, free: 130.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004821/0.9427, allocations: 0.8497 MB / 0.5265 GB, free: 130.3 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 (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.0006525/0.9433, allocations: 176.6 kB / 0.5266 GB, free: 130.2 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.01146/0.9548, allocations: 6.183 MB / 0.5327 GB, free: 127.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.9548, allocations: 3.625 kB / 0.5327 GB, free: 127.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005166/0.96, allocations: 2.852 MB / 0.5354 GB, free: 126.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.962, allocations: 277.8 kB / 0.5357 GB, free: 126.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.9736, allocations: 8.354 MB / 0.5439 GB, free: 122.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.9761, allocations: 2.379 MB / 0.5462 GB, free: 121.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00332/0.9794, allocations: 1.532 MB / 0.5477 GB, free: 121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.98, allocations: 189.2 kB / 0.5479 GB, free: 120.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.98, allocations: 0 / 0.5479 GB, free: 120.9 MB / 414.1 MB Notification: Performance of Templates: time 0.05513/1.035, allocations: 39.1 MB / 0.5861 GB, free: 86.31 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: