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.001325/0.001325, allocations: 103.1 kB / 17.06 MB, free: 6.027 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.001327/0.001327, allocations: 195 kB / 18 MB, free: 5.105 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001253/0.001253, allocations: 43.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09174, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2264/0.3182, allocations: 14.23 MB / 388.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3306, allocations: 4.649 MB / 393.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004814/0.3355, allocations: 96.16 kB / 393.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.3468, allocations: 4.223 MB / 397.7 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009308/0.3561, allocations: 2.259 MB / 399.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.3595, allocations: 0.9263 MB / 400.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.3721, allocations: 5.9 MB / 406.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.3823, allocations: 5.308 MB / 412.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.3878, allocations: 2.206 MB / 414.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.3935, allocations: 2.939 MB / 417.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.3955, allocations: 496 kB / 417.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.3995, allocations: 1.37 MB / 419.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003814/0.4033, allocations: 2.661 MB / 421.7 MB, free: 212 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006327/0.4097, allocations: 2.995 MB / 424.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.4214, allocations: 9.562 MB / 434.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4215, allocations: 0 / 434.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4215, allocations: 0 / 434.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002839/0.4218, allocations: 0 / 434.3 MB, free: 3.602 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.01345/0.4352, allocations: 6.343 MB / 440.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4353, allocations: 12.03 kB / 440.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4473, allocations: 2.614 MB / 443.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.4576, allocations: 4.047 MB / 447.3 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.4579, allocations: 316.4 kB / 447.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.4594, allocations: 444 kB / 448 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.4804, allocations: 12.23 MB / 460.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.4806, allocations: 63.48 kB / 460.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000509/0.4811, allocations: 199.8 kB / 460.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003485/0.4846, allocations: 2.21 MB / 462.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.5069, allocations: 10.53 MB / 473.3 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/0.5729, allocations: 47.35 MB / 0.5084 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.5843, allocations: 4.605 MB / 0.5129 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.5878, allocations: 2.643 MB / 0.5155 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01899/0.6068, allocations: 10.43 MB / 0.5257 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.6069, allocations: 63.75 kB / 0.5257 GB, free: 8.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=192): time 4.368e-06/0.6069, allocations: 0 / 0.5257 GB, free: 8.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.05659/0.6635, allocations: 20.98 MB / 0.5462 GB, free: 3.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.6638, allocations: 205.2 kB / 0.5464 GB, free: 3.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2625/0.9263, allocations: 4.817 MB / 0.5511 GB, free: 149.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005712/0.9269, allocations: 57.17 kB / 0.5512 GB, free: 149.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004032/0.9309, allocations: 3.723 MB / 0.5548 GB, free: 147.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/0.9324, allocations: 0.8273 MB / 0.5556 GB, free: 147.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003063/0.9355, allocations: 1.398 MB / 0.557 GB, free: 146.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.9356, allocations: 306.7 kB / 0.5573 GB, free: 146.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006957/0.9426, allocations: 2.58 MB / 0.5598 GB, free: 145.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009567/0.9522, allocations: 6.556 MB / 0.5662 GB, free: 139.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/0.9686, allocations: 9.804 MB / 0.5758 GB, free: 131 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/0.9689, allocations: 44.31 kB / 0.5758 GB, free: 131 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.03463/1.004, allocations: 10.26 MB / 0.5858 GB, free: 127.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.004, allocations: 65.22 kB / 0.5859 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/1.004, allocations: 138.8 kB / 0.586 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007248/1.011, allocations: 1.625 MB / 0.5876 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008792/1.02, allocations: 1.564 MB / 0.5892 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.039, allocations: 10.26 MB / 0.5992 GB, free: 120.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009354/1.049, allocations: 385.5 kB / 0.5995 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/1.05, allocations: 407.5 kB / 0.5999 GB, free: 120.5 MB / 478.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.006497/1.057, allocations: 2.571 MB / 0.6024 GB, free: 118.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.058, allocations: 422.5 kB / 0.6028 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.072, allocations: 4.621 MB / 0.6074 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.587e-05/1.072, allocations: 24 kB / 0.6074 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/1.072, allocations: 4 kB / 0.6074 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.437e-05/1.072, allocations: 11.97 kB / 0.6074 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/1.095, allocations: 10.44 MB / 0.6176 GB, free: 103.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.095, allocations: 3.938 kB / 0.6176 GB, free: 103.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.097, allocations: 343.5 kB / 0.6179 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/1.101, allocations: 1.355 MB / 0.6192 GB, free: 101.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/1.101, allocations: 43.92 kB / 0.6193 GB, free: 101.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009363/1.11, allocations: 9.383 MB / 0.6284 GB, free: 91.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.11, allocations: 7.938 kB / 0.6285 GB, free: 91.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.121, allocations: 7.558 MB / 0.6358 GB, free: 84.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/1.124, allocations: 0.7806 MB / 0.6366 GB, free: 83.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/1.126, allocations: 36 kB / 0.6366 GB, free: 83.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/1.128, allocations: 128.4 kB / 0.6368 GB, free: 83.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.129, allocations: 136.1 kB / 0.6369 GB, free: 83.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.129, allocations: 55.98 kB / 0.6369 GB, free: 83.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004082/1.133, allocations: 3.041 MB / 0.6399 GB, free: 80.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.133, allocations: 4.188 kB / 0.6399 GB, free: 80.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006384/1.139, allocations: 1.261 MB / 0.6411 GB, free: 78.77 MB / 478.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.0005083/1.14, allocations: 173.2 kB / 0.6413 GB, free: 78.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009059/1.149, allocations: 6.392 MB / 0.6476 GB, free: 72.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.149, allocations: 0 / 0.6476 GB, free: 72.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/1.152, allocations: 2.202 MB / 0.6497 GB, free: 69.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.157, allocations: 0.5592 MB / 0.6502 GB, free: 69.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.174, allocations: 11.71 MB / 0.6617 GB, free: 57.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/1.178, allocations: 3.995 MB / 0.6656 GB, free: 53.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00412/1.182, allocations: 2.095 MB / 0.6676 GB, free: 51.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008319/1.183, allocations: 283.3 kB / 0.6679 GB, free: 51.32 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/1.183, allocations: 0 / 0.6679 GB, free: 51.32 MB / 478.1 MB Notification: Performance of Templates: time 0.07185/1.255, allocations: 43.93 MB / 0.7108 GB, free: 7.496 MB / 478.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)