Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.129/1.129, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001529/0.001529, allocations: 123.6 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.000268, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06962/0.0699, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2445/0.3144, allocations: 96.05 MB / 451.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3147, allocations: 92.02 kB / 451.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3623/0.677, allocations: 95.86 MB / 0.5342 GB, free: 82.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.677, allocations: 0.8438 kB / 0.5342 GB, free: 82.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.6772, allocations: 102.2 kB / 0.5343 GB, free: 82.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.02126/0.6985, allocations: 6.303 MB / 0.5405 GB, free: 80.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6986, allocations: 9 kB / 0.5405 GB, free: 80.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.7131, allocations: 4.396 MB / 0.5448 GB, free: 80.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.7246, allocations: 5.26 MB / 0.5499 GB, free: 79.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.7248, allocations: 377.4 kB / 0.5503 GB, free: 79.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009059/0.7257, allocations: 0.5018 MB / 0.5508 GB, free: 79.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.7429, allocations: 12.88 MB / 0.5634 GB, free: 76.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.743, allocations: 71.39 kB / 0.5634 GB, free: 76.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/0.7436, allocations: 245.5 kB / 0.5637 GB, free: 76.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/0.7447, allocations: 1.095 MB / 0.5647 GB, free: 76.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.7613, allocations: 11.37 MB / 0.5758 GB, free: 72.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04432/0.8057, allocations: 55.94 MB / 0.6305 GB, free: 26.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.8217, allocations: 5.882 MB / 0.6362 GB, free: 20.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.8232, allocations: 1.035 MB / 0.6372 GB, free: 18.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.8232, allocations: 63.88 kB / 0.6373 GB, free: 18.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 4.589e-06/0.8232, allocations: 0 / 0.6373 GB, free: 18.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=255): time 0.07062/0.8939, allocations: 31.4 MB / 0.668 GB, free: 3.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.894, allocations: 205.9 kB / 0.6681 GB, free: 2.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1571/1.051, allocations: 3.836 MB / 0.6719 GB, free: 90.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006882/1.052, allocations: 62.39 kB / 0.672 GB, free: 90.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/1.054, allocations: 3.465 MB / 0.6753 GB, free: 89.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009852/1.055, allocations: 0.9575 MB / 0.6763 GB, free: 89.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/1.055, allocations: 133.7 kB / 0.6764 GB, free: 89.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/1.056, allocations: 0.5921 MB / 0.677 GB, free: 89.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.06, allocations: 3.472 MB / 0.6804 GB, free: 89.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005794/1.065, allocations: 7.326 MB / 0.6875 GB, free: 84.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/1.073, allocations: 4.944 MB / 0.6924 GB, free: 84.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/1.073, allocations: 39.83 kB / 0.6924 GB, free: 84.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.02246/1.095, allocations: 12.72 MB / 0.7048 GB, free: 82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.095, allocations: 63.25 kB / 0.7049 GB, free: 82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.096, allocations: 139.1 kB / 0.705 GB, free: 82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005849/1.101, allocations: 2.273 MB / 0.7072 GB, free: 81.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005669/1.107, allocations: 1.637 MB / 0.7088 GB, free: 81.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.123, allocations: 15.6 MB / 0.7241 GB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005938/1.129, allocations: 455.5 kB / 0.7245 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.13, allocations: 439.5 kB / 0.7249 GB, free: 72.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 803 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003961/1.134, allocations: 2.371 MB / 0.7272 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007999/1.135, allocations: 402.3 kB / 0.7276 GB, free: 71.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.147, allocations: 7.662 MB / 0.7351 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/1.147, allocations: 38.5 kB / 0.7351 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.147, allocations: 7.656 kB / 0.7351 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/1.147, allocations: 18.86 kB / 0.7352 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.168, allocations: 15.09 MB / 0.7499 GB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.168, allocations: 2.375 kB / 0.7499 GB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.17, allocations: 443.4 kB / 0.7503 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/1.175, allocations: 2.036 MB / 0.7523 GB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/1.175, allocations: 43.41 kB / 0.7524 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.19, allocations: 14.32 MB / 0.7663 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.191, allocations: 0 / 0.7663 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.207, allocations: 12.08 MB / 0.7781 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/1.21, allocations: 0.9754 MB / 0.7791 GB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009703/1.211, allocations: 40 kB / 0.7791 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.214, allocations: 216.4 kB / 0.7793 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/1.214, allocations: 160.1 kB / 0.7795 GB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.214, allocations: 63.66 kB / 0.7795 GB, free: 40.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00336/1.218, allocations: 2.686 MB / 0.7822 GB, free: 38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.218, allocations: 0 / 0.7822 GB, free: 38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005629/1.223, allocations: 1.388 MB / 0.7835 GB, free: 36.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005194/1.224, allocations: 198.5 kB / 0.7837 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/1.235, allocations: 8.631 MB / 0.7921 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.235, allocations: 2.625 kB / 0.7921 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004911/1.24, allocations: 3.763 MB / 0.7958 GB, free: 24.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.242, allocations: 460.7 kB / 0.7963 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.264, allocations: 14.1 MB / 0.81 GB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00525/1.269, allocations: 3.85 MB / 0.8138 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005865/1.275, allocations: 2.243 MB / 0.816 GB, free: 3.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/1.277, allocations: 315.3 kB / 0.8163 GB, free: 3.098 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/1.277, allocations: 0 / 0.8163 GB, free: 3.098 MB / 410.7 MB Notification: Performance of Templates: time 0.2524/1.529, allocations: 59.78 MB / 0.8747 GB, free: 86.21 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)