Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") [: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/Complex 3.2.1+maint.om/package.mo): time 0.002728/0.002728, allocations: 178.9 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.009/1.009, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001775/0.001775, allocations: 119.8 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/1.001e-05, allocations: 4 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09986, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3921, allocations: 85.84 MB / 386.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3924, allocations: 84.14 kB / 386.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.5072/0.8996, allocations: 113.3 MB / 499.7 MB, free: 64.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006155/0.9003, allocations: 124.8 kB / 499.8 MB, free: 64.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02929/0.9296, allocations: 6.002 MB / 0.494 GB, free: 62.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.9297, allocations: 9.188 kB / 0.494 GB, free: 62.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.9432, allocations: 2.257 MB / 0.4962 GB, free: 62.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/0.9657, allocations: 7.728 MB / 0.5038 GB, free: 61.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000585/0.9664, allocations: 193.9 kB / 0.5039 GB, free: 61.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00451/0.9709, allocations: 357.5 kB / 0.5043 GB, free: 61.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02236/0.9933, allocations: 10.11 MB / 0.5141 GB, free: 59.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04416/1.038, allocations: 13.98 MB / 0.5278 GB, free: 52.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001229/1.039, allocations: 75.25 kB / 0.5279 GB, free: 52.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00433/1.043, allocations: 43.47 kB / 0.5279 GB, free: 52.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/1.046, allocations: 1.558 MB / 0.5294 GB, free: 51.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/1.155, allocations: 69.75 MB / 0.5976 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1848/1.34, allocations: 6.397 MB / 0.6038 GB, free: 108.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00701/1.347, allocations: 5.258 MB / 0.6089 GB, free: 108.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02327/1.37, allocations: 14.96 MB / 0.6235 GB, free: 105.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/1.37, allocations: 70.59 kB / 0.6236 GB, free: 105.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=278): time 5.791e-06/1.37, allocations: 0 / 0.6236 GB, free: 105.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=373): time 0.08569/1.456, allocations: 36.26 MB / 0.659 GB, free: 94.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.456, allocations: 168.7 kB / 0.6592 GB, free: 94.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007688/1.464, allocations: 3.85 MB / 0.6629 GB, free: 93.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00146/1.465, allocations: 28.39 kB / 0.663 GB, free: 93.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/1.468, allocations: 3.677 MB / 0.6666 GB, free: 90.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00256/1.471, allocations: 1.315 MB / 0.6679 GB, free: 89.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007146/1.471, allocations: 0 / 0.6679 GB, free: 89.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004994/1.472, allocations: 0.6575 MB / 0.6685 GB, free: 88.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005682/1.477, allocations: 4.455 MB / 0.6728 GB, free: 84.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00872/1.486, allocations: 8.785 MB / 0.6814 GB, free: 74.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.497, allocations: 6.271 MB / 0.6875 GB, free: 69.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/1.497, allocations: 44 kB / 0.6876 GB, free: 69.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=1080) (initialization): time 0.04501/1.542, allocations: 17.59 MB / 0.7048 GB, free: 55.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.542, allocations: 4.938 kB / 0.7048 GB, free: 55.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005601/1.543, allocations: 152 kB / 0.7049 GB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/1.564, allocations: 6.071 MB / 0.7108 GB, free: 50.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008544/1.573, allocations: 1.764 MB / 0.7126 GB, free: 49.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2845/1.857, allocations: 31.59 MB / 0.7434 GB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.868, allocations: 315.3 kB / 0.7437 GB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/1.871, allocations: 478.2 kB / 0.7442 GB, free: 93.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * 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 (921): * Single equations (assignments): 913 * Array equations: 3 * 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%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.873, allocations: 0.5011 MB / 0.7447 GB, free: 93.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.875, allocations: 454 kB / 0.7451 GB, free: 93.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02753/1.902, allocations: 13.04 MB / 0.7578 GB, free: 93.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001271/1.902, allocations: 34.62 kB / 0.7579 GB, free: 93.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/1.902, allocations: 28.75 kB / 0.7579 GB, free: 93.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.781e-05/1.903, allocations: 14.39 kB / 0.7579 GB, free: 93.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04849/1.951, allocations: 24.38 MB / 0.7817 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.526e-05/1.951, allocations: 0 / 0.7817 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003144/1.954, allocations: 495.8 kB / 0.7822 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/1.973, allocations: 5.841 MB / 0.7879 GB, free: 88.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/1.975, allocations: 22.61 kB / 0.7879 GB, free: 88.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05888/2.034, allocations: 29.23 MB / 0.8165 GB, free: 73.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/2.034, allocations: 3.281 kB / 0.8165 GB, free: 73.71 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04216/2.076, allocations: 19.62 MB / 0.8356 GB, free: 57.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005271/2.081, allocations: 1.271 MB / 0.8369 GB, free: 56.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/2.084, allocations: 7.625 kB / 0.8369 GB, free: 56.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/2.088, allocations: 178.6 kB / 0.837 GB, free: 55.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009391/2.089, allocations: 174 kB / 0.8372 GB, free: 55.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006455/2.09, allocations: 106.5 kB / 0.8373 GB, free: 55.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.006157/2.096, allocations: 2.614 MB / 0.8399 GB, free: 53.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01175/2.107, allocations: 1.576 MB / 0.8414 GB, free: 51.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (226): * Single equations (assignments): 218 * Array equations: 3 * 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%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/2.109, allocations: 156.2 kB / 0.8415 GB, free: 51.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01897/2.128, allocations: 11.31 MB / 0.8526 GB, free: 41.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/2.128, allocations: 0 / 0.8526 GB, free: 41.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009019/2.137, allocations: 5.25 MB / 0.8577 GB, free: 37.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/2.142, allocations: 445.9 kB / 0.8581 GB, free: 36.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/2.385, allocations: 14.44 MB / 0.8722 GB, free: 91.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009037/2.394, allocations: 4.976 MB / 0.8771 GB, free: 90.55 MB / 362.7 MB Notification: Performance of SimCode: time 2.305e-06/2.394, allocations: 0 / 0.8771 GB, free: 90.55 MB / 362.7 MB Notification: Performance of Templates: time 0.1485/2.543, allocations: 86.91 MB / 0.962 GB, free: 53.5 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)