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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002207/0.002207, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.509/1.509, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.001566/0.001565, allocations: 55.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3173, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.06405/0.3814, allocations: 70.16 MB / 395 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03718/0.4186, allocations: 13.95 MB / 409 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01768/0.4364, allocations: 303.2 kB / 409.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007947/0.4444, allocations: 4.079 MB / 413.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007152/0.4516, allocations: 2.114 MB / 415.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.4545, allocations: 0.8699 MB / 416.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.4648, allocations: 6.136 MB / 422.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007963/0.4728, allocations: 5.581 MB / 428 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.4777, allocations: 2.251 MB / 430.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/0.4835, allocations: 3.252 MB / 433.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.4852, allocations: 0.4922 MB / 434 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.4886, allocations: 1.377 MB / 435.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.492, allocations: 2.673 MB / 438.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005352/0.4974, allocations: 3.03 MB / 441.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.5096, allocations: 9.358 MB / 450.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5097, allocations: 0 / 450.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5097, allocations: 0 / 450.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003631/0.5101, allocations: 0 / 450.5 MB, free: 5.984 MB / 382.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.2559/0.766, allocations: 6.339 MB / 456.8 MB, free: 115.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.7661, allocations: 9.25 kB / 456.8 MB, free: 115.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.78, allocations: 2.621 MB / 459.4 MB, free: 114.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.7908, allocations: 3.969 MB / 463.4 MB, free: 112.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.7913, allocations: 314.5 kB / 463.7 MB, free: 112.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/0.7936, allocations: 444.1 kB / 464.2 MB, free: 112.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.8148, allocations: 12.25 MB / 476.4 MB, free: 101 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.815, allocations: 55.5 kB / 476.5 MB, free: 101 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.8156, allocations: 190.2 kB / 476.6 MB, free: 100.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002915/0.8185, allocations: 2.212 MB / 478.9 MB, free: 98.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.8364, allocations: 10.53 MB / 489.4 MB, free: 88.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05304/0.8895, allocations: 47.58 MB / 0.5244 GB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.9, allocations: 4.602 MB / 0.5289 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.9033, allocations: 2.639 MB / 0.5314 GB, free: 31.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.9181, allocations: 10.44 MB / 0.5416 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.9182, allocations: 59.8 kB / 0.5417 GB, free: 21.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 6.292e-06/0.9182, allocations: 0 / 0.5417 GB, free: 21.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.05006/0.9683, allocations: 20.98 MB / 0.5622 GB, free: 56 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.9685, allocations: 205.2 kB / 0.5624 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/0.9758, allocations: 4.816 MB / 0.5671 GB, free: 10.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000572/0.9764, allocations: 57.7 kB / 0.5671 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003134/0.9795, allocations: 3.731 MB / 0.5708 GB, free: 7.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.9809, allocations: 0.8292 MB / 0.5716 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/0.983, allocations: 1.392 MB / 0.5729 GB, free: 4.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9831, allocations: 309.1 kB / 0.5732 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/0.9869, allocations: 2.578 MB / 0.5758 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007121/0.994, allocations: 6.558 MB / 0.5822 GB, free: 9.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/1.007, allocations: 9.8 MB / 0.5917 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.007, allocations: 45.62 kB / 0.5918 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02121/1.029, allocations: 10.26 MB / 0.6018 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.029, allocations: 64.94 kB / 0.6019 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/1.029, allocations: 143.9 kB / 0.602 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/1.033, allocations: 1.624 MB / 0.6036 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.038, allocations: 1.563 MB / 0.6051 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2523/1.291, allocations: 10.27 MB / 0.6151 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.297, allocations: 379.7 kB / 0.6155 GB, free: 137.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/1.298, allocations: 406.9 kB / 0.6159 GB, free: 137.1 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.004668/1.303, allocations: 2.581 MB / 0.6184 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.304, allocations: 425.4 kB / 0.6188 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00777/1.312, allocations: 4.615 MB / 0.6233 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/1.312, allocations: 23.75 kB / 0.6233 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.312, allocations: 7.844 kB / 0.6234 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.312, allocations: 18.25 kB / 0.6234 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.33, allocations: 10.48 MB / 0.6336 GB, free: 130.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.33, allocations: 4 kB / 0.6336 GB, free: 130.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.331, allocations: 355.5 kB / 0.6339 GB, free: 130.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/1.335, allocations: 1.365 MB / 0.6353 GB, free: 129.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.335, allocations: 35 kB / 0.6353 GB, free: 129.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009281/1.345, allocations: 9.395 MB / 0.6445 GB, free: 120 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.345, allocations: 0 / 0.6445 GB, free: 120 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.355, allocations: 7.561 MB / 0.6519 GB, free: 112.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.357, allocations: 0.7801 MB / 0.6526 GB, free: 112 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006357/1.358, allocations: 41.52 kB / 0.6527 GB, free: 112 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.359, allocations: 123.8 kB / 0.6528 GB, free: 111.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/1.36, allocations: 137.7 kB / 0.6529 GB, free: 111.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.36, allocations: 63.66 kB / 0.653 GB, free: 111.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003681/1.364, allocations: 3.044 MB / 0.656 GB, free: 108.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.364, allocations: 0 / 0.656 GB, free: 108.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006154/1.37, allocations: 1.26 MB / 0.6572 GB, free: 107.4 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.0005096/1.37, allocations: 172.2 kB / 0.6573 GB, free: 107.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.382, allocations: 7.779 MB / 0.6649 GB, free: 99.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.382, allocations: 0 / 0.6649 GB, free: 99.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.384, allocations: 2.203 MB / 0.6671 GB, free: 97.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.388, allocations: 0.5392 MB / 0.6676 GB, free: 96.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.409, allocations: 14.39 MB / 0.6817 GB, free: 82.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.413, allocations: 3.995 MB / 0.6856 GB, free: 78.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00476/1.417, allocations: 2.091 MB / 0.6876 GB, free: 76.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008183/1.418, allocations: 287.4 kB / 0.6879 GB, free: 76.01 MB / 430.1 MB Notification: Performance of SimCode: time 2.154e-06/1.418, allocations: 0 / 0.6879 GB, free: 76.01 MB / 430.1 MB Notification: Performance of Templates: time 0.07463/1.493, allocations: 47.39 MB / 0.7342 GB, free: 28.63 MB / 430.1 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)