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.00877/0.00877, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001763/0.001763, allocations: 194.2 kB / 16.67 MB, free: 5.52 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.515/1.515, allocations: 205.1 MB / 222.5 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.001496/0.001496, allocations: 63.91 kB / 326.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.2846/0.3885, allocations: 13.97 MB / 387.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.401, allocations: 4.724 MB / 391.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.4064, allocations: 86.22 kB / 391.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008212/0.4146, allocations: 4.074 MB / 396 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.4234, allocations: 2.131 MB / 398.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.4266, allocations: 0.8187 MB / 399 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4373, allocations: 4.605 MB / 403.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008997/0.4463, allocations: 5.135 MB / 408.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00534/0.4517, allocations: 1.947 MB / 410.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006766/0.4585, allocations: 2.72 MB / 413.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.4607, allocations: 455.5 kB / 413.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/0.4653, allocations: 1.327 MB / 415.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.4689, allocations: 2.342 MB / 417.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004848/0.4738, allocations: 2.739 MB / 420.2 MB, free: 396 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4853, allocations: 8.756 MB / 429 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.4854, allocations: 0 / 429 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4854, allocations: 0 / 429 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002932/0.4857, allocations: 4 kB / 429 MB, free: 7.598 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.03239/0.5181, allocations: 6.958 MB / 435.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.5182, allocations: 12.03 kB / 436 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.5349, allocations: 2.525 MB / 438.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00997/0.545, allocations: 3.187 MB / 441.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/0.5455, allocations: 303.8 kB / 442 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.5481, allocations: 407.7 kB / 442.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03607/0.5842, allocations: 13.27 MB / 455.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/0.5846, allocations: 55.52 kB / 455.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002612/0.5872, allocations: 191.8 kB / 455.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004985/0.5922, allocations: 2.194 MB / 458.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03152/0.6238, allocations: 12.7 MB / 470.8 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08938/0.7132, allocations: 49.19 MB / 0.5078 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02357/0.7369, allocations: 6.449 MB / 0.5141 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005726/0.7426, allocations: 3.916 MB / 0.5179 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.7438, allocations: 428.2 kB / 0.5183 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.358e-05/0.7439, allocations: 63.75 kB / 0.5184 GB, free: 15.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 7.545e-06/0.7439, allocations: 7.984 kB / 0.5184 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=255): time 0.3469/1.091, allocations: 36.15 MB / 0.5537 GB, free: 147.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.091, allocations: 207.3 kB / 0.5539 GB, free: 147.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008197/1.099, allocations: 4.427 MB / 0.5582 GB, free: 146.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009814/1.1, allocations: 66.77 kB / 0.5583 GB, free: 146.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/1.103, allocations: 3.457 MB / 0.5616 GB, free: 144 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.105, allocations: 0.9514 MB / 0.5626 GB, free: 143.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00254/1.107, allocations: 1.596 MB / 0.5641 GB, free: 142.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/1.107, allocations: 310.7 kB / 0.5644 GB, free: 142.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/1.113, allocations: 4.332 MB / 0.5686 GB, free: 141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007803/1.121, allocations: 8.241 MB / 0.5767 GB, free: 134.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.135, allocations: 13.39 MB / 0.5898 GB, free: 125.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/1.135, allocations: 39.25 kB / 0.5898 GB, free: 125.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02379/1.159, allocations: 14.77 MB / 0.6042 GB, free: 116 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.159, allocations: 64 kB / 0.6043 GB, free: 116 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/1.159, allocations: 136 kB / 0.6044 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005847/1.165, allocations: 2.465 MB / 0.6068 GB, free: 113.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006347/1.172, allocations: 1.786 MB / 0.6086 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.189, allocations: 17.04 MB / 0.6252 GB, free: 94.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008682/1.198, allocations: 467.2 kB / 0.6257 GB, free: 93.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/1.201, allocations: 0.4958 MB / 0.6262 GB, free: 93.19 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.00609/1.207, allocations: 2.399 MB / 0.6285 GB, free: 90.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/1.208, allocations: 394.8 kB / 0.6289 GB, free: 90.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.224, allocations: 9.657 MB / 0.6383 GB, free: 80.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/1.224, allocations: 31.94 kB / 0.6383 GB, free: 80.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.465e-05/1.225, allocations: 11.98 kB / 0.6383 GB, free: 80.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/1.225, allocations: 11.97 kB / 0.6384 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03938/1.264, allocations: 18.04 MB / 0.656 GB, free: 62.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/1.264, allocations: 0 / 0.656 GB, free: 62.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/1.268, allocations: 0.5889 MB / 0.6565 GB, free: 62.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006042/1.274, allocations: 2.246 MB / 0.6587 GB, free: 59.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008734/1.275, allocations: 123.6 kB / 0.6589 GB, free: 59.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/1.292, allocations: 15.67 MB / 0.6742 GB, free: 43.56 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.292, allocations: 4 kB / 0.6742 GB, free: 43.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.315, allocations: 15.17 MB / 0.689 GB, free: 28.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003704/1.318, allocations: 1.062 MB / 0.69 GB, free: 27.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/1.32, allocations: 47.67 kB / 0.6901 GB, free: 27.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/1.324, allocations: 219.7 kB / 0.6903 GB, free: 26.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.325, allocations: 237.5 kB / 0.6905 GB, free: 26.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006518/1.326, allocations: 151.8 kB / 0.6906 GB, free: 26.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006085/1.332, allocations: 2.791 MB / 0.6934 GB, free: 23.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.332, allocations: 4 kB / 0.6934 GB, free: 23.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01064/1.343, allocations: 1.431 MB / 0.6948 GB, free: 22.35 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.001185/1.344, allocations: 194.5 kB / 0.695 GB, free: 22.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01544/1.36, allocations: 10.41 MB / 0.7051 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.36, allocations: 3.938 kB / 0.7051 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006853/1.366, allocations: 4.639 MB / 0.7097 GB, free: 7.043 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005572/1.372, allocations: 0.4975 MB / 0.7101 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.4, allocations: 13.18 MB / 0.723 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007972/1.408, allocations: 3.758 MB / 0.7267 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.2797/1.687, allocations: 2.384 MB / 0.729 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/1.69, allocations: 0.5393 MB / 0.7295 GB, free: 147.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.934e-06/1.69, allocations: 0 / 0.7295 GB, free: 147.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1452/1.836, allocations: 76.84 MB / 0.8046 GB, free: 99.66 MB / 494.1 MB 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)