Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.3 kB / 17.06 MB, free: 6.023 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.001282/0.001282, allocations: 192 kB / 17.99 MB, free: 5.109 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.426/1.426, 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.0014/0.0014, allocations: 51.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09302, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.2088/0.3019, allocations: 13.96 MB / 388.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.3135, allocations: 4.729 MB / 393.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.3176, allocations: 85.59 kB / 393.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008656/0.3263, allocations: 4.074 MB / 397.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008856/0.3352, allocations: 2.136 MB / 399.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.3381, allocations: 0.8115 MB / 400.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009214/0.3474, allocations: 4.602 MB / 404.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008963/0.3564, allocations: 5.139 MB / 410 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.3614, allocations: 1.945 MB / 412 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005915/0.3673, allocations: 2.722 MB / 414.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003488/0.3709, allocations: 455.6 kB / 415.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.3763, allocations: 1.323 MB / 416.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004435/0.3808, allocations: 2.346 MB / 418.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007172/0.388, allocations: 2.735 MB / 421.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4021, allocations: 8.756 MB / 430.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.4022, allocations: 4 kB / 430.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4022, allocations: 0 / 430.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003965/0.4026, allocations: 0 / 430.3 MB, free: 7.594 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: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.03232/0.4349, allocations: 6.958 MB / 437.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.435, allocations: 8.031 kB / 437.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.4516, allocations: 2.529 MB / 439.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008762/0.4604, allocations: 3.187 MB / 443 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.4608, allocations: 303.8 kB / 443.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00201/0.4628, allocations: 407.6 kB / 443.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03361/0.4965, allocations: 13.28 MB / 457 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002728/0.4968, allocations: 47.53 kB / 457 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.4985, allocations: 191.8 kB / 457.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004482/0.503, allocations: 2.194 MB / 459.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02918/0.5322, allocations: 12.7 MB / 472.1 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07518/0.6075, allocations: 49.19 MB / 0.5091 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02487/0.6324, allocations: 6.449 MB / 0.5154 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005743/0.6382, allocations: 3.917 MB / 0.5192 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.6393, allocations: 424.3 kB / 0.5196 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.6394, allocations: 63.81 kB / 0.5197 GB, free: 15.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 6.122e-06/0.6394, allocations: 0 / 0.5197 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=255): time 0.3409/0.9803, allocations: 36.16 MB / 0.555 GB, free: 147.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.9804, allocations: 205.2 kB / 0.5552 GB, free: 147.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007175/0.9876, allocations: 4.433 MB / 0.5595 GB, free: 146.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008423/0.9885, allocations: 62.56 kB / 0.5595 GB, free: 146 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/0.9907, allocations: 3.454 MB / 0.5629 GB, free: 143.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001396/0.9921, allocations: 0.9541 MB / 0.5639 GB, free: 143.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/0.9946, allocations: 1.598 MB / 0.5654 GB, free: 142.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.9946, allocations: 309.1 kB / 0.5657 GB, free: 142.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006045/1.001, allocations: 4.331 MB / 0.5699 GB, free: 140.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/1.008, allocations: 8.245 MB / 0.578 GB, free: 134.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/1.021, allocations: 13.39 MB / 0.5911 GB, free: 125.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/1.022, allocations: 39.44 kB / 0.5911 GB, free: 125.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02206/1.044, allocations: 14.77 MB / 0.6055 GB, free: 116 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/1.044, allocations: 63.98 kB / 0.6056 GB, free: 116 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.554e-05/1.044, allocations: 138.2 kB / 0.6057 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/1.049, allocations: 2.458 MB / 0.6081 GB, free: 113.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006325/1.056, allocations: 1.786 MB / 0.6099 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.072, allocations: 17.05 MB / 0.6265 GB, free: 94.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007864/1.08, allocations: 467.2 kB / 0.627 GB, free: 93.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.082, allocations: 0.4919 MB / 0.6274 GB, free: 93.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (830): * Single equations (assignments): 824 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004221/1.086, allocations: 2.392 MB / 0.6298 GB, free: 90.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.087, allocations: 398.8 kB / 0.6302 GB, free: 90.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.1, allocations: 9.659 MB / 0.6396 GB, free: 80.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/1.101, allocations: 35.77 kB / 0.6396 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.101, allocations: 12 kB / 0.6396 GB, free: 80.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.101, allocations: 11.95 kB / 0.6397 GB, free: 80.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.125, allocations: 18.04 MB / 0.6573 GB, free: 62.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.125, allocations: 3.938 kB / 0.6573 GB, free: 62.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.128, allocations: 0.5885 MB / 0.6578 GB, free: 61.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005523/1.133, allocations: 2.244 MB / 0.66 GB, free: 59.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005115/1.134, allocations: 131.8 kB / 0.6602 GB, free: 59.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.15, allocations: 15.66 MB / 0.6755 GB, free: 43.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.15, allocations: 4 kB / 0.6755 GB, free: 43.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02139/1.171, allocations: 15.18 MB / 0.6903 GB, free: 28.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003033/1.174, allocations: 1.058 MB / 0.6913 GB, free: 27.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/1.176, allocations: 43.98 kB / 0.6914 GB, free: 27.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003555/1.18, allocations: 215.7 kB / 0.6916 GB, free: 26.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000968/1.181, allocations: 245.5 kB / 0.6918 GB, free: 26.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003853/1.181, allocations: 155.2 kB / 0.6919 GB, free: 26.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004104/1.185, allocations: 2.788 MB / 0.6947 GB, free: 23.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.185, allocations: 0 / 0.6947 GB, free: 23.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007326/1.192, allocations: 1.432 MB / 0.6961 GB, free: 22.31 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (198): * Single equations (assignments): 192 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000757/1.193, allocations: 195.9 kB / 0.6963 GB, free: 22.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01349/1.207, allocations: 10.4 MB / 0.7064 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.207, allocations: 9.25 kB / 0.7064 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.213, allocations: 4.645 MB / 0.711 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.216, allocations: 0.4993 MB / 0.7114 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.238, allocations: 13.17 MB / 0.7243 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004488/1.242, allocations: 3.752 MB / 0.728 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.2468/1.489, allocations: 2.391 MB / 0.7303 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003286/1.492, allocations: 0.5355 MB / 0.7308 GB, free: 147.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/1.492, allocations: 0 / 0.7308 GB, free: 147.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1608/1.653, allocations: 76.84 MB / 0.8059 GB, free: 99.62 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)