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.001122/0.001122, allocations: 92.06 kB / 16.65 MB, free: 6.59 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.001141/0.001141, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.565/1.565, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005027/0.0005027, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.09967, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2615/0.3612, allocations: 68.46 MB / 396.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03705/0.3983, allocations: 13.99 MB / 410.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02019/0.4185, allocations: 306.7 kB / 411.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.421, allocations: 0.516 MB / 411.6 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.4275, allocations: 2.135 MB / 413.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.4298, allocations: 0.8545 MB / 414.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009759/0.4396, allocations: 8.53 MB / 423.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.4516, allocations: 7.433 MB / 430.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.4555, allocations: 1.577 MB / 432.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005633/0.4612, allocations: 2.67 MB / 434.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009843/0.4622, allocations: 192 kB / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.4652, allocations: 1.131 MB / 436.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003015/0.4682, allocations: 2.31 MB / 438.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.4728, allocations: 2.611 MB / 441 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.4849, allocations: 8.888 MB / 449.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4849, allocations: 4 kB / 449.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4849, allocations: 0 / 449.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003761/0.4853, allocations: 0 / 449.9 MB, free: 6.453 MB / 350.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.01241/0.4977, allocations: 5.207 MB / 455.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4978, allocations: 8.031 kB / 455.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.5106, allocations: 2.667 MB / 457.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008226/0.5188, allocations: 3.971 MB / 461.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.5192, allocations: 321.1 kB / 462.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.5207, allocations: 449.1 kB / 462.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.5426, allocations: 12.26 MB / 474.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.5428, allocations: 51.48 kB / 474.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/0.5433, allocations: 196.4 kB / 475 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003742/0.5471, allocations: 2.202 MB / 477.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/0.5687, allocations: 10.56 MB / 487.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06429/0.633, allocations: 47.6 MB / 0.5228 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.6448, allocations: 4.597 MB / 0.5273 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.6487, allocations: 2.643 MB / 0.5299 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2113/0.86, allocations: 10.43 MB / 0.5401 GB, free: 163 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.8601, allocations: 56.11 kB / 0.5401 GB, free: 163 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 6.352e-06/0.8601, allocations: 7.734 kB / 0.5401 GB, free: 163 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.05534/0.9154, allocations: 21.02 MB / 0.5607 GB, free: 156.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.9156, allocations: 208.2 kB / 0.5609 GB, free: 156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/0.9215, allocations: 4.82 MB / 0.5656 GB, free: 154.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004882/0.9221, allocations: 57.64 kB / 0.5656 GB, free: 154.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.9239, allocations: 3.727 MB / 0.5693 GB, free: 151.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000915/0.9249, allocations: 0.8307 MB / 0.5701 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006494/0.9255, allocations: 0.5949 MB / 0.5707 GB, free: 150.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.9256, allocations: 301.1 kB / 0.571 GB, free: 149.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.9287, allocations: 2.581 MB / 0.5735 GB, free: 147.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.9336, allocations: 6.565 MB / 0.5799 GB, free: 138.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008616/0.9423, allocations: 9.811 MB / 0.5895 GB, free: 127.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.791e-05/0.9424, allocations: 40 kB / 0.5895 GB, free: 127.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01751/0.9599, allocations: 10.27 MB / 0.5995 GB, free: 116.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.96, allocations: 76.19 kB / 0.5996 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/0.9602, allocations: 136 kB / 0.5997 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.9644, allocations: 1.616 MB / 0.6013 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/0.9693, allocations: 1.573 MB / 0.6029 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.9795, allocations: 9.549 MB / 0.6122 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/0.9852, allocations: 391.3 kB / 0.6126 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.9863, allocations: 417.6 kB / 0.613 GB, free: 102.8 MB / 446.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.004709/0.991, allocations: 2.566 MB / 0.6155 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009314/0.9919, allocations: 422.5 kB / 0.6159 GB, free: 99.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00781/0.9998, allocations: 4.633 MB / 0.6204 GB, free: 95.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/0.9998, allocations: 29.19 kB / 0.6204 GB, free: 95.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.9999, allocations: 8 kB / 0.6204 GB, free: 95.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.9999, allocations: 11.95 kB / 0.6204 GB, free: 95.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.017, allocations: 10.51 MB / 0.6307 GB, free: 84.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.017, allocations: 192 / 0.6307 GB, free: 84.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.018, allocations: 343.5 kB / 0.631 GB, free: 84.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/1.022, allocations: 1.363 MB / 0.6324 GB, free: 82.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/1.022, allocations: 45.48 kB / 0.6324 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009005/1.031, allocations: 8.752 MB / 0.6409 GB, free: 73.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.031, allocations: 4 kB / 0.6409 GB, free: 73.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.042, allocations: 7.576 MB / 0.6483 GB, free: 66.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.044, allocations: 0.7808 MB / 0.6491 GB, free: 65.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008152/1.045, allocations: 41.33 kB / 0.6491 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.047, allocations: 131.8 kB / 0.6493 GB, free: 65.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.047, allocations: 137.7 kB / 0.6494 GB, free: 65.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.047, allocations: 56.69 kB / 0.6495 GB, free: 65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004244/1.052, allocations: 3.041 MB / 0.6524 GB, free: 61.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.052, allocations: 0 / 0.6524 GB, free: 61.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005785/1.057, allocations: 1.257 MB / 0.6537 GB, free: 60.71 MB / 446.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.000533/1.058, allocations: 179.6 kB / 0.6538 GB, free: 60.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009235/1.067, allocations: 6.392 MB / 0.6601 GB, free: 54.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.067, allocations: 4 kB / 0.6601 GB, free: 54.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003412/1.071, allocations: 2.209 MB / 0.6622 GB, free: 51.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.075, allocations: 0.5116 MB / 0.6627 GB, free: 51.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.095, allocations: 14.48 MB / 0.6769 GB, free: 36.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005473/1.101, allocations: 4.003 MB / 0.6808 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00517/1.106, allocations: 2.087 MB / 0.6828 GB, free: 30.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/1.107, allocations: 287.4 kB / 0.6831 GB, free: 30.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.107, allocations: 0 / 0.6831 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Templates: time 0.3046/1.411, allocations: 44.89 MB / 0.7269 GB, free: 137.7 MB / 446.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)