Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [: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.5968/0.5968, allocations: 110.8 MB / 118 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.0017/0.0017, allocations: 145 kB / 143.7 MB, free: 9.934 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.666e-06, allocations: 0 / 173.5 MB, free: 12.12 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04595/0.04597, allocations: 25.18 MB / 198.6 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.1696, allocations: 43.56 MB / 242.2 MB, free: 12.53 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.1699, allocations: 75.95 kB / 242.3 MB, free: 12.46 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.4681/0.638, allocations: 128.3 MB / 370.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002216/0.6383, allocations: 76 kB / 370.7 MB, free: 14.29 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: 1501 * Number of variables: 1501 Notification: Performance of Generate backend data structure: time 0.02331/0.6616, allocations: 5.456 MB / 376.1 MB, free: 8.766 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6616, allocations: 11.97 kB / 376.1 MB, free: 8.754 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1822/0.8439, allocations: 16.87 MB / 393 MB, free: 58.26 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.8581, allocations: 5.212 MB / 398.2 MB, free: 57.96 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.8584, allocations: 134.5 kB / 398.4 MB, free: 57.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/0.8621, allocations: 233.2 kB / 398.6 MB, free: 57.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02335/0.8855, allocations: 13.11 MB / 411.7 MB, free: 57.94 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/0.9194, allocations: 14.36 MB / 426.1 MB, free: 53.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002525/0.9197, allocations: 27.84 kB / 426.1 MB, free: 53.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/0.9227, allocations: 22.25 kB / 426.1 MB, free: 53.81 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03542/0.9581, allocations: 6.751 MB / 432.9 MB, free: 53.29 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4591/1.417, allocations: 94.6 MB / 0.5151 GB, free: 36.95 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/1.422, allocations: 4.111 MB / 0.5191 GB, free: 36 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/1.425, allocations: 2.813 MB / 0.5219 GB, free: 35.88 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06357/1.489, allocations: 18.31 MB / 0.5397 GB, free: 31.85 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.489, allocations: 53.97 kB / 0.5398 GB, free: 31.8 MB / 234.7 MB Notification: Performance of pre-optimization done (n=168): time 7.093e-06/1.489, allocations: 0 / 0.5398 GB, free: 31.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=200): time 0.04211/1.531, allocations: 16.86 MB / 0.5563 GB, free: 20.39 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.531, allocations: 178.1 kB / 0.5564 GB, free: 20.18 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/1.536, allocations: 3.341 MB / 0.5597 GB, free: 16.98 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007223/1.537, allocations: 25.7 kB / 0.5597 GB, free: 16.95 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.538, allocations: 3.05 MB / 0.5627 GB, free: 13.98 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008008/1.539, allocations: 0.7636 MB / 0.5634 GB, free: 13.21 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/1.539, allocations: 0 / 0.5634 GB, free: 13.21 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002981/1.539, allocations: 0.6509 MB / 0.5641 GB, free: 12.55 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/1.544, allocations: 3.793 MB / 0.5678 GB, free: 8.75 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07633/1.62, allocations: 7.934 MB / 0.5755 GB, free: 43.48 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006076/1.626, allocations: 4.731 MB / 0.5801 GB, free: 43.46 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-05/1.626, allocations: 45.62 kB / 0.5802 GB, free: 43.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02992/1.656, allocations: 13.49 MB / 0.5934 GB, free: 42.95 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.656, allocations: 3.375 kB / 0.5934 GB, free: 42.95 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/1.657, allocations: 150 kB / 0.5935 GB, free: 42.95 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/1.671, allocations: 3.781 MB / 0.5972 GB, free: 42.89 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.677, allocations: 1.649 MB / 0.5988 GB, free: 42.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/1.696, allocations: 12.16 MB / 0.6107 GB, free: 40.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/1.708, allocations: 1.334 MB / 0.612 GB, free: 40.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.71, allocations: 0.5867 MB / 0.6126 GB, free: 40.2 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (827): * Single equations (assignments): 809 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001295/1.711, allocations: 461.6 kB / 0.613 GB, free: 39.91 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008474/1.712, allocations: 305.8 kB / 0.6133 GB, free: 39.91 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/1.729, allocations: 6.463 MB / 0.6196 GB, free: 38.04 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01109/1.74, allocations: 1.839 MB / 0.6214 GB, free: 38.04 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.429e-05/1.74, allocations: 9.094 kB / 0.6214 GB, free: 38.04 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.758e-05/1.74, allocations: 12.34 kB / 0.6214 GB, free: 38.04 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06589/1.806, allocations: 19.42 MB / 0.6404 GB, free: 30.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/1.806, allocations: 0 / 0.6404 GB, free: 30.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.808, allocations: 267.3 kB / 0.6406 GB, free: 30.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/1.822, allocations: 3.577 MB / 0.6441 GB, free: 27.82 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007905/1.823, allocations: 99.12 kB / 0.6442 GB, free: 27.77 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.84, allocations: 11.46 MB / 0.6554 GB, free: 17.6 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.84, allocations: 3.938 kB / 0.6554 GB, free: 17.6 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1058/1.946, allocations: 13.06 MB / 0.6682 GB, free: 43.64 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.947, allocations: 442.6 kB / 0.6686 GB, free: 43.55 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.948, allocations: 19.08 kB / 0.6686 GB, free: 43.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008694/1.957, allocations: 1.068 MB / 0.6697 GB, free: 43.55 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008196/1.958, allocations: 96.62 kB / 0.6697 GB, free: 43.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005621/1.958, allocations: 202.6 kB / 0.6699 GB, free: 43.55 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.003844/1.962, allocations: 2.209 MB / 0.6721 GB, free: 43.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.007517/1.969, allocations: 1.066 MB / 0.6731 GB, free: 43.41 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 116 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007495/1.97, allocations: 150.8 kB / 0.6733 GB, free: 43.32 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.02063/1.991, allocations: 10.01 MB / 0.6831 GB, free: 42.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.991, allocations: 0 / 0.6831 GB, free: 42.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01193/2.003, allocations: 4.7 MB / 0.6877 GB, free: 41.86 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/2.006, allocations: 250 kB / 0.6879 GB, free: 41.84 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/2.026, allocations: 9.397 MB / 0.6971 GB, free: 39.11 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008128/2.034, allocations: 4.057 MB / 0.701 GB, free: 37.78 MB / 234.7 MB Notification: Performance of SimCode: time 1.413e-06/2.034, allocations: 0 / 0.701 GB, free: 37.78 MB / 234.7 MB Notification: Performance of Templates: time 0.2255/2.259, allocations: 76.18 MB / 0.7754 GB, free: 41.8 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)