Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.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/Complex 3.2.1+maint.om/package.mo): time 0.002515/0.002515, allocations: 177.5 kB / 7.453 MB, free: 2.508 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.178/1.178, allocations: 170.6 MB / 178.4 MB, free: 15.71 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.001521/0.001521, allocations: 107.9 kB / 217.7 MB, free: 8.492 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.053e-06, allocations: 0 / 261.8 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06643/0.06645, allocations: 38.76 MB / 300.5 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.3186, allocations: 90.94 MB / 391.5 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3189, allocations: 83.31 kB / 391.5 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.4465/0.7654, allocations: 118.6 MB / 0.4981 GB, free: 41.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003765/0.7658, allocations: 130 kB / 0.4983 GB, free: 41.26 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: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02055/0.7864, allocations: 6.302 MB / 0.5044 GB, free: 38.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7864, allocations: 11.53 kB / 0.5044 GB, free: 38.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.7974, allocations: 2.291 MB / 0.5067 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.8138, allocations: 7.871 MB / 0.5144 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.8141, allocations: 204.7 kB / 0.5146 GB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/0.8165, allocations: 380.3 kB / 0.5149 GB, free: 37.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0184/0.8349, allocations: 10.45 MB / 0.5251 GB, free: 35.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/0.8668, allocations: 14.54 MB / 0.5393 GB, free: 27.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004422/0.8673, allocations: 83.97 kB / 0.5394 GB, free: 27.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/0.8694, allocations: 41.41 kB / 0.5394 GB, free: 27.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/0.8721, allocations: 1.601 MB / 0.541 GB, free: 27.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2571/1.129, allocations: 72.91 MB / 0.6122 GB, free: 69.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00844/1.138, allocations: 6.564 MB / 0.6186 GB, free: 68.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/1.144, allocations: 5.405 MB / 0.6239 GB, free: 68.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02528/1.169, allocations: 15.39 MB / 0.6389 GB, free: 65.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005776/1.175, allocations: 4.844 MB / 0.6436 GB, free: 64.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=289): time 5.962e-06/1.175, allocations: 2.281 kB / 0.6436 GB, free: 64.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=380): time 0.09413/1.269, allocations: 35.67 MB / 0.6785 GB, free: 47.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.269, allocations: 169.9 kB / 0.6786 GB, free: 47.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007207/1.277, allocations: 4.124 MB / 0.6827 GB, free: 43.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001535/1.278, allocations: 29.52 kB / 0.6827 GB, free: 43.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004062/1.282, allocations: 3.932 MB / 0.6865 GB, free: 40.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0028/1.285, allocations: 1.35 MB / 0.6879 GB, free: 39.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005507/1.286, allocations: 1.688 kB / 0.6879 GB, free: 39.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004514/1.286, allocations: 0.6744 MB / 0.6885 GB, free: 38.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.292, allocations: 4.526 MB / 0.6929 GB, free: 34.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00761/1.3, allocations: 9.106 MB / 0.7018 GB, free: 23.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009307/1.309, allocations: 6.428 MB / 0.7081 GB, free: 18.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.309, allocations: 48 kB / 0.7082 GB, free: 18.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=1130) (initialization): time 0.04206/1.351, allocations: 17.95 MB / 0.7257 GB, free: 3.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.351, allocations: 5.562 kB / 0.7257 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004288/1.352, allocations: 160 kB / 0.7258 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.164/1.516, allocations: 6.28 MB / 0.732 GB, free: 95.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006939/1.523, allocations: 1.832 MB / 0.7338 GB, free: 95.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0428/1.565, allocations: 31.7 MB / 0.7647 GB, free: 93.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008656/1.574, allocations: 327 kB / 0.765 GB, free: 93.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002316/1.576, allocations: 0.4963 MB / 0.7655 GB, free: 93.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 737 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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 (966): * Single equations (assignments): 957 * Array equations: 3 * Algorithm blocks: 1 * 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,70.3%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001885/1.578, allocations: 0.5199 MB / 0.766 GB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.579, allocations: 474.8 kB / 0.7665 GB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02566/1.605, allocations: 13.12 MB / 0.7793 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/1.605, allocations: 34.44 kB / 0.7793 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/1.605, allocations: 30.36 kB / 0.7794 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/1.605, allocations: 17.3 kB / 0.7794 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04642/1.652, allocations: 24.61 MB / 0.8034 GB, free: 78.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.652, allocations: 4 kB / 0.8034 GB, free: 78.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.655, allocations: 484.4 kB / 0.8039 GB, free: 78.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/1.672, allocations: 5.885 MB / 0.8096 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001117/1.674, allocations: 19.64 kB / 0.8096 GB, free: 74.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04113/1.715, allocations: 30.62 MB / 0.8395 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/1.715, allocations: 4 kB / 0.8395 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2377/1.953, allocations: 19.53 MB / 0.8586 GB, free: 91.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/1.957, allocations: 1.302 MB / 0.8599 GB, free: 91.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/1.959, allocations: 4.406 kB / 0.8599 GB, free: 91.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003578/1.963, allocations: 177.6 kB / 0.8601 GB, free: 91.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000624/1.964, allocations: 187.3 kB / 0.8602 GB, free: 91.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003955/1.964, allocations: 95.2 kB / 0.8603 GB, free: 91.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.005652/1.97, allocations: 2.792 MB / 0.8631 GB, free: 91.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01109/1.981, allocations: 1.643 MB / 0.8647 GB, free: 91.16 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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 224 * Array equations: 3 * 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 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/1.982, allocations: 316 kB / 0.865 GB, free: 91.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02057/2.003, allocations: 11.52 MB / 0.8762 GB, free: 90.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/2.003, allocations: 3.875 kB / 0.8762 GB, free: 90.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.013, allocations: 5.321 MB / 0.8814 GB, free: 89.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004758/2.018, allocations: 481.9 kB / 0.8819 GB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0447/2.062, allocations: 14.8 MB / 0.8963 GB, free: 87.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008712/2.071, allocations: 5.164 MB / 0.9014 GB, free: 86.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/2.071, allocations: 0 / 0.9014 GB, free: 86.73 MB / 362.7 MB Notification: Performance of Templates: time 0.3483/2.42, allocations: 89.04 MB / 0.9883 GB, free: 86.37 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)