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.001503/0.001503, allocations: 185.6 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.558/1.558, allocations: 194.3 MB / 203.1 MB, free: 13 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.001856/0.001856, allocations: 124.3 kB / 248.1 MB, free: 8 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.409e-05, allocations: 0 / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08578, allocations: 44.5 MB / 342.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.453, allocations: 92.1 MB / 434.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4533, allocations: 86.67 kB / 434.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2555/0.7088, allocations: 104 MB / 0.5261 GB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7088, allocations: 0 / 0.5261 GB, free: 10.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002574/0.7091, allocations: 104 kB / 0.5262 GB, free: 10.41 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.01662/0.7257, allocations: 5.255 MB / 0.5314 GB, free: 5.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.7258, allocations: 8.031 kB / 0.5314 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2645/0.9903, allocations: 6.937 MB / 0.5381 GB, free: 71.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.008, allocations: 6.801 MB / 0.5448 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/1.009, allocations: 172.8 kB / 0.5449 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003213/1.012, allocations: 325.5 kB / 0.5453 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01614/1.028, allocations: 7.557 MB / 0.5526 GB, free: 70.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/1.048, allocations: 11.31 MB / 0.5637 GB, free: 67.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/1.048, allocations: 73.16 kB / 0.5638 GB, free: 67.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005975/1.049, allocations: 38.91 kB / 0.5638 GB, free: 67.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/1.05, allocations: 1.13 MB / 0.5649 GB, free: 67.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05986/1.11, allocations: 55.95 MB / 0.6195 GB, free: 30.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004673/1.115, allocations: 3.498 MB / 0.6229 GB, free: 28.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/1.118, allocations: 2.277 MB / 0.6252 GB, free: 27.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/1.118, allocations: 340.5 kB / 0.6255 GB, free: 27.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/1.118, allocations: 59.16 kB / 0.6255 GB, free: 27.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 6.593e-06/1.118, allocations: 0 / 0.6255 GB, free: 27.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=228): time 0.04286/1.161, allocations: 19.95 MB / 0.645 GB, free: 18.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.161, allocations: 207.9 kB / 0.6452 GB, free: 17.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006593/1.168, allocations: 3.649 MB / 0.6488 GB, free: 14.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004376/1.168, allocations: 28.89 kB / 0.6488 GB, free: 14.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/1.171, allocations: 3.821 MB / 0.6525 GB, free: 11.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.172, allocations: 0.8343 MB / 0.6534 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.172, allocations: 2.938 kB / 0.6534 GB, free: 10.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/1.172, allocations: 0.594 MB / 0.6539 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.175, allocations: 2.169 MB / 0.6561 GB, free: 7.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.179, allocations: 6.244 MB / 0.6622 GB, free: 16 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005236/1.184, allocations: 3.666 MB / 0.6657 GB, free: 12.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-05/1.184, allocations: 40 kB / 0.6658 GB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01624/1.201, allocations: 8.225 MB / 0.6738 GB, free: 5.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/1.201, allocations: 68.97 kB / 0.6739 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/1.201, allocations: 147.6 kB / 0.674 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/1.203, allocations: 0.9592 MB / 0.675 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/1.209, allocations: 1.573 MB / 0.6765 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.219, allocations: 7.341 MB / 0.6837 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006095/1.225, allocations: 236 kB / 0.6839 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.226, allocations: 410.6 kB / 0.6843 GB, free: 12.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * Single equations (assignments): 827 * 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.001141/1.228, allocations: 489.9 kB / 0.6847 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009784/1.229, allocations: 402.8 kB / 0.6851 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00648/1.235, allocations: 3.48 MB / 0.6885 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.235, allocations: 27.75 kB / 0.6886 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.235, allocations: 11.38 kB / 0.6886 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.235, allocations: 18.5 kB / 0.6886 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/1.252, allocations: 8.557 MB / 0.6969 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.252, allocations: 7.953 kB / 0.6969 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.254, allocations: 356.4 kB / 0.6973 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/1.256, allocations: 0.6787 MB / 0.6979 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.256, allocations: 4 kB / 0.6979 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2631/1.519, allocations: 6.209 MB / 0.704 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.519, allocations: 2.781 kB / 0.704 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.531, allocations: 6.322 MB / 0.7102 GB, free: 88.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.533, allocations: 0.7083 MB / 0.7109 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/1.534, allocations: 4.672 kB / 0.7109 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.535, allocations: 78.62 kB / 0.711 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.535, allocations: 145.3 kB / 0.7111 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.536, allocations: 57.47 kB / 0.7112 GB, free: 88.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004764/1.54, allocations: 2.482 MB / 0.7136 GB, free: 87.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.54, allocations: 0 / 0.7136 GB, free: 87.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006241/1.547, allocations: 1.034 MB / 0.7146 GB, free: 87.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 174 * 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.0005332/1.547, allocations: 146 kB / 0.7147 GB, free: 87.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009484/1.557, allocations: 5.464 MB / 0.7201 GB, free: 87.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.557, allocations: 0 / 0.7201 GB, free: 87.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.56, allocations: 1.941 MB / 0.722 GB, free: 87.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.563, allocations: 446.4 kB / 0.7224 GB, free: 87.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.582, allocations: 9.252 MB / 0.7314 GB, free: 85.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004698/1.587, allocations: 4.107 MB / 0.7354 GB, free: 84.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005155/1.592, allocations: 2.174 MB / 0.7376 GB, free: 84.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/1.593, allocations: 278.3 kB / 0.7378 GB, free: 84.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.593, allocations: 0 / 0.7378 GB, free: 84.61 MB / 426.7 MB Notification: Performance of Templates: time 0.06697/1.66, allocations: 36.48 MB / 0.7734 GB, free: 81.95 MB / 426.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)