Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009469/0.0009469, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.0009487/0.0009487, allocations: 177.3 kB / 15.95 MB, free: 216 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.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004516/0.0004519, allocations: 15.98 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 47.58 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.05058/0.2825, allocations: 56.83 MB / 383.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03256/0.3152, allocations: 13.36 MB / 396.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.3265, allocations: 283.3 kB / 396.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009816/0.3363, allocations: 2.834 MB / 399.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02694/0.3633, allocations: 8.131 MB / 407.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.3673, allocations: 0.7254 MB / 408.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02148/0.3888, allocations: 14.38 MB / 423 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009488/0.3983, allocations: 6.306 MB / 429.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.401, allocations: 1.195 MB / 430.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.4037, allocations: 1.682 MB / 432.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.4044, allocations: 176 kB / 432.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.4065, allocations: 0.9364 MB / 433.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.4085, allocations: 1.831 MB / 435.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.4098, allocations: 0.9907 MB / 436.1 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.418, allocations: 6.948 MB / 443 MB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.418, allocations: 0 / 443 MB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.418, allocations: 0 / 443 MB, free: 14.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002583/0.4183, allocations: 0 / 443 MB, free: 14.6 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.02602/0.4443, allocations: 6.135 MB / 449.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4444, allocations: 12.03 kB / 449.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2505/0.6948, allocations: 8.382 MB / 457.6 MB, free: 113.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008637/0.7035, allocations: 3.412 MB / 461 MB, free: 112.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.7038, allocations: 300.6 kB / 461.3 MB, free: 112.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.705, allocations: 405.4 kB / 461.7 MB, free: 112.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.7268, allocations: 13.35 MB / 475 MB, free: 104.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.727, allocations: 53.56 kB / 475.1 MB, free: 104.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.7275, allocations: 190.2 kB / 475.3 MB, free: 104.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00347/0.731, allocations: 2.197 MB / 477.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.7531, allocations: 12.78 MB / 490.2 MB, free: 89.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.8147, allocations: 49.33 MB / 0.5269 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/0.8372, allocations: 6.619 MB / 0.5334 GB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008808/0.8382, allocations: 419.2 kB / 0.5338 GB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.8383, allocations: 63.81 kB / 0.5338 GB, free: 31.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 5.691e-06/0.8383, allocations: 1.125 kB / 0.5338 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.1021/0.9404, allocations: 37.19 MB / 0.5702 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.9405, allocations: 213.8 kB / 0.5704 GB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007285/0.9478, allocations: 4.562 MB / 0.5748 GB, free: 5.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001114/0.949, allocations: 61.7 kB / 0.5749 GB, free: 5.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/0.9518, allocations: 3.489 MB / 0.5783 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/0.9536, allocations: 0.9515 MB / 0.5792 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005273/0.9541, allocations: 136 kB / 0.5793 GB, free: 1.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004133/0.9546, allocations: 0.5951 MB / 0.5799 GB, free: 484 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006487/0.9611, allocations: 4.257 MB / 0.5841 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/0.9722, allocations: 8.134 MB / 0.592 GB, free: 2.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008957/0.9812, allocations: 5.763 MB / 0.5977 GB, free: 12.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-05/0.9813, allocations: 36 kB / 0.5977 GB, free: 12.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.2461/1.227, allocations: 14.59 MB / 0.6119 GB, free: 137.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.228, allocations: 63.28 kB / 0.612 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/1.228, allocations: 138.5 kB / 0.6121 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008482/1.236, allocations: 2.508 MB / 0.6146 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007402/1.244, allocations: 1.763 MB / 0.6163 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.263, allocations: 16.31 MB / 0.6322 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00762/1.27, allocations: 477.4 kB / 0.6327 GB, free: 129.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.272, allocations: 0.495 MB / 0.6332 GB, free: 129.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 (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.004709/1.276, allocations: 2.379 MB / 0.6355 GB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.277, allocations: 405.5 kB / 0.6359 GB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.292, allocations: 9.696 MB / 0.6454 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/1.292, allocations: 28 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/1.292, allocations: 11.95 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.292, allocations: 15.64 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.323, allocations: 18.16 MB / 0.6631 GB, free: 105.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/1.323, allocations: 0 / 0.6631 GB, free: 105.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/1.326, allocations: 0.6043 MB / 0.6637 GB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00605/1.332, allocations: 2.268 MB / 0.6659 GB, free: 103 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006535/1.333, allocations: 123.8 kB / 0.6661 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.348, allocations: 15.03 MB / 0.6807 GB, free: 87.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.348, allocations: 0 / 0.6807 GB, free: 87.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/1.368, allocations: 15.42 MB / 0.6958 GB, free: 72.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003291/1.371, allocations: 1.077 MB / 0.6968 GB, free: 71.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.373, allocations: 44.94 kB / 0.6969 GB, free: 71.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/1.377, allocations: 231.4 kB / 0.6971 GB, free: 70.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009473/1.378, allocations: 245.7 kB / 0.6973 GB, free: 70.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004213/1.378, allocations: 152.6 kB / 0.6975 GB, free: 70.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004667/1.383, allocations: 2.894 MB / 0.7003 GB, free: 67.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.383, allocations: 0 / 0.7003 GB, free: 67.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007498/1.391, allocations: 1.444 MB / 0.7017 GB, free: 66.1 MB / 430.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.0009032/1.391, allocations: 212.7 kB / 0.7019 GB, free: 65.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01881/1.41, allocations: 10.27 MB / 0.712 GB, free: 55.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.41, allocations: 0 / 0.712 GB, free: 55.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009177/1.42, allocations: 4.636 MB / 0.7165 GB, free: 50.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004312/1.424, allocations: 456.7 kB / 0.7169 GB, free: 50.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/1.456, allocations: 15.27 MB / 0.7318 GB, free: 35.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005247/1.461, allocations: 3.873 MB / 0.7356 GB, free: 31.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00687/1.468, allocations: 2.391 MB / 0.7379 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/1.47, allocations: 0.5495 MB / 0.7385 GB, free: 28.38 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/1.47, allocations: 3.938 kB / 0.7385 GB, free: 28.37 MB / 430.1 MB Notification: Performance of Templates: time 0.2982/1.768, allocations: 75.32 MB / 0.812 GB, free: 128.5 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) Environment - environmentSimulation: