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.001102/0.001102, allocations: 99.47 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.00115/0.00115, 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.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004367/0.0004368, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 47.6 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.05027/0.2569, allocations: 56.82 MB / 383.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03073/0.2877, allocations: 13.37 MB / 396.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/0.3012, allocations: 283.3 kB / 396.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009769/0.3111, allocations: 2.834 MB / 399.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02452/0.3356, allocations: 8.123 MB / 407.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.3402, allocations: 0.7177 MB / 408.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02235/0.3626, allocations: 14.38 MB / 423 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009551/0.3722, allocations: 6.31 MB / 429.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.374, allocations: 1.183 MB / 430.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.3761, allocations: 1.694 MB / 432.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004729/0.3766, allocations: 172 kB / 432.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.3782, allocations: 0.9403 MB / 433.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3797, allocations: 1.827 MB / 435.1 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.3806, allocations: 0.9868 MB / 436.1 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006187/0.3868, allocations: 6.94 MB / 443 MB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3869, allocations: 4 kB / 443 MB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3869, allocations: 0 / 443 MB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002094/0.3871, allocations: 0 / 443 MB, free: 14.59 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.0269/0.414, allocations: 6.146 MB / 449.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4141, allocations: 8.031 kB / 449.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2915/0.7056, allocations: 8.383 MB / 457.6 MB, free: 113.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009718/0.7153, allocations: 3.41 MB / 461 MB, free: 112.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.7156, allocations: 304.5 kB / 461.3 MB, free: 112.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.717, allocations: 403.9 kB / 461.7 MB, free: 112.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.7407, allocations: 13.35 MB / 475 MB, free: 104.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.7408, allocations: 48.16 kB / 475.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005522/0.7414, allocations: 188.9 kB / 475.3 MB, free: 104.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/0.7454, allocations: 2.198 MB / 477.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02543/0.7708, allocations: 12.79 MB / 490.2 MB, free: 89.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/0.8331, allocations: 49.33 MB / 0.5269 GB, free: 39.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/0.8555, allocations: 6.611 MB / 0.5334 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/0.8564, allocations: 419.6 kB / 0.5338 GB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.8565, allocations: 59.86 kB / 0.5338 GB, free: 31.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 6.722e-06/0.8565, allocations: 4 kB / 0.5338 GB, free: 31.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.09532/0.9518, allocations: 37.19 MB / 0.5702 GB, free: 10.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.952, allocations: 217.8 kB / 0.5704 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.9588, allocations: 4.562 MB / 0.5748 GB, free: 5.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009219/0.9598, allocations: 61.7 kB / 0.5749 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002475/0.9622, allocations: 3.478 MB / 0.5783 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.9639, allocations: 0.9671 MB / 0.5792 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.9644, allocations: 136 kB / 0.5794 GB, free: 1.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004075/0.9648, allocations: 0.5873 MB / 0.5799 GB, free: 428 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006481/0.9713, allocations: 4.261 MB / 0.5841 GB, free: 12.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/0.9817, allocations: 8.125 MB / 0.592 GB, free: 2.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.9909, allocations: 5.754 MB / 0.5976 GB, free: 12.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.468e-05/0.991, allocations: 39.09 kB / 0.5977 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.2224/1.213, allocations: 14.6 MB / 0.6119 GB, free: 137.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.214, allocations: 64.72 kB / 0.612 GB, free: 137.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002205/1.214, allocations: 139.2 kB / 0.6121 GB, free: 137.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007301/1.221, allocations: 2.509 MB / 0.6146 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.228, allocations: 1.76 MB / 0.6163 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/1.245, allocations: 16.33 MB / 0.6322 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.252, allocations: 472.6 kB / 0.6327 GB, free: 129.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.253, allocations: 499.5 kB / 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.004257/1.257, allocations: 2.381 MB / 0.6355 GB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009216/1.258, allocations: 404.8 kB / 0.6359 GB, free: 128.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.272, allocations: 9.697 MB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/1.272, allocations: 28.7 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.272, allocations: 12 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/1.272, allocations: 15.67 kB / 0.6454 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.301, allocations: 18.15 MB / 0.6631 GB, free: 105.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.301, allocations: 3.953 kB / 0.6631 GB, free: 105.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/1.304, allocations: 0.6006 MB / 0.6637 GB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005769/1.31, allocations: 2.273 MB / 0.6659 GB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/1.31, allocations: 132.3 kB / 0.6661 GB, free: 102.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/1.326, allocations: 15.01 MB / 0.6807 GB, free: 87.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.326, allocations: 0 / 0.6807 GB, free: 87.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.345, allocations: 15.43 MB / 0.6958 GB, free: 72.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/1.348, allocations: 1.077 MB / 0.6968 GB, free: 71.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/1.349, allocations: 49.97 kB / 0.6969 GB, free: 70.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.352, allocations: 232.6 kB / 0.6971 GB, free: 70.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007328/1.353, allocations: 241.5 kB / 0.6973 GB, free: 70.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/1.353, allocations: 153 kB / 0.6975 GB, free: 70.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003969/1.357, allocations: 2.89 MB / 0.7003 GB, free: 67.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.357, allocations: 0 / 0.7003 GB, free: 67.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006156/1.364, allocations: 1.446 MB / 0.7017 GB, free: 66.04 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.0006961/1.364, allocations: 208.1 kB / 0.7019 GB, free: 65.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.377, allocations: 10.27 MB / 0.712 GB, free: 55.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.377, allocations: 0 / 0.712 GB, free: 55.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005368/1.382, allocations: 4.639 MB / 0.7165 GB, free: 50.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.384, allocations: 457.5 kB / 0.7169 GB, free: 50.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.405, allocations: 15.28 MB / 0.7318 GB, free: 35.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/1.409, allocations: 3.857 MB / 0.7356 GB, free: 31.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005581/1.414, allocations: 2.399 MB / 0.738 GB, free: 28.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/1.416, allocations: 0.5417 MB / 0.7385 GB, free: 28.31 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/1.416, allocations: 0 / 0.7385 GB, free: 28.31 MB / 430.1 MB Notification: Performance of Templates: time 0.2909/1.707, allocations: 75.33 MB / 0.812 GB, free: 126.9 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: