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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 107.5 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 44.36 kB / 280 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09541, allocations: 46.63 MB / 326.6 MB, free: 4.449 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01531/0.1107, allocations: 14.22 MB / 340.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1212, allocations: 4.661 MB / 345.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.124, allocations: 95.75 kB / 345.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008002/0.132, allocations: 4.225 MB / 349.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006707/0.1387, allocations: 2.26 MB / 352.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.1413, allocations: 0.9282 MB / 353 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008742/0.1501, allocations: 5.898 MB / 358.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007859/0.158, allocations: 5.305 MB / 364.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.1626, allocations: 2.2 MB / 366.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00504/0.1677, allocations: 2.944 MB / 369.4 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.1697, allocations: 496 kB / 369.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004077/0.1738, allocations: 1.358 MB / 371.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004005/0.1778, allocations: 2.638 MB / 373.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005729/0.1836, allocations: 3.003 MB / 376.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1844/0.368, allocations: 9.298 MB / 386.1 MB, free: 24.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.368, allocations: 3.531 kB / 386.1 MB, free: 24.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.368, allocations: 0 / 386.1 MB, free: 24.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003825/0.3684, allocations: 0.9688 kB / 386.1 MB, free: 24.97 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02353/0.392, allocations: 6.337 MB / 392.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.392, allocations: 9.375 kB / 392.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.4052, allocations: 2.618 MB / 395.1 MB, free: 22.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009192/0.4144, allocations: 3.968 MB / 399.1 MB, free: 21.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.4147, allocations: 314.2 kB / 399.4 MB, free: 21.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.4165, allocations: 446.4 kB / 399.8 MB, free: 21.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.4407, allocations: 12.24 MB / 412.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002367/0.441, allocations: 59.67 kB / 412.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007698/0.4418, allocations: 195.4 kB / 412.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00321/0.445, allocations: 2.205 MB / 414.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.4641, allocations: 10.54 MB / 425.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07127/0.5354, allocations: 47.56 MB / 472.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.5473, allocations: 4.595 MB / 477.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.5509, allocations: 2.648 MB / 479.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01822/0.5691, allocations: 10.43 MB / 490.3 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.5692, allocations: 59.16 kB / 490.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 4.248e-06/0.5692, allocations: 0 / 490.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.06143/0.6307, allocations: 20.98 MB / 0.4994 GB, free: 12.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6308, allocations: 200.6 kB / 0.4995 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009747/0.6406, allocations: 4.827 MB / 0.5043 GB, free: 7.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005518/0.6412, allocations: 53.7 kB / 0.5043 GB, free: 7.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003237/0.6444, allocations: 3.725 MB / 0.5079 GB, free: 3.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/0.6458, allocations: 0.8299 MB / 0.5088 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/0.6487, allocations: 1.401 MB / 0.5101 GB, free: 1.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.6488, allocations: 305.1 kB / 0.5104 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004261/0.6531, allocations: 2.574 MB / 0.5129 GB, free: 14.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006751/0.6598, allocations: 6.555 MB / 0.5193 GB, free: 6.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1882/0.848, allocations: 9.799 MB / 0.5289 GB, free: 140 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/0.8482, allocations: 39.28 kB / 0.5289 GB, free: 140 MB / 430.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02049/0.8687, allocations: 10.26 MB / 0.539 GB, free: 137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.8688, allocations: 62.78 kB / 0.539 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.8689, allocations: 144.2 kB / 0.5392 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/0.873, allocations: 1.617 MB / 0.5407 GB, free: 136.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/0.8783, allocations: 1.566 MB / 0.5423 GB, free: 136.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.8891, allocations: 10.27 MB / 0.5523 GB, free: 130.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/0.8957, allocations: 382.6 kB / 0.5527 GB, free: 130.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/0.8974, allocations: 407.8 kB / 0.5531 GB, free: 130.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005725/0.9031, allocations: 2.576 MB / 0.5556 GB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.9042, allocations: 424 kB / 0.556 GB, free: 128.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008381/0.9126, allocations: 4.618 MB / 0.5605 GB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/0.9127, allocations: 28.97 kB / 0.5605 GB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.9127, allocations: 12 kB / 0.5605 GB, free: 124.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/0.9127, allocations: 11.91 kB / 0.5605 GB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02224/0.935, allocations: 10.49 MB / 0.5708 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.935, allocations: 0 / 0.5708 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.9367, allocations: 343.5 kB / 0.5711 GB, free: 113.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003864/0.9406, allocations: 1.367 MB / 0.5724 GB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/0.941, allocations: 41.08 kB / 0.5725 GB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.951, allocations: 9.394 MB / 0.5817 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.951, allocations: 0 / 0.5817 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.9626, allocations: 7.574 MB / 0.589 GB, free: 95.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/0.965, allocations: 0.7834 MB / 0.5898 GB, free: 94.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/0.9666, allocations: 32.86 kB / 0.5898 GB, free: 94.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/0.9693, allocations: 127.8 kB / 0.59 GB, free: 94.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.9699, allocations: 133.8 kB / 0.5901 GB, free: 94.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/0.9701, allocations: 66.64 kB / 0.5902 GB, free: 94.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007008/0.9771, allocations: 3.037 MB / 0.5931 GB, free: 91.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9772, allocations: 0 / 0.5931 GB, free: 91.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009521/0.9867, allocations: 1.258 MB / 0.5944 GB, free: 89.94 MB / 430.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008866/0.9876, allocations: 168.6 kB / 0.5945 GB, free: 89.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01429/1.002, allocations: 7.786 MB / 0.6021 GB, free: 82.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.002, allocations: 4 kB / 0.6021 GB, free: 82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.006, allocations: 2.196 MB / 0.6043 GB, free: 79.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/1.012, allocations: 0.5457 MB / 0.6048 GB, free: 79.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/1.036, allocations: 11.86 MB / 0.6164 GB, free: 67.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006425/1.043, allocations: 4.003 MB / 0.6203 GB, free: 63.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005181/1.048, allocations: 2.083 MB / 0.6223 GB, free: 61.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008829/1.049, allocations: 283.4 kB / 0.6226 GB, free: 60.97 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/1.049, allocations: 0 / 0.6226 GB, free: 60.97 MB / 430.1 MB Notification: Performance of Templates: time 0.08225/1.131, allocations: 47.49 MB / 0.669 GB, free: 13.5 MB / 430.1 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)