Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9273/0.9273, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00173/0.00173, allocations: 147.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.559e-05, allocations: 11.97 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04491/0.04494, allocations: 25.17 MB / 199 MB, free: 2.664 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.1912, allocations: 51.1 MB / 250.1 MB, free: 4.848 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.1914, allocations: 75.95 kB / 250.2 MB, free: 4.773 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7615/0.9529, allocations: 201.3 MB / 451.5 MB, free: 22.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.9529, allocations: 0 / 451.5 MB, free: 22.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003122/0.9532, allocations: 149 kB / 451.6 MB, free: 22.07 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02896/0.9822, allocations: 9.433 MB / 461.1 MB, free: 14.08 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.9823, allocations: 12.03 kB / 461.1 MB, free: 14.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2393/1.222, allocations: 22.63 MB / 483.7 MB, free: 21.49 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/1.245, allocations: 9.452 MB / 493.2 MB, free: 21.14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/1.245, allocations: 249.3 kB / 493.4 MB, free: 21.14 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005883/1.251, allocations: 437.7 kB / 493.8 MB, free: 21.13 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03261/1.284, allocations: 19.06 MB / 0.5009 GB, free: 20.12 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04585/1.33, allocations: 21.55 MB / 0.5219 GB, free: 9.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004513/1.33, allocations: 54.59 kB / 0.522 GB, free: 9.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005248/1.336, allocations: 24 kB / 0.522 GB, free: 9.238 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04243/1.378, allocations: 9.507 MB / 0.5313 GB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7747/2.153, allocations: 140.6 MB / 0.6686 GB, free: 40.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/2.163, allocations: 8.344 MB / 0.6768 GB, free: 39.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008154/2.172, allocations: 6.261 MB / 0.6829 GB, free: 39.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/2.173, allocations: 1.31 MB / 0.6841 GB, free: 38.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/2.173, allocations: 93.33 kB / 0.6842 GB, free: 38.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=419): time 9.157e-06/2.173, allocations: 3.625 kB / 0.6842 GB, free: 38.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=515): time 0.1079/2.281, allocations: 55.52 MB / 0.7385 GB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/2.281, allocations: 0.5085 MB / 0.739 GB, free: 14.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006901/2.288, allocations: 4.532 MB / 0.7434 GB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001842/2.29, allocations: 29.7 kB / 0.7434 GB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0029/2.293, allocations: 4.762 MB / 0.7481 GB, free: 6.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002799/2.296, allocations: 1.782 MB / 0.7498 GB, free: 4.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009874/2.297, allocations: 0 / 0.7498 GB, free: 4.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004697/2.297, allocations: 0.7518 MB / 0.7505 GB, free: 4.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01477/2.312, allocations: 6.498 MB / 0.7569 GB, free: 0 / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1724/2.484, allocations: 11.63 MB / 0.7682 GB, free: 49.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/2.496, allocations: 7.517 MB / 0.7756 GB, free: 49.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002764/2.496, allocations: 52.19 kB / 0.7756 GB, free: 49.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=1363) (initialization): time 0.04835/2.545, allocations: 21.66 MB / 0.7968 GB, free: 48.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/2.545, allocations: 84.06 kB / 0.7969 GB, free: 48.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004718/2.545, allocations: 317.3 kB / 0.7972 GB, free: 48.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/2.563, allocations: 6.625 MB / 0.8036 GB, free: 48.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008769/2.572, allocations: 2.419 MB / 0.806 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04118/2.614, allocations: 33.58 MB / 0.8388 GB, free: 31.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01536/2.629, allocations: 1.809 MB / 0.8406 GB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003145/2.632, allocations: 0.742 MB / 0.8413 GB, free: 30.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1180): * Single equations (assignments): 1160 * Array equations: 15 * Algorithm blocks: 0 * 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 {(9,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002965/2.635, allocations: 0.5884 MB / 0.8419 GB, free: 29.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/2.637, allocations: 0.5256 MB / 0.8424 GB, free: 29.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/2.663, allocations: 14.09 MB / 0.8561 GB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1923/2.856, allocations: 15.63 MB / 0.8714 GB, free: 45.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.028e-05/2.856, allocations: 33.16 kB / 0.8714 GB, free: 45.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001513/2.856, allocations: 29.53 kB / 0.8715 GB, free: 45.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09127/2.947, allocations: 39.23 MB / 0.9098 GB, free: 41.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.247e-05/2.947, allocations: 13.78 kB / 0.9098 GB, free: 41.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00377/2.951, allocations: 0.7938 MB / 0.9105 GB, free: 41.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01682/2.968, allocations: 6.025 MB / 0.9164 GB, free: 40.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001708/2.97, allocations: 108.6 kB / 0.9165 GB, free: 40.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03694/3.007, allocations: 30.06 MB / 0.9459 GB, free: 24.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-05/3.007, allocations: 22 kB / 0.9459 GB, free: 24.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1866/3.193, allocations: 25.68 MB / 0.971 GB, free: 40.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004935/3.198, allocations: 1.759 MB / 0.9727 GB, free: 40.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002468/3.201, allocations: 33.61 kB / 0.9727 GB, free: 40.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/3.212, allocations: 1.524 MB / 0.9742 GB, free: 40.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/3.214, allocations: 420.9 kB / 0.9746 GB, free: 40.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007262/3.215, allocations: 295.2 kB / 0.9749 GB, free: 40.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006075/3.221, allocations: 3.042 MB / 0.9779 GB, free: 40.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/3.221, allocations: 5.234 kB / 0.9779 GB, free: 40.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0147/3.236, allocations: 1.993 MB / 0.9798 GB, free: 40.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (352): * Single equations (assignments): 336 * Array equations: 11 * Algorithm blocks: 0 * 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 {(6,80.6%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/3.237, allocations: 191.1 kB / 0.98 GB, free: 40.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.02338/3.261, allocations: 14.81 MB / 0.9945 GB, free: 39.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/3.261, allocations: 3.75 kB / 0.9945 GB, free: 39.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01447/3.275, allocations: 10.14 MB / 1.004 GB, free: 36.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/3.28, allocations: 0.5015 MB / 1.005 GB, free: 36.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/3.318, allocations: 17.7 MB / 1.022 GB, free: 30.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008169/3.327, allocations: 5.582 MB / 1.028 GB, free: 28.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01119/3.338, allocations: 3.474 MB / 1.031 GB, free: 28.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/3.342, allocations: 0.7279 MB / 1.032 GB, free: 27.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/3.342, allocations: 4 kB / 1.032 GB, free: 27.92 MB / 282.7 MB Notification: Performance of Templates: time 0.3665/3.708, allocations: 118.3 MB / 1.147 GB, free: 7.395 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)