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.001055/0.001056, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.486/1.486, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001927/0.001927, allocations: 118.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.347e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07196/0.07202, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3052/0.3773, allocations: 86.57 MB / 394.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.3776, allocations: 83.45 kB / 394.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4708/0.8483, allocations: 106.1 MB / 0.4887 GB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.8484, allocations: 0 / 0.4887 GB, free: 69.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001979/0.8486, allocations: 111.5 kB / 0.4888 GB, free: 69.87 MB / 346.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.01171/0.8603, allocations: 5.26 MB / 0.4939 GB, free: 67.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8604, allocations: 13.19 kB / 0.4939 GB, free: 67.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02472/0.8851, allocations: 6.904 MB / 0.5007 GB, free: 67.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/0.9009, allocations: 6.776 MB / 0.5073 GB, free: 66.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.9013, allocations: 409.9 kB / 0.5077 GB, free: 66.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.9034, allocations: 0.5374 MB / 0.5082 GB, free: 66.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.9245, allocations: 12.29 MB / 0.5202 GB, free: 60.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.9247, allocations: 73.06 kB / 0.5203 GB, free: 60.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006475/0.9254, allocations: 260 kB / 0.5205 GB, free: 60.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.9266, allocations: 1.13 MB / 0.5216 GB, free: 60.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.9425, allocations: 9.786 MB / 0.5312 GB, free: 52.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05146/0.994, allocations: 56.49 MB / 0.5864 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009777/1.004, allocations: 4.102 MB / 0.5904 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/1.007, allocations: 2.264 MB / 0.5926 GB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2777/1.284, allocations: 9.475 MB / 0.6018 GB, free: 77.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.285, allocations: 55.25 kB / 0.6019 GB, free: 77.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=191): time 6.101e-06/1.285, allocations: 1.188 kB / 0.6019 GB, free: 77.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.04093/1.325, allocations: 16.5 MB / 0.618 GB, free: 74.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/1.326, allocations: 201.2 kB / 0.6182 GB, free: 74.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/1.332, allocations: 4.195 MB / 0.6223 GB, free: 74.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002829/1.332, allocations: 58.14 kB / 0.6223 GB, free: 74.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.334, allocations: 3.763 MB / 0.626 GB, free: 72.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000722/1.335, allocations: 0.8265 MB / 0.6268 GB, free: 71.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.335, allocations: 131.7 kB / 0.6269 GB, free: 71.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003299/1.335, allocations: 0.5867 MB / 0.6275 GB, free: 71.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.338, allocations: 2.176 MB / 0.6296 GB, free: 71.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/1.343, allocations: 6.114 MB / 0.6356 GB, free: 65.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/1.347, allocations: 3.641 MB / 0.6392 GB, free: 64.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-05/1.347, allocations: 37.84 kB / 0.6392 GB, free: 64.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.01247/1.36, allocations: 8.792 MB / 0.6478 GB, free: 61.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/1.36, allocations: 62.81 kB / 0.6478 GB, free: 61.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/1.36, allocations: 143.1 kB / 0.648 GB, free: 61.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/1.362, allocations: 0.9379 MB / 0.6489 GB, free: 61.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.366, allocations: 1.507 MB / 0.6504 GB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/1.374, allocations: 7.406 MB / 0.6576 GB, free: 56.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.379, allocations: 360.1 kB / 0.6579 GB, free: 56.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006863/1.38, allocations: 401 kB / 0.6583 GB, free: 56.51 MB / 362.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 () * 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.0009018/1.381, allocations: 0.6091 MB / 0.6589 GB, free: 56.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/1.381, allocations: 431.6 kB / 0.6593 GB, free: 55.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/1.387, allocations: 3.513 MB / 0.6628 GB, free: 54.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/1.387, allocations: 23.66 kB / 0.6628 GB, free: 54.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.387, allocations: 7.156 kB / 0.6628 GB, free: 54.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.387, allocations: 14.14 kB / 0.6628 GB, free: 54.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.402, allocations: 9.184 MB / 0.6718 GB, free: 48.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.402, allocations: 6.984 kB / 0.6718 GB, free: 48.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.404, allocations: 343.5 kB / 0.6721 GB, free: 48.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.406, allocations: 0.6895 MB / 0.6728 GB, free: 47.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.406, allocations: 37.91 kB / 0.6728 GB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/1.412, allocations: 6.555 MB / 0.6792 GB, free: 41.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.412, allocations: 3.516 kB / 0.6792 GB, free: 41.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007989/1.42, allocations: 6.217 MB / 0.6853 GB, free: 35.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00257/1.423, allocations: 0.7425 MB / 0.686 GB, free: 35.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009513/1.424, allocations: 32 kB / 0.6861 GB, free: 35.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.426, allocations: 107.1 kB / 0.6862 GB, free: 35.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.426, allocations: 138.1 kB / 0.6863 GB, free: 34.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.426, allocations: 59.12 kB / 0.6863 GB, free: 34.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004495/1.431, allocations: 2.958 MB / 0.6892 GB, free: 32.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.431, allocations: 0 / 0.6892 GB, free: 32.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006066/1.437, allocations: 1.188 MB / 0.6904 GB, free: 31.12 MB / 362.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 () * 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.0004538/1.437, allocations: 176.1 kB / 0.6906 GB, free: 30.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007634/1.445, allocations: 5.601 MB / 0.696 GB, free: 25.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.445, allocations: 0 / 0.696 GB, free: 25.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/1.447, allocations: 1.948 MB / 0.6979 GB, free: 24.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.45, allocations: 0.523 MB / 0.6984 GB, free: 23.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.467, allocations: 9.274 MB / 0.7075 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.471, allocations: 4.103 MB / 0.7115 GB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004883/1.476, allocations: 2.101 MB / 0.7136 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/1.477, allocations: 285 kB / 0.7138 GB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/1.477, allocations: 0 / 0.7138 GB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.3075/1.784, allocations: 40.96 MB / 0.7538 GB, free: 79.08 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)