Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008782/0.008781, allocations: 166.4 kB / 15.11 MB, free: 5.992 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.369/1.369, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001815/0.001815, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 38.77 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.3455, allocations: 86.65 MB / 399.5 MB, free: 3.824 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.3459, allocations: 91.89 kB / 399.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4016/0.7476, allocations: 106 MB / 0.4938 GB, free: 18.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7476, allocations: 0 / 0.4938 GB, free: 18.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002472/0.7479, allocations: 119.9 kB / 0.4939 GB, free: 18.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.01523/0.7631, allocations: 5.724 MB / 0.4995 GB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.7632, allocations: 8.031 kB / 0.4995 GB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/0.7882, allocations: 6.889 MB / 0.5063 GB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.8043, allocations: 6.828 MB / 0.5129 GB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.8047, allocations: 406.6 kB / 0.5133 GB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.8069, allocations: 0.531 MB / 0.5138 GB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.8321, allocations: 12.4 MB / 0.5259 GB, free: 28 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.8325, allocations: 75.34 kB / 0.526 GB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.8335, allocations: 259.9 kB / 0.5263 GB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/0.835, allocations: 1.121 MB / 0.5274 GB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.8544, allocations: 9.979 MB / 0.5371 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2668/1.121, allocations: 56.49 MB / 0.5923 GB, free: 22.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/1.131, allocations: 4.148 MB / 0.5963 GB, free: 21.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/1.146, allocations: 9.49 MB / 0.6056 GB, free: 19.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.146, allocations: 59.06 kB / 0.6056 GB, free: 19.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 6.472e-06/1.146, allocations: 0 / 0.6056 GB, free: 19.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.05301/1.199, allocations: 19.35 MB / 0.6245 GB, free: 12.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.199, allocations: 201.9 kB / 0.6247 GB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008331/1.208, allocations: 4.238 MB / 0.6289 GB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/1.208, allocations: 60.58 kB / 0.6289 GB, free: 10.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002539/1.211, allocations: 3.761 MB / 0.6326 GB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.212, allocations: 0.8348 MB / 0.6334 GB, free: 7.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/1.212, allocations: 131.5 kB / 0.6335 GB, free: 7.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003314/1.212, allocations: 0.5776 MB / 0.6341 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/1.216, allocations: 2.248 MB / 0.6363 GB, free: 6.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/1.221, allocations: 6.187 MB / 0.6423 GB, free: 116 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008201/1.229, allocations: 3.746 MB / 0.646 GB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002383/1.229, allocations: 40 kB / 0.646 GB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02101/1.25, allocations: 8.927 MB / 0.6548 GB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/1.251, allocations: 64 kB / 0.6548 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003422/1.251, allocations: 140 kB / 0.655 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/1.254, allocations: 0.9348 MB / 0.6559 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/1.259, allocations: 1.509 MB / 0.6573 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.27, allocations: 7.676 MB / 0.6648 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/1.276, allocations: 351.2 kB / 0.6652 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/1.278, allocations: 401.4 kB / 0.6656 GB, free: 13.21 MB / 378.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.008552/1.287, allocations: 2.569 MB / 0.6681 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/1.288, allocations: 426.5 kB / 0.6685 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008331/1.297, allocations: 3.587 MB / 0.672 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/1.297, allocations: 27.28 kB / 0.672 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/1.297, allocations: 7.375 kB / 0.672 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/1.297, allocations: 14.38 kB / 0.672 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2388/1.535, allocations: 9.26 MB / 0.6811 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/1.536, allocations: 4.531 kB / 0.6811 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.538, allocations: 344.5 kB / 0.6814 GB, free: 85.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.54, allocations: 0.6932 MB / 0.6821 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/1.54, allocations: 38.31 kB / 0.6821 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/1.547, allocations: 6.737 MB / 0.6887 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.547, allocations: 0.625 kB / 0.6887 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008651/1.556, allocations: 6.329 MB / 0.6949 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/1.558, allocations: 0.7389 MB / 0.6956 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007746/1.559, allocations: 37.72 kB / 0.6956 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.561, allocations: 110.5 kB / 0.6957 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/1.561, allocations: 139.3 kB / 0.6959 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.561, allocations: 59.16 kB / 0.6959 GB, free: 82.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005108/1.566, allocations: 2.998 MB / 0.6989 GB, free: 81.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.566, allocations: 0 / 0.6989 GB, free: 81.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006851/1.573, allocations: 1.192 MB / 0.7 GB, free: 81.95 MB / 378.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.0005674/1.574, allocations: 178.3 kB / 0.7002 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/1.586, allocations: 5.724 MB / 0.7058 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.586, allocations: 0 / 0.7058 GB, free: 81.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.589, allocations: 1.981 MB / 0.7077 GB, free: 81.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/1.593, allocations: 0.5191 MB / 0.7082 GB, free: 81.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/1.62, allocations: 13.38 MB / 0.7213 GB, free: 76.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007584/1.627, allocations: 4.113 MB / 0.7253 GB, free: 75.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006277/1.634, allocations: 2.102 MB / 0.7274 GB, free: 75.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.635, allocations: 278.2 kB / 0.7276 GB, free: 75.22 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/1.635, allocations: 0 / 0.7276 GB, free: 75.22 MB / 378.7 MB Notification: Performance of Templates: time 0.07193/1.707, allocations: 40.96 MB / 0.7676 GB, free: 53.78 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)