Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001547/0.001547, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.469/1.469, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001753, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.077e-05, allocations: 8 kB / 304.9 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 44.49 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4483, allocations: 96.95 MB / 446.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.4487, allocations: 91 kB / 446.5 MB, free: 14.66 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.565/1.014, allocations: 123.3 MB / 0.5564 GB, free: 66.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.507e-06/1.014, allocations: 0 / 0.5564 GB, free: 66.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004737/1.014, allocations: 130.5 kB / 0.5565 GB, free: 66.08 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.02696/1.041, allocations: 6.42 MB / 0.5628 GB, free: 63.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.041, allocations: 10.72 kB / 0.5628 GB, free: 63.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/1.056, allocations: 2.823 MB / 0.5655 GB, free: 63.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/1.075, allocations: 7.79 MB / 0.5732 GB, free: 62.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004837/1.075, allocations: 485.3 kB / 0.5736 GB, free: 62.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/1.079, allocations: 0.637 MB / 0.5742 GB, free: 62.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/1.121, allocations: 16.22 MB / 0.5901 GB, free: 58.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004597/1.121, allocations: 90.55 kB / 0.5902 GB, free: 58.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002586/1.124, allocations: 307.8 kB / 0.5905 GB, free: 58.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/1.126, allocations: 1.51 MB / 0.5919 GB, free: 58.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03055/1.157, allocations: 13.71 MB / 0.6053 GB, free: 55.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09829/1.255, allocations: 73.5 MB / 0.6771 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/1.276, allocations: 7.578 MB / 0.6845 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3192/1.595, allocations: 5.442 MB / 0.6898 GB, free: 76.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/1.597, allocations: 1.285 MB / 0.6911 GB, free: 75.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02013/1.617, allocations: 5.638 MB / 0.6966 GB, free: 75.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=300): time 7.695e-06/1.617, allocations: 1.375 kB / 0.6966 GB, free: 75.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=395): time 0.1379/1.755, allocations: 42.69 MB / 0.7383 GB, free: 71.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.755, allocations: 173.3 kB / 0.7384 GB, free: 71.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008477/1.764, allocations: 4.856 MB / 0.7432 GB, free: 71.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.765, allocations: 90.33 kB / 0.7433 GB, free: 71.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003962/1.769, allocations: 4.236 MB / 0.7474 GB, free: 69.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002604/1.772, allocations: 1.449 MB / 0.7488 GB, free: 68.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/1.773, allocations: 173.3 kB / 0.749 GB, free: 67.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004738/1.773, allocations: 0.664 MB / 0.7496 GB, free: 67.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006824/1.78, allocations: 4.633 MB / 0.7542 GB, free: 65.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.791, allocations: 9.114 MB / 0.7631 GB, free: 57.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.802, allocations: 6.526 MB / 0.7694 GB, free: 55.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/1.802, allocations: 47.53 kB / 0.7695 GB, free: 55.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.04225/1.844, allocations: 19.58 MB / 0.7886 GB, free: 39.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000441/1.845, allocations: 97.7 kB / 0.7887 GB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004672/1.845, allocations: 162.2 kB / 0.7888 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01939/1.865, allocations: 6.722 MB / 0.7954 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007178/1.872, allocations: 1.849 MB / 0.7972 GB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05153/1.924, allocations: 35.8 MB / 0.8322 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009792/1.933, allocations: 0.5928 MB / 0.8328 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003069/1.937, allocations: 495.9 kB / 0.8332 GB, free: 13.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 947 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003505/1.94, allocations: 0.7434 MB / 0.834 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.942, allocations: 0.5206 MB / 0.8345 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.324/2.266, allocations: 14.03 MB / 0.8482 GB, free: 79.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001282/2.266, allocations: 42.33 kB / 0.8482 GB, free: 79.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/2.266, allocations: 26.7 kB / 0.8482 GB, free: 79.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001237/2.266, allocations: 25.78 kB / 0.8483 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05382/2.32, allocations: 27.06 MB / 0.8747 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.244e-05/2.32, allocations: 1.781 kB / 0.8747 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/2.323, allocations: 0.5496 MB / 0.8752 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/2.34, allocations: 6.351 MB / 0.8814 GB, free: 78.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001327/2.342, allocations: 78.48 kB / 0.8815 GB, free: 78.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04447/2.386, allocations: 34.35 MB / 0.9151 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/2.386, allocations: 7.031 kB / 0.9151 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03652/2.423, allocations: 20.58 MB / 0.9352 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004941/2.428, allocations: 1.412 MB / 0.9365 GB, free: 51.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001954/2.43, allocations: 68 kB / 0.9366 GB, free: 51.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/2.434, allocations: 353 kB / 0.9369 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.436, allocations: 275.8 kB / 0.9372 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003715/2.436, allocations: 110.5 kB / 0.9373 GB, free: 51.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0066/2.443, allocations: 3.463 MB / 0.9407 GB, free: 48.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.443, allocations: 0 / 0.9407 GB, free: 48.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01203/2.455, allocations: 1.983 MB / 0.9426 GB, free: 46.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/2.457, allocations: 475.4 kB / 0.9431 GB, free: 45.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02203/2.479, allocations: 12.35 MB / 0.9551 GB, free: 34.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/2.479, allocations: 3.875 kB / 0.9551 GB, free: 34.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/2.49, allocations: 5.799 MB / 0.9608 GB, free: 29.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006296/2.496, allocations: 0.6447 MB / 0.9614 GB, free: 29.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/2.539, allocations: 15.09 MB / 0.9762 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.55, allocations: 4.887 MB / 0.9809 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008936/2.559, allocations: 2.587 MB / 0.9835 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/2.561, allocations: 363.3 kB / 0.9838 GB, free: 7.484 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/2.561, allocations: 0 / 0.9838 GB, free: 7.484 MB / 426.7 MB Notification: Performance of Templates: time 0.4155/2.976, allocations: 94.34 MB / 1.076 GB, free: 66.92 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)