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.002118/0.002118, allocations: 182.3 kB / 13.64 MB, free: 1.676 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.719/1.719, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001687/0.001687, allocations: 122.2 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.559e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07418/0.07422, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4097, allocations: 92.76 MB / 442.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.41, allocations: 83.89 kB / 442.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5501/0.9601, allocations: 106.4 MB / 0.5358 GB, free: 68.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.9601, allocations: 0 / 0.5358 GB, free: 68.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000507/0.9607, allocations: 105.2 kB / 0.5359 GB, free: 68.53 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.02153/0.9822, allocations: 5.263 MB / 0.5411 GB, free: 67.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9823, allocations: 9.438 kB / 0.5411 GB, free: 67.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/1.011, allocations: 6.938 MB / 0.5479 GB, free: 67.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/1.03, allocations: 6.803 MB / 0.5545 GB, free: 66.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/1.03, allocations: 403.5 kB / 0.5549 GB, free: 66.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/1.033, allocations: 0.5415 MB / 0.5554 GB, free: 66.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/1.056, allocations: 12.66 MB / 0.5678 GB, free: 63.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.057, allocations: 75.53 kB / 0.5678 GB, free: 63.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008041/1.057, allocations: 262.5 kB / 0.5681 GB, free: 63.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/1.059, allocations: 1.127 MB / 0.5692 GB, free: 63.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/1.079, allocations: 10.29 MB / 0.5792 GB, free: 63.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/1.141, allocations: 57.09 MB / 0.635 GB, free: 22.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009906/1.151, allocations: 4.364 MB / 0.6393 GB, free: 20.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/1.154, allocations: 2.377 MB / 0.6416 GB, free: 19.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/1.168, allocations: 9.969 MB / 0.6513 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.168, allocations: 57.97 kB / 0.6514 GB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 4.649e-06/1.168, allocations: 0 / 0.6514 GB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.03968/1.208, allocations: 16.17 MB / 0.6672 GB, free: 12.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.208, allocations: 203 kB / 0.6673 GB, free: 12.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006704/1.215, allocations: 4.178 MB / 0.6714 GB, free: 8.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.215, allocations: 57.7 kB / 0.6715 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002933/1.218, allocations: 3.769 MB / 0.6752 GB, free: 5.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000936/1.219, allocations: 0.8365 MB / 0.676 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.219, allocations: 132 kB / 0.6761 GB, free: 4.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003884/1.219, allocations: 0.5759 MB / 0.6767 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/1.223, allocations: 2.188 MB / 0.6788 GB, free: 2.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/1.229, allocations: 6.126 MB / 0.6848 GB, free: 10.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/1.234, allocations: 3.641 MB / 0.6883 GB, free: 7.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-05/1.234, allocations: 40 kB / 0.6884 GB, free: 7.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.3143/1.548, allocations: 8.8 MB / 0.697 GB, free: 87.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/1.548, allocations: 64.47 kB / 0.697 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003335/1.548, allocations: 143.5 kB / 0.6972 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/1.552, allocations: 0.94 MB / 0.6981 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006023/1.558, allocations: 1.507 MB / 0.6996 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009251/1.567, allocations: 7.407 MB / 0.7068 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/1.573, allocations: 356.8 kB / 0.7071 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.575, allocations: 399.8 kB / 0.7075 GB, free: 85.03 MB / 426.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.001096/1.576, allocations: 0.6112 MB / 0.7081 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.577, allocations: 426.5 kB / 0.7085 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007003/1.584, allocations: 3.537 MB / 0.712 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/1.584, allocations: 25.88 kB / 0.712 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.584, allocations: 6.594 kB / 0.712 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/1.584, allocations: 14.22 kB / 0.712 GB, free: 84.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.6, allocations: 9.229 MB / 0.721 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.6, allocations: 2.953 kB / 0.721 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.602, allocations: 346.9 kB / 0.7214 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/1.604, allocations: 0.6802 MB / 0.722 GB, free: 84.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.604, allocations: 39.09 kB / 0.7221 GB, free: 84.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/1.611, allocations: 6.548 MB / 0.7285 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.611, allocations: 0 / 0.7285 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00847/1.619, allocations: 6.253 MB / 0.7346 GB, free: 81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/1.622, allocations: 0.7421 MB / 0.7353 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/1.622, allocations: 32.25 kB / 0.7353 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.624, allocations: 107.8 kB / 0.7354 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.624, allocations: 132.3 kB / 0.7356 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.624, allocations: 60.19 kB / 0.7356 GB, free: 80.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004974/1.629, allocations: 2.952 MB / 0.7385 GB, free: 80.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.629, allocations: 0 / 0.7385 GB, free: 80.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006584/1.636, allocations: 1.184 MB / 0.7396 GB, free: 80.61 MB / 426.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.0005236/1.637, allocations: 179.1 kB / 0.7398 GB, free: 80.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008435/1.645, allocations: 5.635 MB / 0.7453 GB, free: 79.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.645, allocations: 3.469 kB / 0.7453 GB, free: 79.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/1.648, allocations: 1.963 MB / 0.7472 GB, free: 78.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.651, allocations: 0.5346 MB / 0.7478 GB, free: 78.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/1.668, allocations: 9.275 MB / 0.7568 GB, free: 75.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004117/1.672, allocations: 4.109 MB / 0.7608 GB, free: 73.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005206/1.678, allocations: 2.09 MB / 0.7629 GB, free: 73.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/1.679, allocations: 288.5 kB / 0.7632 GB, free: 73.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/1.679, allocations: 0 / 0.7632 GB, free: 73.55 MB / 426.7 MB Notification: Performance of Templates: time 0.08051/1.759, allocations: 40.97 MB / 0.8032 GB, free: 51.5 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)