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.001198/0.001198, allocations: 93.33 kB / 16.3 MB, free: 6.133 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.001448/0.001448, allocations: 178.7 kB / 17.2 MB, free: 6.016 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.519/1.519, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004755/0.0004756, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09152, allocations: 47.59 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.2274/0.319, allocations: 56.82 MB / 384.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.3434, allocations: 13.37 MB / 397.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01095/0.3544, allocations: 281.2 kB / 398.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009856/0.3643, allocations: 2.836 MB / 401 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02536/0.3897, allocations: 8.127 MB / 409.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.3934, allocations: 0.7275 MB / 409.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01835/0.4118, allocations: 14.38 MB / 424.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/0.4208, allocations: 6.312 MB / 430.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.4231, allocations: 1.193 MB / 431.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.4254, allocations: 1.687 MB / 433.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.4259, allocations: 172 kB / 433.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4278, allocations: 0.937 MB / 434.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.4295, allocations: 1.839 MB / 436.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.4306, allocations: 0.9832 MB / 437.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.4381, allocations: 6.939 MB / 444.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4381, allocations: 0 / 444.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4381, allocations: 0 / 444.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002815/0.4384, allocations: 4 kB / 444.3 MB, free: 15.52 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.02657/0.465, allocations: 6.144 MB / 450.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4651, allocations: 8.031 kB / 450.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08728/0.5523, allocations: 8.38 MB / 458.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/0.5619, allocations: 3.412 MB / 462.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.5623, allocations: 305.7 kB / 462.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.5643, allocations: 407.6 kB / 462.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.5941, allocations: 13.35 MB / 476.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002747/0.5944, allocations: 47.59 kB / 476.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.5961, allocations: 186.9 kB / 476.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004552/0.6007, allocations: 2.199 MB / 478.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/0.6295, allocations: 12.79 MB / 491.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07344/0.703, allocations: 49.31 MB / 0.5281 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02443/0.7275, allocations: 6.615 MB / 0.5346 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7285, allocations: 430.6 kB / 0.535 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.7286, allocations: 59.81 kB / 0.5351 GB, free: 6.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.989e-06/0.7286, allocations: 0 / 0.5351 GB, free: 6.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=255): time 0.2712/0.9998, allocations: 37.19 MB / 0.5714 GB, free: 153.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.9999, allocations: 205.9 kB / 0.5716 GB, free: 153.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007156/1.007, allocations: 4.568 MB / 0.576 GB, free: 149.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.008, allocations: 63.03 kB / 0.5761 GB, free: 149 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002373/1.011, allocations: 3.477 MB / 0.5795 GB, free: 145.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.013, allocations: 0.9634 MB / 0.5804 GB, free: 144.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/1.014, allocations: 132 kB / 0.5806 GB, free: 144.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005564/1.015, allocations: 0.5912 MB / 0.5811 GB, free: 143.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/1.02, allocations: 4.261 MB / 0.5853 GB, free: 139.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/1.027, allocations: 8.12 MB / 0.5932 GB, free: 129.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/1.034, allocations: 5.762 MB / 0.5989 GB, free: 124 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/1.034, allocations: 40 kB / 0.5989 GB, free: 124 MB / 446.1 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02477/1.059, allocations: 14.61 MB / 0.6132 GB, free: 109.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.059, allocations: 64.94 kB / 0.6132 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002331/1.06, allocations: 132 kB / 0.6134 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/1.067, allocations: 2.515 MB / 0.6158 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006569/1.073, allocations: 1.762 MB / 0.6175 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.091, allocations: 16.31 MB / 0.6335 GB, free: 88.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/1.098, allocations: 476.4 kB / 0.6339 GB, free: 87.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.1, allocations: 0.4927 MB / 0.6344 GB, free: 87.22 MB / 446.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 (811): * Single equations (assignments): 805 * 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.004939/1.105, allocations: 2.38 MB / 0.6367 GB, free: 84.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.106, allocations: 406.8 kB / 0.6371 GB, free: 84.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.123, allocations: 9.696 MB / 0.6466 GB, free: 74.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/1.123, allocations: 29.92 kB / 0.6466 GB, free: 74.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-05/1.123, allocations: 12 kB / 0.6466 GB, free: 74.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/1.123, allocations: 15.95 kB / 0.6466 GB, free: 74.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03296/1.156, allocations: 18.16 MB / 0.6644 GB, free: 56.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.156, allocations: 3.062 kB / 0.6644 GB, free: 56.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/1.159, allocations: 0.6044 MB / 0.665 GB, free: 55.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006053/1.165, allocations: 2.269 MB / 0.6672 GB, free: 53.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007928/1.166, allocations: 127.8 kB / 0.6673 GB, free: 53.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.182, allocations: 15.02 MB / 0.682 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.182, allocations: 0 / 0.682 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/1.203, allocations: 15.43 MB / 0.697 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/1.206, allocations: 1.072 MB / 0.6981 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.208, allocations: 48.19 kB / 0.6981 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/1.211, allocations: 231.7 kB / 0.6983 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008539/1.212, allocations: 246.1 kB / 0.6986 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004484/1.213, allocations: 149.1 kB / 0.6987 GB, free: 20.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00477/1.218, allocations: 2.902 MB / 0.7015 GB, free: 17.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.218, allocations: 0 / 0.7015 GB, free: 17.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008217/1.226, allocations: 1.439 MB / 0.703 GB, free: 16.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (202): * Single equations (assignments): 196 * 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.001393/1.227, allocations: 208.8 kB / 0.7032 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2033/1.431, allocations: 10.26 MB / 0.7132 GB, free: 152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.431, allocations: 0 / 0.7132 GB, free: 152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01191/1.442, allocations: 4.636 MB / 0.7177 GB, free: 151.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.447, allocations: 451.2 kB / 0.7181 GB, free: 151.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.474, allocations: 15.29 MB / 0.7331 GB, free: 144.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004346/1.478, allocations: 3.86 MB / 0.7368 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005833/1.484, allocations: 2.399 MB / 0.7392 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.486, allocations: 0.5402 MB / 0.7397 GB, free: 142.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/1.486, allocations: 0 / 0.7397 GB, free: 142.8 MB / 446.1 MB Notification: Performance of Templates: time 0.1179/1.604, allocations: 75.33 MB / 0.8133 GB, free: 69.78 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: