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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006499/0.006499, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.433/1.433, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001667/0.001667, allocations: 115.3 kB / 226.2 MB, free: 8.012 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 12 kB / 274.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 38.76 MB / 312.9 MB, free: 24.29 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.5326, allocations: 91.77 MB / 404.7 MB, free: 78.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004798/0.5331, allocations: 87.09 kB / 404.7 MB, free: 78.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.319/0.8521, allocations: 123 MB / 0.5154 GB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8522, allocations: 0 / 0.5154 GB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004208/0.8526, allocations: 132 kB / 0.5155 GB, free: 10.62 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.02184/0.8745, allocations: 6.803 MB / 0.5221 GB, free: 3.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8745, allocations: 8.031 kB / 0.5221 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/0.8885, allocations: 2.815 MB / 0.5249 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2024/1.091, allocations: 7.804 MB / 0.5325 GB, free: 41.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006932/1.092, allocations: 479.8 kB / 0.533 GB, free: 41.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00439/1.096, allocations: 0.6364 MB / 0.5336 GB, free: 41.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/1.131, allocations: 16.33 MB / 0.5495 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/1.132, allocations: 85.39 kB / 0.5496 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.133, allocations: 301.7 kB / 0.5499 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001822/1.135, allocations: 1.514 MB / 0.5514 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/1.164, allocations: 13.88 MB / 0.5649 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09316/1.258, allocations: 73.46 MB / 0.6367 GB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/1.28, allocations: 7.746 MB / 0.6442 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/1.282, allocations: 1.286 MB / 0.6455 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02036/1.302, allocations: 5.649 MB / 0.651 GB, free: 9.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=297): time 1.457e-05/1.302, allocations: 0 / 0.651 GB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=388): time 0.3597/1.662, allocations: 50.03 MB / 0.6999 GB, free: 68.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/1.662, allocations: 165.2 kB / 0.7 GB, free: 68.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/1.673, allocations: 4.905 MB / 0.7048 GB, free: 68.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001207/1.675, allocations: 90.33 kB / 0.7049 GB, free: 68.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003321/1.678, allocations: 4.228 MB / 0.709 GB, free: 66.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001917/1.68, allocations: 1.432 MB / 0.7104 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006611/1.681, allocations: 167.8 kB / 0.7106 GB, free: 65.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003639/1.681, allocations: 0.6598 MB / 0.7112 GB, free: 65.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.686, allocations: 4.646 MB / 0.7158 GB, free: 65.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007431/1.694, allocations: 9.109 MB / 0.7246 GB, free: 59.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00819/1.702, allocations: 6.463 MB / 0.731 GB, free: 57.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.702, allocations: 45.25 kB / 0.731 GB, free: 57.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.03822/1.741, allocations: 19.58 MB / 0.7501 GB, free: 47.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/1.741, allocations: 98.33 kB / 0.7502 GB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/1.741, allocations: 156 kB / 0.7504 GB, free: 47.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01865/1.76, allocations: 6.693 MB / 0.7569 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006426/1.766, allocations: 1.829 MB / 0.7587 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05193/1.818, allocations: 37.42 MB / 0.7952 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008984/1.827, allocations: 0.598 MB / 0.7958 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/1.83, allocations: 492.6 kB / 0.7963 GB, free: 8.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * 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 {(9,66.7%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008575/1.838, allocations: 3.133 MB / 0.7993 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2402/2.078, allocations: 0.5112 MB / 0.7998 GB, free: 62.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0289/2.107, allocations: 13.96 MB / 0.8135 GB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/2.108, allocations: 39.88 kB / 0.8135 GB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-05/2.108, allocations: 30.08 kB / 0.8135 GB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/2.108, allocations: 21.33 kB / 0.8136 GB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05989/2.168, allocations: 26.9 MB / 0.8398 GB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.569e-05/2.168, allocations: 3.594 kB / 0.8398 GB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/2.171, allocations: 0.5338 MB / 0.8404 GB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01847/2.189, allocations: 6.302 MB / 0.8465 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001246/2.191, allocations: 73.25 kB / 0.8466 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05303/2.244, allocations: 36.01 MB / 0.8818 GB, free: 44.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/2.244, allocations: 8.781 kB / 0.8818 GB, free: 44.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/2.281, allocations: 20.46 MB / 0.9017 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004795/2.286, allocations: 1.393 MB / 0.9031 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/2.288, allocations: 67.67 kB / 0.9032 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004661/2.293, allocations: 353.4 kB / 0.9035 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001704/2.295, allocations: 275.3 kB / 0.9038 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008569/2.295, allocations: 99.28 kB / 0.9039 GB, free: 25.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007351/2.303, allocations: 3.51 MB / 0.9073 GB, free: 22.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.303, allocations: 0 / 0.9073 GB, free: 22.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0124/2.315, allocations: 1.97 MB / 0.9092 GB, free: 21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/2.317, allocations: 446.5 kB / 0.9096 GB, free: 20.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02137/2.339, allocations: 12.36 MB / 0.9217 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.339, allocations: 0 / 0.9217 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009812/2.349, allocations: 5.726 MB / 0.9273 GB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/2.354, allocations: 0.6451 MB / 0.9279 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2627/2.617, allocations: 19.82 MB / 0.9473 GB, free: 65.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/2.626, allocations: 4.877 MB / 0.952 GB, free: 64.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009373/2.635, allocations: 2.563 MB / 0.9545 GB, free: 64.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/2.637, allocations: 354.8 kB / 0.9549 GB, free: 64.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/2.637, allocations: 0 / 0.9549 GB, free: 64.5 MB / 394.7 MB Notification: Performance of Templates: time 0.1605/2.798, allocations: 93.49 MB / 1.046 GB, free: 22.9 MB / 394.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)