Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002542/0.002542, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001453/0.001453, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2669, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.0183/0.2853, allocations: 17.59 MB / 342.9 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.2998, allocations: 5.723 MB / 348.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.3046, allocations: 143.5 kB / 348.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.315, allocations: 5.218 MB / 354 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009192/0.3242, allocations: 3.151 MB / 357.1 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.3279, allocations: 1.412 MB / 358.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.3418, allocations: 10.09 MB / 368.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008513/0.3503, allocations: 6.176 MB / 374.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/0.3557, allocations: 3.065 MB / 377.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005585/0.3613, allocations: 4.058 MB / 381.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.3635, allocations: 0.582 MB / 382.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.369, allocations: 1.896 MB / 384.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006284/0.3753, allocations: 3.725 MB / 388.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01022/0.3856, allocations: 4.004 MB / 392.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.4028, allocations: 12.07 MB / 404.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.4028, allocations: 4 kB / 404.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4028, allocations: 0 / 404.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004764/0.4033, allocations: 0 / 404.2 MB, free: 4.711 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.03259/0.4359, allocations: 9.525 MB / 413.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.436, allocations: 11.89 kB / 413.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.4711, allocations: 8.71 MB / 422.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.4892, allocations: 7.25 MB / 429.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.4896, allocations: 377.8 kB / 430.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.4925, allocations: 0.6906 MB / 430.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03969/0.5323, allocations: 17.16 MB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/0.5328, allocations: 79.22 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/0.5352, allocations: 247.8 kB / 448.3 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/0.5402, allocations: 2.774 MB / 451 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3752/0.9154, allocations: 14.95 MB / 466 MB, free: 98.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06903/0.9845, allocations: 68.37 MB / 0.5218 GB, free: 34.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02573/1.01, allocations: 9.222 MB / 0.5308 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004679/1.015, allocations: 4.76 MB / 0.5355 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.016, allocations: 1.03 MB / 0.5365 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.016, allocations: 72.48 kB / 0.5366 GB, free: 19.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=268): time 4.358e-06/1.016, allocations: 4 kB / 0.5366 GB, free: 19.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.1849/1.201, allocations: 59.87 MB / 0.595 GB, free: 7.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003212/1.204, allocations: 3.418 MB / 0.5984 GB, free: 3.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1984/1.403, allocations: 7.501 MB / 0.6057 GB, free: 138.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.404, allocations: 78.59 kB / 0.6058 GB, free: 138.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004246/1.408, allocations: 5.042 MB / 0.6107 GB, free: 135.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.411, allocations: 1.351 MB / 0.612 GB, free: 134.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00674/1.417, allocations: 2.169 MB / 0.6141 GB, free: 133.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/1.417, allocations: 301.1 kB / 0.6144 GB, free: 133.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007547/1.425, allocations: 5.527 MB / 0.6198 GB, free: 131.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/1.435, allocations: 10.84 MB / 0.6304 GB, free: 122.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/1.453, allocations: 17.25 MB / 0.6472 GB, free: 109.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002033/1.454, allocations: 52 kB / 0.6473 GB, free: 109 MB / 430.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07395/1.528, allocations: 34.83 MB / 0.6813 GB, free: 76.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003793/1.528, allocations: 81.88 kB / 0.6814 GB, free: 76.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05214/1.58, allocations: 23.7 MB / 0.7045 GB, free: 52.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04668/1.627, allocations: 17.87 MB / 0.722 GB, free: 34.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008259/1.635, allocations: 2.398 MB / 0.7243 GB, free: 32.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2604/1.896, allocations: 41.48 MB / 0.7648 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/1.906, allocations: 0.8258 MB / 0.7656 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.907, allocations: 0.6057 MB / 0.7662 GB, free: 133 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1168): * Single equations (assignments): 1151 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,39,91.7%), (3,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,9), (4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.005422/1.913, allocations: 3.436 MB / 0.7696 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.914, allocations: 0.6611 MB / 0.7702 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/1.935, allocations: 12.87 MB / 0.7828 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01898/1.954, allocations: 11.54 MB / 0.7941 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-05/1.955, allocations: 21.88 kB / 0.7941 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/1.955, allocations: 19.78 kB / 0.7941 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05041/2.005, allocations: 27.09 MB / 0.8206 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/2.005, allocations: 4 kB / 0.8206 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003963/2.009, allocations: 0.7604 MB / 0.8213 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01574/2.025, allocations: 5.339 MB / 0.8265 GB, free: 98.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/2.026, allocations: 130 kB / 0.8266 GB, free: 98.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03023/2.056, allocations: 28.34 MB / 0.8543 GB, free: 69.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001571/2.058, allocations: 3.138 MB / 0.8574 GB, free: 65.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03011/2.088, allocations: 19.03 MB / 0.876 GB, free: 47.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005843/2.094, allocations: 1.494 MB / 0.8774 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004189/2.098, allocations: 83.97 kB / 0.8775 GB, free: 45.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005743/2.104, allocations: 351.5 kB / 0.8778 GB, free: 45.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001712/2.106, allocations: 290.1 kB / 0.8781 GB, free: 44.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007791/2.106, allocations: 139.9 kB / 0.8783 GB, free: 44.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008246/2.115, allocations: 4.77 MB / 0.8829 GB, free: 40.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/2.115, allocations: 0 / 0.8829 GB, free: 40.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01324/2.128, allocations: 2.282 MB / 0.8851 GB, free: 37.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * 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 (245): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,33,91.7%), (3,33,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/2.129, allocations: 227.7 kB / 0.8854 GB, free: 37.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0231/2.152, allocations: 16.51 MB / 0.9015 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.152, allocations: 384 / 0.9015 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008537/2.161, allocations: 5.941 MB / 0.9073 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/2.172, allocations: 0.9665 MB / 0.9082 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/2.396, allocations: 19.99 MB / 0.9278 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/2.402, allocations: 5.361 MB / 0.933 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007693/2.41, allocations: 3.204 MB / 0.9361 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/2.412, allocations: 0.5548 MB / 0.9367 GB, free: 130.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/2.412, allocations: 0 / 0.9367 GB, free: 130.7 MB / 446.1 MB Notification: Performance of Templates: time 0.161/2.573, allocations: 119.8 MB / 1.054 GB, free: 26.72 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)