Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7703/0.7703, 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.001642/0.001642, allocations: 151.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.669e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04531/0.04535, allocations: 25.17 MB / 199 MB, free: 2.66 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.1891, allocations: 53.86 MB / 252.9 MB, free: 2.082 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.1894, allocations: 71.97 kB / 253 MB, free: 2.012 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7873/0.9767, allocations: 205.4 MB / 458.4 MB, free: 17.16 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.9768, allocations: 0 / 458.4 MB, free: 17.16 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003139/0.9771, allocations: 159 kB / 458.6 MB, free: 17 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02929/1.006, allocations: 9.666 MB / 468.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.006, allocations: 12.03 kB / 468.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.372/1.378, allocations: 22.67 MB / 490.9 MB, free: 18.08 MB / 234.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02102/1.399, allocations: 9.607 MB / 0.4888 GB, free: 17.67 MB / 234.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/1.4, allocations: 262.1 kB / 0.489 GB, free: 17.67 MB / 234.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005057/1.405, allocations: 451.1 kB / 0.4895 GB, free: 17.66 MB / 234.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03069/1.436, allocations: 19.41 MB / 0.5084 GB, free: 17.34 MB / 234.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04472/1.48, allocations: 22.12 MB / 0.53 GB, free: 1.926 MB / 234.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003349/1.481, allocations: 64.66 kB / 0.5301 GB, free: 1.887 MB / 234.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00297/1.484, allocations: 27.38 kB / 0.5301 GB, free: 1.863 MB / 234.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.05022/1.534, allocations: 10.33 MB / 0.5402 GB, free: 11.84 MB / 250.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7597/2.294, allocations: 143.9 MB / 0.6807 GB, free: 53.1 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/2.304, allocations: 8.554 MB / 0.6891 GB, free: 52.12 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008198/2.312, allocations: 6.412 MB / 0.6953 GB, free: 51.97 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/2.313, allocations: 1.304 MB / 0.6966 GB, free: 50.84 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/2.314, allocations: 95.66 kB / 0.6967 GB, free: 50.8 MB / 282.8 MB Notification: Performance of pre-optimization done (n=426): time 1.403e-05/2.314, allocations: 0 / 0.6967 GB, free: 50.8 MB / 282.8 MB Notification: Performance of matching and sorting (n=523): time 0.1149/2.429, allocations: 56.93 MB / 0.7523 GB, free: 29.42 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/2.429, allocations: 0.5157 MB / 0.7528 GB, free: 28.8 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007513/2.436, allocations: 4.734 MB / 0.7574 GB, free: 24.72 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001923/2.438, allocations: 29.7 kB / 0.7574 GB, free: 24.69 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003636/2.442, allocations: 4.963 MB / 0.7623 GB, free: 20.21 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003331/2.445, allocations: 1.812 MB / 0.764 GB, free: 18.57 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/2.447, allocations: 1.031 kB / 0.764 GB, free: 18.57 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0005828/2.447, allocations: 0.765 MB / 0.7648 GB, free: 17.93 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008853/2.456, allocations: 6.169 MB / 0.7708 GB, free: 12.48 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1986/2.655, allocations: 11.64 MB / 0.7822 GB, free: 44.98 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/2.667, allocations: 7.749 MB / 0.7897 GB, free: 44.92 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002779/2.668, allocations: 55 kB / 0.7898 GB, free: 44.92 MB / 282.8 MB Notification: Performance of matching and sorting (n=1412) (initialization): time 0.05186/2.72, allocations: 22.15 MB / 0.8114 GB, free: 43.91 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004386/2.72, allocations: 88.44 kB / 0.8115 GB, free: 43.91 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007747/2.721, allocations: 329.9 kB / 0.8118 GB, free: 43.89 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01887/2.74, allocations: 6.63 MB / 0.8183 GB, free: 43.8 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009746/2.75, allocations: 2.502 MB / 0.8207 GB, free: 43.59 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04477/2.794, allocations: 33.8 MB / 0.8538 GB, free: 28.05 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/2.81, allocations: 1.819 MB / 0.8555 GB, free: 27 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/2.813, allocations: 0.7706 MB / 0.8563 GB, free: 26.31 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 55 (combiTimeTable.tableID,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 (1226): * Single equations (assignments): 1206 * 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 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004617/2.818, allocations: 0.598 MB / 0.8569 GB, free: 25.71 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002377/2.82, allocations: 0.5464 MB / 0.8574 GB, free: 25.39 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02775/2.848, allocations: 14.38 MB / 0.8714 GB, free: 14.3 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1975/3.046, allocations: 15.96 MB / 0.887 GB, free: 43.21 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/3.046, allocations: 29.81 kB / 0.8871 GB, free: 43.21 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001837/3.046, allocations: 25.67 kB / 0.8871 GB, free: 43.21 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09267/3.139, allocations: 39.81 MB / 0.926 GB, free: 39.5 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/3.139, allocations: 15.12 kB / 0.926 GB, free: 39.5 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/3.142, allocations: 0.7948 MB / 0.9267 GB, free: 39.48 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/3.159, allocations: 6.164 MB / 0.9328 GB, free: 38.23 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001404/3.16, allocations: 114.8 kB / 0.9329 GB, free: 38.21 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/3.197, allocations: 31.54 MB / 0.9637 GB, free: 19.04 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.979e-05/3.197, allocations: 29.09 kB / 0.9637 GB, free: 19.02 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1946/3.392, allocations: 26.19 MB / 0.9893 GB, free: 38.12 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005762/3.398, allocations: 1.798 MB / 0.991 GB, free: 38.02 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002464/3.4, allocations: 29.09 kB / 0.9911 GB, free: 38.02 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01115/3.412, allocations: 1.523 MB / 0.9925 GB, free: 38.02 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/3.413, allocations: 417.4 kB / 0.9929 GB, free: 38 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001052/3.415, allocations: 303.5 kB / 0.9932 GB, free: 38 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.007368/3.422, allocations: 3.185 MB / 0.9963 GB, free: 37.82 MB / 282.8 MB Notification: Performance of sort global known variables: time 5.51e-07/3.422, allocations: 0 / 0.9963 GB, free: 37.82 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.01332/3.435, allocations: 2.049 MB / 0.9983 GB, free: 37.82 MB / 282.8 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: 1 (combiTimeTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 343 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/3.437, allocations: 273.2 kB / 0.9986 GB, free: 37.72 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.02217/3.459, allocations: 15.09 MB / 1.013 GB, free: 36.99 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/3.459, allocations: 3.156 kB / 1.013 GB, free: 36.99 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01431/3.474, allocations: 10.37 MB / 1.023 GB, free: 35 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/3.478, allocations: 0.5305 MB / 1.024 GB, free: 34.79 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/3.523, allocations: 18.23 MB / 1.042 GB, free: 28.32 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00811/3.531, allocations: 5.773 MB / 1.047 GB, free: 26.41 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 0.01049/3.542, allocations: 3.564 MB / 1.051 GB, free: 24.9 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002933/3.544, allocations: 0.7415 MB / 1.052 GB, free: 24.34 MB / 282.8 MB Notification: Performance of SimCode: time 1.182e-06/3.545, allocations: 0 / 1.052 GB, free: 24.34 MB / 282.8 MB Notification: Performance of Templates: time 0.3254/3.87, allocations: 120.8 MB / 1.17 GB, free: 1.383 MB / 282.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)