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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001357/0.001357, allocations: 158 kB / 7.633 MB, free: 1.445 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.24/1.24, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001596/0.001596, allocations: 97.7 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 38.76 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3229, allocations: 85.9 MB / 386.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3231, allocations: 85.5 kB / 387 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.435/0.7582, allocations: 115 MB / 0.4902 GB, free: 48.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.7582, allocations: 0 / 0.4902 GB, free: 48.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002411/0.7585, allocations: 123.4 kB / 0.4903 GB, free: 48.1 MB / 330.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.0169/0.7754, allocations: 6.087 MB / 0.4963 GB, free: 41.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.7754, allocations: 12.03 kB / 0.4963 GB, free: 41.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.7887, allocations: 2.789 MB / 0.499 GB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.8045, allocations: 7.61 MB / 0.5064 GB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.8048, allocations: 192 kB / 0.5066 GB, free: 31.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.8072, allocations: 367.7 kB / 0.507 GB, free: 30.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01672/0.8239, allocations: 9.762 MB / 0.5165 GB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.8502, allocations: 13.65 MB / 0.5298 GB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003062/0.8506, allocations: 79.28 kB / 0.5299 GB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/0.8519, allocations: 40 kB / 0.53 GB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.8538, allocations: 1.477 MB / 0.5314 GB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3259/1.18, allocations: 68.04 MB / 0.5979 GB, free: 24.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008948/1.189, allocations: 6.211 MB / 0.6039 GB, free: 24.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006354/1.195, allocations: 4.739 MB / 0.6085 GB, free: 24.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.196, allocations: 1.29 MB / 0.6098 GB, free: 23.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.197, allocations: 63.31 kB / 0.6099 GB, free: 23.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 6.903e-06/1.197, allocations: 3.906 kB / 0.6099 GB, free: 23.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.09381/1.29, allocations: 37.27 MB / 0.6463 GB, free: 10.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/1.29, allocations: 169.6 kB / 0.6464 GB, free: 10.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/1.296, allocations: 3.789 MB / 0.6501 GB, free: 7.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.297, allocations: 25.7 kB / 0.6502 GB, free: 7.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.299, allocations: 4.01 MB / 0.6541 GB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.301, allocations: 1.328 MB / 0.6554 GB, free: 2.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/1.301, allocations: 3.531 kB / 0.6554 GB, free: 2.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003573/1.302, allocations: 0.6573 MB / 0.656 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01498/1.317, allocations: 5.05 MB / 0.6609 GB, free: 0 / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/1.328, allocations: 8.641 MB / 0.6694 GB, free: 5.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009856/1.338, allocations: 6.078 MB / 0.6753 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.338, allocations: 44 kB / 0.6754 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.0457/1.384, allocations: 18.36 MB / 0.6933 GB, free: 3.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.384, allocations: 73 kB / 0.6934 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/1.384, allocations: 155.8 kB / 0.6935 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2768/1.661, allocations: 6.53 MB / 0.6999 GB, free: 84.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007408/1.669, allocations: 1.801 MB / 0.7017 GB, free: 84.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05641/1.725, allocations: 33.59 MB / 0.7345 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007735/1.733, allocations: 435.4 kB / 0.7349 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/1.735, allocations: 476.2 kB / 0.7353 GB, free: 79.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (923): * Single equations (assignments): 915 * 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,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003442/1.739, allocations: 0.5074 MB / 0.7358 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002477/1.741, allocations: 455.2 kB / 0.7363 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0293/1.771, allocations: 13.31 MB / 0.7493 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/1.771, allocations: 41.45 kB / 0.7493 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.337e-05/1.771, allocations: 34.44 kB / 0.7493 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.032e-05/1.771, allocations: 14.06 kB / 0.7493 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04897/1.82, allocations: 24.87 MB / 0.7736 GB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-05/1.82, allocations: 2.438 kB / 0.7736 GB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/1.822, allocations: 0.5299 MB / 0.7742 GB, free: 62.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.84, allocations: 6.236 MB / 0.7802 GB, free: 58.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/1.841, allocations: 18.48 kB / 0.7803 GB, free: 58.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04288/1.884, allocations: 30.62 MB / 0.8102 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.884, allocations: 15.97 kB / 0.8102 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03656/1.921, allocations: 19.71 MB / 0.8294 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003768/1.925, allocations: 1.266 MB / 0.8307 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/1.927, allocations: 15.94 kB / 0.8307 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/1.931, allocations: 288.5 kB / 0.831 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/1.932, allocations: 264.8 kB / 0.8312 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007168/1.933, allocations: 96.69 kB / 0.8313 GB, free: 7.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2441/2.177, allocations: 2.562 MB / 0.8338 GB, free: 82.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.177, allocations: 1.125 kB / 0.8338 GB, free: 82.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009533/2.187, allocations: 1.632 MB / 0.8354 GB, free: 82.16 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * 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 {(9,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000681/2.188, allocations: 158.4 kB / 0.8356 GB, free: 82.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01958/2.207, allocations: 11.36 MB / 0.8466 GB, free: 81.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/2.207, allocations: 3.062 kB / 0.8466 GB, free: 81.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009368/2.217, allocations: 5.494 MB / 0.852 GB, free: 80.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/2.22, allocations: 461.4 kB / 0.8525 GB, free: 80.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/2.257, allocations: 14.25 MB / 0.8664 GB, free: 78.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008875/2.266, allocations: 4.687 MB / 0.8709 GB, free: 77.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006582/2.273, allocations: 2.45 MB / 0.8733 GB, free: 77.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/2.274, allocations: 311.2 kB / 0.8736 GB, free: 77.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/2.274, allocations: 3.969 kB / 0.8736 GB, free: 77.48 MB / 378.7 MB Notification: Performance of Templates: time 0.1258/2.4, allocations: 81.27 MB / 0.953 GB, free: 17.77 MB / 378.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)