Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007066/0.007066, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001089/0.00109, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001263/0.001263, allocations: 50.61 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.01684/0.127, allocations: 17.59 MB / 390.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1404, allocations: 5.729 MB / 396.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.1457, allocations: 139.6 kB / 396.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01/0.1557, allocations: 5.206 MB / 401.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009688/0.1655, allocations: 3.151 MB / 405 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.1692, allocations: 1.424 MB / 406.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01415/0.1834, allocations: 10.07 MB / 416.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007937/0.1913, allocations: 6.176 MB / 422.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006928/0.1983, allocations: 3.076 MB / 425.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.2053, allocations: 4.05 MB / 429.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002234/0.2076, allocations: 0.582 MB / 430.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/0.2122, allocations: 1.892 MB / 432.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006056/0.2182, allocations: 3.729 MB / 436 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007805/0.2261, allocations: 4.008 MB / 440 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.2429, allocations: 12.39 MB / 452.4 MB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.2429, allocations: 4 kB / 452.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2429, allocations: 0 / 452.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004452/0.2434, allocations: 0 / 452.4 MB, free: 1.777 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: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.2559/0.4993, allocations: 9.507 MB / 461.9 MB, free: 65.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4994, allocations: 14.36 kB / 461.9 MB, free: 65.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03608/0.5355, allocations: 8.717 MB / 470.6 MB, free: 61.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/0.5556, allocations: 7.407 MB / 478 MB, free: 56.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.5561, allocations: 382.4 kB / 478.4 MB, free: 56.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003526/0.5596, allocations: 0.6858 MB / 479.1 MB, free: 55.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03295/0.5925, allocations: 17.16 MB / 496.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002487/0.5928, allocations: 83.3 kB / 496.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008985/0.5938, allocations: 243.8 kB / 496.6 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.5975, allocations: 2.77 MB / 499.3 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03228/0.6297, allocations: 14.96 MB / 0.5022 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09537/0.7252, allocations: 68.08 MB / 0.5687 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03105/0.7563, allocations: 9.233 MB / 0.5777 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006971/0.7633, allocations: 4.75 MB / 0.5824 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.7649, allocations: 1.038 MB / 0.5834 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.765, allocations: 68.5 kB / 0.5835 GB, free: 13.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=268): time 6.753e-06/0.765, allocations: 0 / 0.5835 GB, free: 13.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=351): time 0.6552/1.42, allocations: 59.86 MB / 0.6419 GB, free: 157.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002563/1.423, allocations: 3.411 MB / 0.6452 GB, free: 153.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/1.436, allocations: 7.51 MB / 0.6526 GB, free: 151.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001507/1.438, allocations: 83.52 kB / 0.6527 GB, free: 151.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003928/1.442, allocations: 5.034 MB / 0.6576 GB, free: 147.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002486/1.444, allocations: 1.346 MB / 0.6589 GB, free: 146.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00374/1.448, allocations: 2.176 MB / 0.661 GB, free: 145.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/1.448, allocations: 304.8 kB / 0.6613 GB, free: 145.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006985/1.455, allocations: 5.524 MB / 0.6667 GB, free: 143.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/1.465, allocations: 10.84 MB / 0.6773 GB, free: 134 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/1.483, allocations: 17.24 MB / 0.6941 GB, free: 114.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002304/1.483, allocations: 52 kB / 0.6942 GB, free: 114.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07413/1.558, allocations: 34.83 MB / 0.7282 GB, free: 79.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.558, allocations: 80 kB / 0.7283 GB, free: 79.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04923/1.607, allocations: 23.69 MB / 0.7514 GB, free: 55.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04599/1.653, allocations: 17.85 MB / 0.7688 GB, free: 37.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007874/1.661, allocations: 2.398 MB / 0.7712 GB, free: 35.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2774/1.938, allocations: 41.45 MB / 0.8117 GB, free: 156.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/1.953, allocations: 0.8147 MB / 0.8125 GB, free: 156.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004683/1.957, allocations: 0.6131 MB / 0.8131 GB, free: 156.3 MB / 0.4982 GB 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.009961/1.967, allocations: 3.44 MB / 0.8164 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002356/1.97, allocations: 0.6587 MB / 0.8171 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/1.994, allocations: 12.87 MB / 0.8296 GB, free: 153.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02145/2.016, allocations: 11.55 MB / 0.8409 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-05/2.016, allocations: 15.69 kB / 0.8409 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/2.016, allocations: 19.19 kB / 0.8409 GB, free: 149.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05052/2.067, allocations: 27.02 MB / 0.8673 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/2.067, allocations: 4 kB / 0.8673 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004127/2.071, allocations: 0.7526 MB / 0.8681 GB, free: 130 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/2.087, allocations: 5.319 MB / 0.8733 GB, free: 124.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00153/2.089, allocations: 131.8 kB / 0.8734 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02991/2.119, allocations: 28.34 MB / 0.9011 GB, free: 95.87 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00152/2.12, allocations: 3.138 MB / 0.9041 GB, free: 92.46 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02842/2.149, allocations: 19.02 MB / 0.9227 GB, free: 73.67 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005298/2.154, allocations: 1.493 MB / 0.9242 GB, free: 72.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/2.156, allocations: 81.47 kB / 0.9242 GB, free: 72.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005023/2.161, allocations: 356.6 kB / 0.9246 GB, free: 71.98 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.162, allocations: 290.1 kB / 0.9249 GB, free: 71.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003648/2.163, allocations: 139.9 kB / 0.925 GB, free: 71.56 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007428/2.17, allocations: 4.77 MB / 0.9296 GB, free: 66.82 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.21e-07/2.17, allocations: 0 / 0.9296 GB, free: 66.82 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01359/2.184, allocations: 2.28 MB / 0.9319 GB, free: 64.55 MB / 0.4982 GB 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.001236/2.185, allocations: 223.2 kB / 0.9321 GB, free: 64.34 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0195/2.205, allocations: 14.12 MB / 0.9459 GB, free: 50.16 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.205, allocations: 0 / 0.9459 GB, free: 50.16 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/2.213, allocations: 5.947 MB / 0.9517 GB, free: 44.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/2.22, allocations: 0.9761 MB / 0.9526 GB, free: 43.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/2.251, allocations: 19.79 MB / 0.972 GB, free: 23.28 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005699/2.257, allocations: 5.358 MB / 0.9772 GB, free: 17.89 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007142/2.264, allocations: 3.205 MB / 0.9803 GB, free: 14.68 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/2.266, allocations: 0.5576 MB / 0.9809 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of SimCode: time 1.413e-06/2.266, allocations: 0 / 0.9809 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of Templates: time 0.4189/2.685, allocations: 114.5 MB / 1.093 GB, free: 98.84 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)