Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001026/0.001026, allocations: 99.55 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.001077/0.001078, allocations: 177.3 kB / 15.94 MB, free: 228 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005306/0.0005307, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 47.59 MB / 326.5 MB, free: 1.652 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01169/0.2573, allocations: 11.91 MB / 338.4 MB, free: 7.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009642/0.267, allocations: 4.159 MB / 342.5 MB, free: 3.531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.2708, allocations: 51.88 kB / 342.6 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.2734, allocations: 0.5444 MB / 343.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007689/0.2811, allocations: 1.936 MB / 345.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.2829, allocations: 431.3 kB / 345.5 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.02595/0.3088, allocations: 13.68 MB / 359.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005315/0.3142, allocations: 1.529 MB / 360.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.3162, allocations: 0.6229 MB / 361.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.3184, allocations: 0.9035 MB / 362.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006337/0.319, allocations: 84 kB / 362.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.3215, allocations: 0.7605 MB / 363.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.3234, allocations: 0.9741 MB / 364 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3245, allocations: 0.5079 MB / 364.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.3297, allocations: 3.353 MB / 367.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3297, allocations: 3.938 kB / 367.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3298, allocations: 0 / 367.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001736/0.3299, allocations: 0 / 367.9 MB, free: 10.08 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.008529/0.3385, allocations: 2.801 MB / 370.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3385, allocations: 8.031 kB / 370.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007396/0.3459, allocations: 1.985 MB / 372.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.3498, allocations: 1.756 MB / 374.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3499, allocations: 119.2 kB / 374.6 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006929/0.3506, allocations: 179.8 kB / 374.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3608, allocations: 6.624 MB / 381.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-05/0.3609, allocations: 43.64 kB / 381.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.3613, allocations: 83.89 kB / 381.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/0.3633, allocations: 1.335 MB / 382.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00985/0.3732, allocations: 5.871 MB / 388.7 MB, free: 4.637 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.03294/0.4061, allocations: 28.22 MB / 416.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/0.4122, allocations: 2.76 MB / 419.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.4129, allocations: 0.6317 MB / 420.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.413, allocations: 47.06 kB / 420.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.097e-06/0.413, allocations: 0 / 420.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07005/0.4831, allocations: 20.93 MB / 441.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.4832, allocations: 141.5 kB / 441.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/0.4877, allocations: 2.97 MB / 444.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.488, allocations: 49.7 kB / 444.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.4898, allocations: 2.102 MB / 446.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009092/0.4908, allocations: 0.598 MB / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.4912, allocations: 96 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003994/0.4916, allocations: 0.5204 MB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/0.4958, allocations: 2.188 MB / 449.9 MB, free: 5.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1833/0.6791, allocations: 5.14 MB / 455.1 MB, free: 108.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.685, allocations: 3.29 MB / 458.4 MB, free: 107.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.434e-05/0.6852, allocations: 29.56 kB / 458.4 MB, free: 107.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02213/0.7073, allocations: 10.27 MB / 468.7 MB, free: 104.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.7074, allocations: 50.97 kB / 468.7 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.721e-05/0.7075, allocations: 105.2 kB / 468.8 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.7185, allocations: 3.508 MB / 472.3 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/0.722, allocations: 1.099 MB / 473.4 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.7376, allocations: 12.45 MB / 485.9 MB, free: 90 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/0.7417, allocations: 339.9 kB / 486.2 MB, free: 89.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/0.7425, allocations: 301.3 kB / 486.5 MB, free: 89.39 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.002303/0.7448, allocations: 1.481 MB / 488 MB, free: 87.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/0.7453, allocations: 251.6 kB / 488.2 MB, free: 87.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.7591, allocations: 6.027 MB / 494.3 MB, free: 81.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.7592, allocations: 20 kB / 494.3 MB, free: 81.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/0.7593, allocations: 8 kB / 494.3 MB, free: 81.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/0.7593, allocations: 7.938 kB / 494.3 MB, free: 81.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/0.7849, allocations: 13.22 MB / 0.4956 GB, free: 68.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/0.785, allocations: 0 / 0.4956 GB, free: 68.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.7862, allocations: 231.6 kB / 0.4958 GB, free: 68.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/0.7978, allocations: 4.143 MB / 0.4999 GB, free: 64.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/0.7982, allocations: 44.91 kB / 0.4999 GB, free: 64.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.8134, allocations: 12.53 MB / 0.5122 GB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8134, allocations: 0 / 0.5122 GB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/0.8313, allocations: 9.992 MB / 0.5219 GB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.8321, allocations: 317.6 kB / 0.5222 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/0.8325, allocations: 32.69 kB / 0.5223 GB, free: 41.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.834, allocations: 188.8 kB / 0.5224 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.8344, allocations: 104.8 kB / 0.5225 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.8345, allocations: 51.97 kB / 0.5226 GB, free: 40.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00212/0.8367, allocations: 1.853 MB / 0.5244 GB, free: 38.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8367, allocations: 0 / 0.5244 GB, free: 38.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003799/0.8405, allocations: 0.8462 MB / 0.5252 GB, free: 37.98 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.0005149/0.841, allocations: 189.2 kB / 0.5254 GB, free: 37.79 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.008886/0.8499, allocations: 6.182 MB / 0.5314 GB, free: 31.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8499, allocations: 0 / 0.5314 GB, free: 31.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004301/0.8542, allocations: 2.858 MB / 0.5342 GB, free: 28.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.8558, allocations: 272.9 kB / 0.5345 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.8667, allocations: 8.359 MB / 0.5427 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.8686, allocations: 2.38 MB / 0.545 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003177/0.8718, allocations: 1.531 MB / 0.5465 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.8723, allocations: 195.4 kB / 0.5467 GB, free: 15.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8723, allocations: 0 / 0.5467 GB, free: 15.7 MB / 382.1 MB Notification: Performance of Templates: time 0.05966/0.932, allocations: 39.1 MB / 0.5848 GB, free: 8.594 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) Environment - environmentSimulation: