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.001135/0.001134, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001457/0.001457, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.0004802/0.0004804, allocations: 12 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 47.57 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.06062/0.3149, allocations: 60.24 MB / 386.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04373/0.3587, allocations: 12.79 MB / 399.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.3732, allocations: 279.4 kB / 399.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009341/0.3826, allocations: 2.931 MB / 402.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02397/0.4066, allocations: 8.591 MB / 411.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.411, allocations: 0.7021 MB / 412 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02475/0.4358, allocations: 19.49 MB / 431.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.4471, allocations: 6.364 MB / 437.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.4508, allocations: 1.448 MB / 439.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.4549, allocations: 2.387 MB / 441.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.4561, allocations: 172 kB / 441.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.4588, allocations: 0.9597 MB / 442.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002796/0.4617, allocations: 1.979 MB / 444.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.4639, allocations: 0.979 MB / 445.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008862/0.4727, allocations: 6.784 MB / 452.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4728, allocations: 3.938 kB / 452.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4728, allocations: 4 kB / 452.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003594/0.4732, allocations: 0 / 452.6 MB, free: 5.047 MB / 382.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.2136/0.6868, allocations: 5.802 MB / 458.4 MB, free: 115.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6868, allocations: 9.219 kB / 458.4 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.7016, allocations: 2.593 MB / 461 MB, free: 115.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/0.7088, allocations: 3.088 MB / 464.1 MB, free: 113.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.7091, allocations: 303.3 kB / 464.4 MB, free: 113.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009612/0.7101, allocations: 404.7 kB / 464.8 MB, free: 113.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.7334, allocations: 13.27 MB / 478 MB, free: 101.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.7336, allocations: 43.53 kB / 478.1 MB, free: 101.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005423/0.7341, allocations: 195.9 kB / 478.3 MB, free: 101.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/0.7374, allocations: 2.192 MB / 480.4 MB, free: 99.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02327/0.7607, allocations: 12.67 MB / 493.1 MB, free: 86.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05917/0.8199, allocations: 49.38 MB / 0.5298 GB, free: 36.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/0.8407, allocations: 6.449 MB / 0.5361 GB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.845, allocations: 3.923 MB / 0.5399 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008711/0.8459, allocations: 429.3 kB / 0.5403 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.846, allocations: 55.81 kB / 0.5404 GB, free: 25.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 5.23e-06/0.846, allocations: 0 / 0.5404 GB, free: 25.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.09551/0.9415, allocations: 36.19 MB / 0.5757 GB, free: 4.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.9417, allocations: 209.9 kB / 0.5759 GB, free: 4.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/0.9502, allocations: 4.403 MB / 0.5802 GB, free: 252 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/0.9513, allocations: 61.7 kB / 0.5803 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003558/0.9548, allocations: 3.453 MB / 0.5836 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001828/0.9567, allocations: 0.9523 MB / 0.5846 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.9579, allocations: 144 kB / 0.5847 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0005104/0.9584, allocations: 0.5957 MB / 0.5853 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007024/0.9654, allocations: 4.308 MB / 0.5895 GB, free: 6.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/0.9765, allocations: 8.224 MB / 0.5975 GB, free: 12.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.9875, allocations: 5.832 MB / 0.6032 GB, free: 6.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/0.9878, allocations: 47.89 kB / 0.6033 GB, free: 6.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.2252/1.213, allocations: 14.73 MB / 0.6177 GB, free: 140.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/1.213, allocations: 62.5 kB / 0.6177 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/1.213, allocations: 134.9 kB / 0.6179 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/1.219, allocations: 2.465 MB / 0.6203 GB, free: 140.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00673/1.226, allocations: 1.799 MB / 0.622 GB, free: 140.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.244, allocations: 15.82 MB / 0.6375 GB, free: 131.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/1.25, allocations: 475.2 kB / 0.6379 GB, free: 131.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.252, allocations: 0.494 MB / 0.6384 GB, free: 131.6 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005083/1.257, allocations: 2.394 MB / 0.6407 GB, free: 129.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.259, allocations: 398.8 kB / 0.6411 GB, free: 129.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.274, allocations: 9.67 MB / 0.6506 GB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-05/1.274, allocations: 28 kB / 0.6506 GB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.274, allocations: 12 kB / 0.6506 GB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.274, allocations: 15.8 kB / 0.6506 GB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/1.304, allocations: 18.15 MB / 0.6683 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.304, allocations: 0 / 0.6683 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/1.307, allocations: 0.585 MB / 0.6689 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005254/1.312, allocations: 2.238 MB / 0.6711 GB, free: 98.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005986/1.312, allocations: 128.3 kB / 0.6712 GB, free: 98.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/1.328, allocations: 14.55 MB / 0.6854 GB, free: 83.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.328, allocations: 7.969 kB / 0.6854 GB, free: 83.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/1.348, allocations: 15.16 MB / 0.7002 GB, free: 68.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/1.351, allocations: 1.066 MB / 0.7013 GB, free: 67.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.352, allocations: 44 kB / 0.7013 GB, free: 67.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.355, allocations: 226.1 kB / 0.7015 GB, free: 66.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006742/1.356, allocations: 237.4 kB / 0.7018 GB, free: 66.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004742/1.356, allocations: 157.8 kB / 0.7019 GB, free: 66.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004366/1.361, allocations: 2.768 MB / 0.7046 GB, free: 63.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.361, allocations: 0 / 0.7046 GB, free: 63.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006785/1.367, allocations: 1.435 MB / 0.706 GB, free: 62.34 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007519/1.368, allocations: 187.3 kB / 0.7062 GB, free: 62.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01311/1.381, allocations: 10.37 MB / 0.7163 GB, free: 51.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.381, allocations: 3.938 kB / 0.7163 GB, free: 51.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/1.387, allocations: 4.616 MB / 0.7208 GB, free: 47.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.391, allocations: 476.9 kB / 0.7213 GB, free: 46.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.413, allocations: 15.3 MB / 0.7362 GB, free: 31.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.418, allocations: 3.758 MB / 0.7399 GB, free: 27.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005878/1.424, allocations: 2.387 MB / 0.7422 GB, free: 25.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.426, allocations: 0.5417 MB / 0.7428 GB, free: 24.61 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/1.426, allocations: 0 / 0.7428 GB, free: 24.61 MB / 430.1 MB Notification: Performance of Templates: time 0.3114/1.737, allocations: 74.24 MB / 0.8153 GB, free: 103.2 MB / 430.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)