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.0009671/0.0009673, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008357/0.008357, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.623/1.623, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0008678/0.000868, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2967, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.06444/0.3612, allocations: 64.78 MB / 391.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03503/0.3963, allocations: 13.36 MB / 405.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/0.4099, allocations: 283.3 kB / 405.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.412, allocations: 0.4974 MB / 405.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006438/0.4185, allocations: 1.942 MB / 407.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.421, allocations: 0.7372 MB / 408.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.4323, allocations: 6.784 MB / 415.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.4447, allocations: 7.179 MB / 422.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.4478, allocations: 1.358 MB / 423.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.4518, allocations: 2.421 MB / 426.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009861/0.4528, allocations: 172 kB / 426.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.4554, allocations: 1.112 MB / 427.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002427/0.4579, allocations: 2.022 MB / 429.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003285/0.4612, allocations: 2.369 MB / 432 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008115/0.4693, allocations: 8.152 MB / 440.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4694, allocations: 4 kB / 440.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4694, allocations: 3.938 kB / 440.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.4695, allocations: 0 / 440.2 MB, free: 1.73 MB / 366.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.02546/0.495, allocations: 5.76 MB / 446 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4951, allocations: 12.02 kB / 446 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.5129, allocations: 2.591 MB / 448.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/0.5213, allocations: 3.128 MB / 451.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.5216, allocations: 303.8 kB / 452 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.5235, allocations: 407.7 kB / 452.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2855/0.809, allocations: 13.3 MB / 465.7 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.8092, allocations: 45.97 kB / 465.7 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008601/0.8101, allocations: 191.6 kB / 465.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004184/0.8143, allocations: 2.201 MB / 468.1 MB, free: 31.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/0.8412, allocations: 12.72 MB / 480.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0656/0.9069, allocations: 49.39 MB / 0.5178 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02597/0.9329, allocations: 6.477 MB / 0.5241 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00585/0.9388, allocations: 3.925 MB / 0.528 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.9399, allocations: 431.2 kB / 0.5284 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/0.9399, allocations: 58.78 kB / 0.5284 GB, free: 10.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 5.63e-06/0.94, allocations: 0 / 0.5284 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.1098/1.05, allocations: 36.22 MB / 0.5638 GB, free: 6.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/1.05, allocations: 209.9 kB / 0.564 GB, free: 6.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007067/1.057, allocations: 4.425 MB / 0.5683 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.058, allocations: 68.8 kB / 0.5684 GB, free: 1.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.061, allocations: 3.46 MB / 0.5718 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.062, allocations: 0.9476 MB / 0.5727 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/1.064, allocations: 0.5939 MB / 0.5733 GB, free: 12.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/1.064, allocations: 309.1 kB / 0.5736 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006458/1.07, allocations: 4.339 MB / 0.5778 GB, free: 8.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009884/1.08, allocations: 8.24 MB / 0.5859 GB, free: 14.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/1.098, allocations: 13.41 MB / 0.5989 GB, free: 15.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/1.098, allocations: 36 kB / 0.599 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02708/1.125, allocations: 14.79 MB / 0.6134 GB, free: 1.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/1.125, allocations: 64 kB / 0.6135 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.125, allocations: 136 kB / 0.6136 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006709/1.132, allocations: 2.46 MB / 0.616 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006961/1.139, allocations: 1.791 MB / 0.6178 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2249/1.364, allocations: 15.86 MB / 0.6333 GB, free: 216.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/1.372, allocations: 476.6 kB / 0.6337 GB, free: 216.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.373, allocations: 0.4939 MB / 0.6342 GB, free: 216.1 MB / 0.4981 GB 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.005621/1.379, allocations: 2.386 MB / 0.6365 GB, free: 215.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.38, allocations: 396.4 kB / 0.6369 GB, free: 215.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/1.395, allocations: 9.676 MB / 0.6464 GB, free: 212.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/1.395, allocations: 28.23 kB / 0.6464 GB, free: 212.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/1.395, allocations: 10.75 kB / 0.6464 GB, free: 212.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.865e-05/1.395, allocations: 16.39 kB / 0.6464 GB, free: 212.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/1.422, allocations: 18.17 MB / 0.6641 GB, free: 205.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.422, allocations: 1.75 kB / 0.6642 GB, free: 205.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/1.425, allocations: 0.5966 MB / 0.6647 GB, free: 204.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005803/1.431, allocations: 2.228 MB / 0.6669 GB, free: 202.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008459/1.432, allocations: 128.6 kB / 0.667 GB, free: 202.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.447, allocations: 14.58 MB / 0.6813 GB, free: 187.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.448, allocations: 0 / 0.6813 GB, free: 187.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/1.466, allocations: 15.19 MB / 0.6961 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/1.469, allocations: 1.065 MB / 0.6971 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008961/1.47, allocations: 43.91 kB / 0.6972 GB, free: 171.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.473, allocations: 232.8 kB / 0.6974 GB, free: 171.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/1.474, allocations: 233.6 kB / 0.6976 GB, free: 171 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/1.474, allocations: 151 kB / 0.6978 GB, free: 170.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003825/1.478, allocations: 2.791 MB / 0.7005 GB, free: 168.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.478, allocations: 0 / 0.7005 GB, free: 168.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00687/1.485, allocations: 1.441 MB / 0.7019 GB, free: 166.6 MB / 0.4981 GB 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.0007275/1.485, allocations: 178.6 kB / 0.7021 GB, free: 166.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.499, allocations: 10.41 MB / 0.7122 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.499, allocations: 0 / 0.7122 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005599/1.504, allocations: 4.629 MB / 0.7168 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.508, allocations: 486.5 kB / 0.7172 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.528, allocations: 15.85 MB / 0.7327 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.531, allocations: 3.752 MB / 0.7364 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005699/1.537, allocations: 2.399 MB / 0.7387 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.539, allocations: 0.5408 MB / 0.7392 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.114e-06/1.539, allocations: 0 / 0.7392 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1205/1.659, allocations: 75.7 MB / 0.8132 GB, free: 52.79 MB / 0.4981 GB 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)