Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.007477/0.007477, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001423/0.001423, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001153/0.001153, allocations: 53.48 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 46.62 MB / 373.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.0143/0.1244, allocations: 13.97 MB / 387.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.1358, allocations: 4.716 MB / 391.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.1388, allocations: 79.81 kB / 391.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.1465, allocations: 4.096 MB / 396 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006719/0.1533, allocations: 2.116 MB / 398.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1557, allocations: 0.8227 MB / 399 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.1628, allocations: 4.6 MB / 403.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007349/0.1702, allocations: 5.133 MB / 408.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.1746, allocations: 1.947 MB / 410.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.1798, allocations: 2.722 MB / 413.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.1817, allocations: 456 kB / 413.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.1851, allocations: 1.323 MB / 415.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003546/0.1887, allocations: 2.334 MB / 417.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005779/0.1945, allocations: 2.739 MB / 420.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.2091, allocations: 8.794 MB / 429 MB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.2092, allocations: 0 / 429 MB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2092, allocations: 8 kB / 429 MB, free: 9.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000396/0.2096, allocations: 3.938 kB / 429 MB, free: 9.355 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: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.03119/0.2408, allocations: 7.1 MB / 436.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2409, allocations: 8.031 kB / 436.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.2585, allocations: 2.564 MB / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.27, allocations: 3.192 MB / 441.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004651/0.2705, allocations: 303.8 kB / 442.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.2731, allocations: 403.8 kB / 442.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2571/0.5302, allocations: 13.28 MB / 455.9 MB, free: 62.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.5304, allocations: 46.88 kB / 455.9 MB, free: 62.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007726/0.5312, allocations: 186.3 kB / 456.1 MB, free: 62.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006013/0.5372, allocations: 2.207 MB / 458.3 MB, free: 62.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02705/0.5643, allocations: 12.69 MB / 471 MB, free: 58.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05907/0.6234, allocations: 49.28 MB / 0.5081 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/0.6459, allocations: 6.451 MB / 0.5144 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/0.6503, allocations: 3.929 MB / 0.5182 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.6513, allocations: 429 kB / 0.5186 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6513, allocations: 55.88 kB / 0.5187 GB, free: 1.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 5.3e-06/0.6514, allocations: 4 kB / 0.5187 GB, free: 1.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.1164/0.7678, allocations: 36.41 MB / 0.5542 GB, free: 13.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.768, allocations: 201.9 kB / 0.5544 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009536/0.7775, allocations: 4.441 MB / 0.5588 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001098/0.7787, allocations: 65.7 kB / 0.5588 GB, free: 8.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0032/0.7819, allocations: 3.595 MB / 0.5623 GB, free: 5.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001993/0.7839, allocations: 1.004 MB / 0.5633 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004988/0.7889, allocations: 1.6 MB / 0.5649 GB, free: 2.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.789, allocations: 305.1 kB / 0.5652 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007147/0.7962, allocations: 4.335 MB / 0.5694 GB, free: 13.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/0.8077, allocations: 8.232 MB / 0.5774 GB, free: 3.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02293/0.8307, allocations: 13.39 MB / 0.5905 GB, free: 4.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002836/0.831, allocations: 36 kB / 0.5906 GB, free: 4.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.03211/0.8631, allocations: 14.8 MB / 0.605 GB, free: 5.426 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.8633, allocations: 64 kB / 0.6051 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.8636, allocations: 136.5 kB / 0.6052 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.8706, allocations: 2.46 MB / 0.6076 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/0.878, allocations: 1.793 MB / 0.6094 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3284/1.206, allocations: 17.04 MB / 0.626 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009261/1.216, allocations: 471.1 kB / 0.6265 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002508/1.218, allocations: 0.4942 MB / 0.6269 GB, free: 153.7 MB / 494.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.007084/1.225, allocations: 2.381 MB / 0.6293 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.227, allocations: 424.6 kB / 0.6297 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1.245, allocations: 9.665 MB / 0.6391 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.939e-05/1.245, allocations: 28.19 kB / 0.6391 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.245, allocations: 12.81 kB / 0.6391 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/1.245, allocations: 9.625 kB / 0.6392 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.275, allocations: 18.06 MB / 0.6568 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.275, allocations: 3.812 kB / 0.6568 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/1.278, allocations: 0.5861 MB / 0.6574 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006261/1.285, allocations: 2.243 MB / 0.6596 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.286, allocations: 122.6 kB / 0.6597 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/1.304, allocations: 15.68 MB / 0.675 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.304, allocations: 0 / 0.675 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/1.323, allocations: 15.22 MB / 0.6898 GB, free: 117.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/1.327, allocations: 1.076 MB / 0.6909 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.328, allocations: 43.98 kB / 0.6909 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/1.332, allocations: 223.3 kB / 0.6911 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007986/1.332, allocations: 241.5 kB / 0.6914 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003532/1.333, allocations: 151.8 kB / 0.6915 GB, free: 115.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004367/1.337, allocations: 2.788 MB / 0.6942 GB, free: 112.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.337, allocations: 3.094 kB / 0.6942 GB, free: 112.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008576/1.346, allocations: 1.434 MB / 0.6956 GB, free: 111.3 MB / 494.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.0008716/1.347, allocations: 194.6 kB / 0.6958 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01436/1.361, allocations: 10.42 MB / 0.706 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/1.361, allocations: 0 / 0.706 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006039/1.367, allocations: 4.633 MB / 0.7105 GB, free: 96.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/1.372, allocations: 0.4996 MB / 0.711 GB, free: 95.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/1.396, allocations: 13.34 MB / 0.7241 GB, free: 82.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004438/1.4, allocations: 3.748 MB / 0.7277 GB, free: 78.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005884/1.406, allocations: 2.389 MB / 0.7301 GB, free: 76.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.408, allocations: 0.5417 MB / 0.7306 GB, free: 75.54 MB / 494.1 MB Notification: Performance of SimCode: time 2.445e-06/1.408, allocations: 0 / 0.7306 GB, free: 75.54 MB / 494.1 MB Notification: Performance of Templates: time 0.1297/1.538, allocations: 76.86 MB / 0.8056 GB, free: 14.66 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)