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.001032/0.001032, allocations: 92.53 kB / 16.3 MB, free: 5.602 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.001114/0.001114, allocations: 186.5 kB / 17.2 MB, free: 5.535 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.472/1.472, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004703/0.0004704, allocations: 8 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1004, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2661/0.3665, allocations: 60.06 MB / 387.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03261/0.3992, allocations: 14.02 MB / 401.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.4114, allocations: 302.9 kB / 402.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009887/0.4213, allocations: 3.007 MB / 405.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03083/0.4522, allocations: 8.603 MB / 413.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.4566, allocations: 0.803 MB / 414.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03566/0.4923, allocations: 26.82 MB / 441.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.503, allocations: 6.584 MB / 447.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.5063, allocations: 1.395 MB / 449.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.51, allocations: 1.842 MB / 451.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.5114, allocations: 192 kB / 451.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.5146, allocations: 0.9558 MB / 452.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00335/0.518, allocations: 2.1 MB / 454.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.5199, allocations: 1.1 MB / 455.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008946/0.5289, allocations: 7.54 MB / 463 MB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5289, allocations: 4 kB / 463 MB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5289, allocations: 3.938 kB / 463 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000272/0.5292, allocations: 0 / 463 MB, free: 14.27 MB / 366.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.01256/0.5418, allocations: 5.543 MB / 468.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5418, allocations: 12.03 kB / 468.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04568/0.5875, allocations: 8.044 MB / 476.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/0.5975, allocations: 4.263 MB / 480.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.5978, allocations: 316.1 kB / 481.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.5992, allocations: 435.7 kB / 481.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.6215, allocations: 12.24 MB / 493.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.6217, allocations: 51.59 kB / 493.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/0.6223, allocations: 195.8 kB / 494.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.6259, allocations: 2.21 MB / 496.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.6475, allocations: 10.42 MB / 0.4949 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06159/0.7092, allocations: 47.18 MB / 0.5409 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1841/0.8934, allocations: 4.483 MB / 0.5453 GB, free: 164.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02093/0.9143, allocations: 10.12 MB / 0.5552 GB, free: 160 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.9144, allocations: 54.97 kB / 0.5552 GB, free: 159.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 6.112e-06/0.9144, allocations: 0 / 0.5552 GB, free: 159.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.05123/0.9657, allocations: 19.86 MB / 0.5746 GB, free: 150.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.9658, allocations: 205.2 kB / 0.5748 GB, free: 150.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006318/0.9721, allocations: 5.063 MB / 0.5798 GB, free: 145.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003037/0.9724, allocations: 57.7 kB / 0.5798 GB, free: 145.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.9741, allocations: 3.768 MB / 0.5835 GB, free: 141.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007726/0.9749, allocations: 0.823 MB / 0.5843 GB, free: 140.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.9752, allocations: 132.7 kB / 0.5844 GB, free: 140.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003208/0.9755, allocations: 0.579 MB / 0.585 GB, free: 140.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/0.9785, allocations: 2.336 MB / 0.5873 GB, free: 137.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.9826, allocations: 6.266 MB / 0.5934 GB, free: 129.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.9869, allocations: 3.751 MB / 0.5971 GB, free: 125.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-05/0.987, allocations: 40 kB / 0.5971 GB, free: 125.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01334/1, allocations: 9.206 MB / 0.6061 GB, free: 116.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.001, allocations: 64 kB / 0.6062 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/1.001, allocations: 140.9 kB / 0.6063 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/1.004, allocations: 1.094 MB / 0.6074 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/1.008, allocations: 1.509 MB / 0.6088 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008342/1.016, allocations: 8.391 MB / 0.617 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/1.021, allocations: 367.4 kB / 0.6174 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009484/1.022, allocations: 396.4 kB / 0.6178 GB, free: 104.5 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 (794): * Single equations (assignments): 789 * 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.004016/1.026, allocations: 2.578 MB / 0.6203 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007739/1.027, allocations: 434.4 kB / 0.6207 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006513/1.033, allocations: 3.881 MB / 0.6245 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/1.033, allocations: 24.94 kB / 0.6245 GB, free: 97.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.033, allocations: 5.781 kB / 0.6245 GB, free: 97.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.034, allocations: 11.97 kB / 0.6245 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.051, allocations: 9.788 MB / 0.6341 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.051, allocations: 4 kB / 0.6341 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.053, allocations: 343.5 kB / 0.6344 GB, free: 87.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.056, allocations: 0.8562 MB / 0.6352 GB, free: 86.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.056, allocations: 39.98 kB / 0.6353 GB, free: 86.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/1.063, allocations: 7.537 MB / 0.6426 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.063, allocations: 0 / 0.6426 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008883/1.072, allocations: 6.772 MB / 0.6492 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/1.075, allocations: 0.7691 MB / 0.65 GB, free: 71.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000988/1.076, allocations: 34.11 kB / 0.65 GB, free: 71.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.078, allocations: 115.9 kB / 0.6501 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.078, allocations: 137.7 kB / 0.6503 GB, free: 70.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.078, allocations: 56 kB / 0.6503 GB, free: 70.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004415/1.083, allocations: 3.238 MB / 0.6535 GB, free: 67.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.083, allocations: 0 / 0.6535 GB, free: 67.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005728/1.088, allocations: 1.225 MB / 0.6547 GB, free: 66.27 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 (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.0004939/1.089, allocations: 190.6 kB / 0.6549 GB, free: 66.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007857/1.097, allocations: 5.915 MB / 0.6606 GB, free: 60.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.097, allocations: 4 kB / 0.6606 GB, free: 60.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/1.1, allocations: 2.078 MB / 0.6627 GB, free: 58.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.102, allocations: 0.5283 MB / 0.6632 GB, free: 57.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.121, allocations: 13.52 MB / 0.6764 GB, free: 43.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00423/1.125, allocations: 4.109 MB / 0.6804 GB, free: 39.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004513/1.13, allocations: 2.103 MB / 0.6825 GB, free: 37.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/1.13, allocations: 283.4 kB / 0.6827 GB, free: 37.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/1.13, allocations: 0 / 0.6827 GB, free: 37.45 MB / 446.1 MB Notification: Performance of Templates: time 0.2382/1.368, allocations: 43.1 MB / 0.7248 GB, free: 148.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: