Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.2 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.196/1.196, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001514/0.001514, allocations: 115.8 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07702, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.3135, allocations: 92.84 MB / 447.9 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3137, allocations: 97.62 kB / 448 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3804/0.6941, allocations: 106.3 MB / 0.5413 GB, free: 80.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6941, allocations: 0 / 0.5413 GB, free: 80.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002162/0.6944, allocations: 106.6 kB / 0.5414 GB, free: 80.89 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: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01229/0.7067, allocations: 5.728 MB / 0.547 GB, free: 78.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7067, allocations: 11.22 kB / 0.547 GB, free: 78.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/0.7293, allocations: 6.93 MB / 0.5538 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.7428, allocations: 6.827 MB / 0.5605 GB, free: 77.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.7431, allocations: 412.5 kB / 0.5608 GB, free: 77.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.7446, allocations: 0.5378 MB / 0.5614 GB, free: 77.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.7624, allocations: 12.78 MB / 0.5738 GB, free: 72.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.7626, allocations: 80.52 kB / 0.5739 GB, free: 72.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006111/0.7632, allocations: 258.4 kB / 0.5742 GB, free: 72.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/0.7642, allocations: 1.121 MB / 0.5753 GB, free: 72.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.7795, allocations: 10.48 MB / 0.5855 GB, free: 68.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04685/0.8264, allocations: 57.08 MB / 0.6413 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008823/0.8353, allocations: 4.419 MB / 0.6456 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.8467, allocations: 9.972 MB / 0.6553 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8468, allocations: 51.88 kB / 0.6554 GB, free: 412 kB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 3.897e-06/0.8468, allocations: 0 / 0.6554 GB, free: 412 kB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.2033/1.05, allocations: 18.95 MB / 0.6739 GB, free: 89.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/1.05, allocations: 206.2 kB / 0.6741 GB, free: 88.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005856/1.056, allocations: 4.231 MB / 0.6782 GB, free: 88.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/1.056, allocations: 57.52 kB / 0.6782 GB, free: 88.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.058, allocations: 3.754 MB / 0.6819 GB, free: 86.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008287/1.059, allocations: 0.835 MB / 0.6827 GB, free: 86.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/1.059, allocations: 134.4 kB / 0.6829 GB, free: 86.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003353/1.06, allocations: 0.5843 MB / 0.6834 GB, free: 86.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/1.063, allocations: 2.253 MB / 0.6856 GB, free: 86.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/1.067, allocations: 6.193 MB / 0.6917 GB, free: 81.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/1.073, allocations: 3.67 MB / 0.6953 GB, free: 81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.073, allocations: 40.34 kB / 0.6953 GB, free: 81 MB / 410.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.01655/1.089, allocations: 8.942 MB / 0.704 GB, free: 80.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/1.089, allocations: 69.02 kB / 0.7041 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.09, allocations: 139.2 kB / 0.7042 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/1.092, allocations: 0.9362 MB / 0.7051 GB, free: 80 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/1.097, allocations: 1.515 MB / 0.7066 GB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/1.104, allocations: 7.6 MB / 0.714 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.109, allocations: 362.4 kB / 0.7144 GB, free: 74.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.11, allocations: 393.6 kB / 0.7148 GB, free: 74.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 790 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005316/1.116, allocations: 2.565 MB / 0.7173 GB, free: 73.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.117, allocations: 429.9 kB / 0.7177 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/1.123, allocations: 3.613 MB / 0.7212 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.123, allocations: 22.62 kB / 0.7212 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/1.123, allocations: 7.406 kB / 0.7212 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.123, allocations: 14.3 kB / 0.7213 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.139, allocations: 9.29 MB / 0.7303 GB, free: 68.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.139, allocations: 0 / 0.7303 GB, free: 68.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.14, allocations: 352 kB / 0.7307 GB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.142, allocations: 0.6863 MB / 0.7313 GB, free: 68.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/1.142, allocations: 37.88 kB / 0.7314 GB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/1.148, allocations: 6.744 MB / 0.738 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.149, allocations: 3.906 kB / 0.738 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/1.156, allocations: 6.376 MB / 0.7442 GB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.158, allocations: 0.7402 MB / 0.7449 GB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/1.159, allocations: 41.67 kB / 0.7449 GB, free: 60.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.16, allocations: 107.7 kB / 0.745 GB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/1.16, allocations: 125.5 kB / 0.7452 GB, free: 60.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.161, allocations: 55.22 kB / 0.7452 GB, free: 60.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003559/1.164, allocations: 2.991 MB / 0.7481 GB, free: 59.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.164, allocations: 1.406 kB / 0.7481 GB, free: 59.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004741/1.169, allocations: 1.189 MB / 0.7493 GB, free: 59.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003436/1.169, allocations: 181.6 kB / 0.7495 GB, free: 59.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006905/1.176, allocations: 5.758 MB / 0.7551 GB, free: 57.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.176, allocations: 0 / 0.7551 GB, free: 57.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.179, allocations: 2.005 MB / 0.7571 GB, free: 56.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.181, allocations: 0.5254 MB / 0.7576 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.196, allocations: 13.38 MB / 0.7706 GB, free: 43.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003425/1.2, allocations: 4.104 MB / 0.7746 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004795/1.205, allocations: 2.097 MB / 0.7767 GB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/1.205, allocations: 282.8 kB / 0.777 GB, free: 38.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/1.205, allocations: 0 / 0.777 GB, free: 38.89 MB / 410.7 MB Notification: Performance of Templates: time 0.06353/1.269, allocations: 40.95 MB / 0.8169 GB, free: 3.164 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)