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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7197/0.7197, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001729/0.001729, allocations: 156 kB / 143.7 MB, free: 4.871 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.849e-06, allocations: 4 kB / 173.5 MB, free: 23.02 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04155/0.04159, allocations: 25.16 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.1796, allocations: 53.79 MB / 252.4 MB, free: 0.6523 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.1799, allocations: 77.05 kB / 252.5 MB, free: 0.6406 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.6864/0.8663, allocations: 201.3 MB / 453.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005576/0.8669, allocations: 167.1 kB / 454 MB, free: 13.21 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.03451/0.9014, allocations: 9.108 MB / 463.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9015, allocations: 13.89 kB / 463.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1142/1.016, allocations: 19.83 MB / 482.9 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/1.042, allocations: 9.704 MB / 492.6 MB, free: 4.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/1.043, allocations: 264 kB / 492.9 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006421/1.049, allocations: 460.9 kB / 493.3 MB, free: 3.699 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05142/1.101, allocations: 20.94 MB / 0.5022 GB, free: 5.262 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1552/1.256, allocations: 22.71 MB / 0.5244 GB, free: 37.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004231/1.256, allocations: 66.53 kB / 0.5245 GB, free: 37.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00396/1.26, allocations: 24.78 kB / 0.5245 GB, free: 37.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04165/1.302, allocations: 8.395 MB / 0.5327 GB, free: 37.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6222/1.924, allocations: 135.5 MB / 0.665 GB, free: 27.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.935, allocations: 8.57 MB / 0.6734 GB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008629/1.943, allocations: 7 MB / 0.6802 GB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1901/2.134, allocations: 32.58 MB / 0.7121 GB, free: 54.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/2.134, allocations: 72.09 kB / 0.7121 GB, free: 54.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=349): time 8.526e-06/2.134, allocations: 0 / 0.7121 GB, free: 54.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=441): time 0.09662/2.23, allocations: 39.77 MB / 0.751 GB, free: 47.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/2.23, allocations: 199.5 kB / 0.7512 GB, free: 46.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009341/2.24, allocations: 5.054 MB / 0.7561 GB, free: 45.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001294/2.241, allocations: 25.7 kB / 0.7561 GB, free: 45.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/2.244, allocations: 4.771 MB / 0.7608 GB, free: 41.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002227/2.246, allocations: 1.565 MB / 0.7623 GB, free: 40.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/2.248, allocations: 1.125 kB / 0.7623 GB, free: 40.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0008081/2.249, allocations: 0.75 MB / 0.763 GB, free: 40.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009009/2.258, allocations: 6.036 MB / 0.7689 GB, free: 37.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/2.269, allocations: 11.67 MB / 0.7803 GB, free: 27.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1166/2.386, allocations: 7.794 MB / 0.7879 GB, free: 48.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/2.386, allocations: 61.19 kB / 0.788 GB, free: 48.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.04149/2.427, allocations: 21.19 MB / 0.8087 GB, free: 47.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/2.427, allocations: 6 kB / 0.8087 GB, free: 47.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003054/2.428, allocations: 202.9 kB / 0.8089 GB, free: 47.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01872/2.446, allocations: 6.06 MB / 0.8148 GB, free: 47.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009146/2.456, allocations: 2.405 MB / 0.8172 GB, free: 47.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04141/2.497, allocations: 31.26 MB / 0.8477 GB, free: 38.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01619/2.513, allocations: 1.517 MB / 0.8492 GB, free: 38.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/2.516, allocations: 0.7739 MB / 0.8499 GB, free: 38.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * 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 (1199): * Single equations (assignments): 1183 * 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 {(7,77.6%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001899/2.517, allocations: 0.6028 MB / 0.8505 GB, free: 37.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/2.519, allocations: 0.534 MB / 0.851 GB, free: 37.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02555/2.544, allocations: 13.14 MB / 0.8639 GB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01117/2.556, allocations: 1.86 MB / 0.8657 GB, free: 28.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-05/2.556, allocations: 25.5 kB / 0.8657 GB, free: 28.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.692e-05/2.556, allocations: 25.66 kB / 0.8657 GB, free: 28.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.179/2.735, allocations: 31.89 MB / 0.8969 GB, free: 44.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/2.735, allocations: 3.219 kB / 0.8969 GB, free: 44.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/2.738, allocations: 0.5312 MB / 0.8974 GB, free: 44.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/2.756, allocations: 5.82 MB / 0.9031 GB, free: 44.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/2.757, allocations: 88.41 kB / 0.9032 GB, free: 44.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04047/2.798, allocations: 29.89 MB / 0.9324 GB, free: 37.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/2.798, allocations: 5.969 kB / 0.9324 GB, free: 37.21 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03723/2.835, allocations: 23.32 MB / 0.9551 GB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004398/2.839, allocations: 1.72 MB / 0.9568 GB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/2.841, allocations: 4 kB / 0.9568 GB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009157/2.85, allocations: 1.15 MB / 0.9579 GB, free: 21.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/2.851, allocations: 208.3 kB / 0.9581 GB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005969/2.851, allocations: 260.2 kB / 0.9584 GB, free: 21.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.1018/2.953, allocations: 3.99 MB / 0.9623 GB, free: 45.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.01197/2.965, allocations: 1.956 MB / 0.9642 GB, free: 45.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (278): * Single equations (assignments): 261 * 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.001229/2.966, allocations: 240.5 kB / 0.9644 GB, free: 45.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.02436/2.991, allocations: 15.11 MB / 0.9792 GB, free: 44.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.991, allocations: 0 / 0.9792 GB, free: 44.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01389/3.005, allocations: 7.055 MB / 0.9861 GB, free: 44.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/3.008, allocations: 0.4997 MB / 0.9866 GB, free: 44.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/3.049, allocations: 17.71 MB / 1.004 GB, free: 41.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01133/3.06, allocations: 6.609 MB / 1.01 GB, free: 40.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/3.06, allocations: 0 / 1.01 GB, free: 40.54 MB / 266.7 MB Notification: Performance of Templates: time 0.3045/3.365, allocations: 125.8 MB / 1.133 GB, free: 9.207 MB / 266.7 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)