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.00123/0.00123, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001289/0.001289, allocations: 50.67 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008889/0.1145, allocations: 7.039 MB / 380.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006565/0.1211, allocations: 3.139 MB / 383.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009549/0.1222, allocations: 27.94 kB / 383.4 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.1244, allocations: 0.899 MB / 384.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.128, allocations: 1.386 MB / 385.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1292, allocations: 0.5303 MB / 386.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.1328, allocations: 2.735 MB / 388.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.1349, allocations: 1.337 MB / 390.3 MB, free: 164 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1364, allocations: 0.8642 MB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.1391, allocations: 2.022 MB / 393.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005961/0.1398, allocations: 180 kB / 393.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.1418, allocations: 0.9633 MB / 394.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.1434, allocations: 1.138 MB / 395.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.1456, allocations: 1.301 MB / 396.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005377/0.151, allocations: 4.43 MB / 401.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.1511, allocations: 0 / 401.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.1511, allocations: 0 / 401.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.1512, allocations: 0 / 401.2 MB, free: 5.23 MB / 334.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.007984/0.1592, allocations: 3.269 MB / 404.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1593, allocations: 8.031 kB / 404.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/0.1651, allocations: 1.651 MB / 406.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.1687, allocations: 1.573 MB / 407.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1689, allocations: 127.2 kB / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005783/0.1695, allocations: 175.7 kB / 408 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.1801, allocations: 6.592 MB / 414.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.1802, allocations: 31.75 kB / 414.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/0.1808, allocations: 87.89 kB / 414.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002083/0.1829, allocations: 1.327 MB / 416 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.1938, allocations: 5.843 MB / 421.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0353/0.2291, allocations: 27.97 MB / 449.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006475/0.2356, allocations: 2.779 MB / 452.6 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2141/0.4497, allocations: 1.304 MB / 453.9 MB, free: 70.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/0.4506, allocations: 0.6326 MB / 454.5 MB, free: 70.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.4506, allocations: 49.03 kB / 454.6 MB, free: 70.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 1.53e-05/0.4507, allocations: 3.5 kB / 454.6 MB, free: 70.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.06975/0.5204, allocations: 21.02 MB / 475.6 MB, free: 62.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.5205, allocations: 171.2 kB / 475.8 MB, free: 62.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.5249, allocations: 2.809 MB / 478.6 MB, free: 59.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/0.5252, allocations: 45.7 kB / 478.6 MB, free: 59.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.5263, allocations: 2.074 MB / 480.7 MB, free: 57.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007469/0.527, allocations: 0.6304 MB / 481.3 MB, free: 57.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.5287, allocations: 0.9913 MB / 482.3 MB, free: 56.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.5288, allocations: 301.1 kB / 482.6 MB, free: 55.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.5315, allocations: 2.235 MB / 484.8 MB, free: 53.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/0.5357, allocations: 5.152 MB / 490 MB, free: 46.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/0.5429, allocations: 7.974 MB / 498 MB, free: 37.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/0.543, allocations: 35.94 kB / 498 MB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02018/0.5632, allocations: 10.29 MB / 0.4964 GB, free: 27.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.5634, allocations: 48 kB / 0.4964 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/0.5636, allocations: 104 kB / 0.4965 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.574, allocations: 3.421 MB / 0.4999 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.5772, allocations: 1.088 MB / 0.5009 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.5934, allocations: 12.86 MB / 0.5135 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.5975, allocations: 323.5 kB / 0.5138 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008423/0.5983, allocations: 314.9 kB / 0.5141 GB, free: 8.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (577): * Single equations (assignments): 566 * Array equations: 4 * 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.002943/0.6013, allocations: 1.468 MB / 0.5155 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/0.6019, allocations: 248.7 kB / 0.5158 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/0.616, allocations: 6.005 MB / 0.5216 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/0.6161, allocations: 27.98 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/0.6161, allocations: 8.875 kB / 0.5217 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.6162, allocations: 9.625 kB / 0.5217 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03097/0.6471, allocations: 13.21 MB / 0.5346 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.6472, allocations: 2.562 kB / 0.5346 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.6484, allocations: 235.7 kB / 0.5348 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/0.6615, allocations: 4.016 MB / 0.5387 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004002/0.662, allocations: 47.95 kB / 0.5388 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/0.6818, allocations: 12.83 MB / 0.5513 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6819, allocations: 7.938 kB / 0.5513 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/0.7039, allocations: 10.08 MB / 0.5611 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/0.7047, allocations: 309.6 kB / 0.5614 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/0.7053, allocations: 31.94 kB / 0.5615 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.7071, allocations: 195.6 kB / 0.5616 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/0.7076, allocations: 104.8 kB / 0.5617 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.7078, allocations: 56.84 kB / 0.5618 GB, free: 7.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002805/0.7106, allocations: 1.738 MB / 0.5635 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7106, allocations: 4 kB / 0.5635 GB, free: 5.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003993/0.7146, allocations: 0.8227 MB / 0.5643 GB, free: 5.074 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * 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.0004731/0.7151, allocations: 161.8 kB / 0.5645 GB, free: 4.91 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.01067/0.7258, allocations: 6.273 MB / 0.5706 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7258, allocations: 0 / 0.5706 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005042/0.7308, allocations: 2.893 MB / 0.5734 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7333, allocations: 303.6 kB / 0.5737 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.7463, allocations: 7.303 MB / 0.5808 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/0.7499, allocations: 2.337 MB / 0.5831 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004608/0.7545, allocations: 1.507 MB / 0.5846 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/0.7554, allocations: 191.4 kB / 0.5848 GB, free: 15.83 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7554, allocations: 0 / 0.5848 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Templates: time 0.06558/0.821, allocations: 38.64 MB / 0.6225 GB, free: 9.211 MB / 494.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)