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.001037/0.001037, allocations: 99.94 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.001181/0.001181, 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.563/1.563, 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.0005346/0.0005348, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.222, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.07279/0.2948, allocations: 80.95 MB / 407.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04096/0.3358, allocations: 18.51 MB / 425.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/0.3521, allocations: 426.9 kB / 426.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01634/0.3685, allocations: 4.086 MB / 430.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03946/0.408, allocations: 11.73 MB / 442.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006437/0.4144, allocations: 1.268 MB / 443.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3161/0.7306, allocations: 52.66 MB / 496.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009728/0.7404, allocations: 7.768 MB / 0.492 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.744, allocations: 2.069 MB / 0.494 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/0.7477, allocations: 2.658 MB / 0.4966 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009788/0.7487, allocations: 240 kB / 0.4969 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.7513, allocations: 1.338 MB / 0.4982 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.7537, allocations: 3.097 MB / 0.5012 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.7554, allocations: 1.467 MB / 0.5026 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.7667, allocations: 9.809 MB / 0.5122 GB, free: 8.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7667, allocations: 5.641 kB / 0.5122 GB, free: 8.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7667, allocations: 0 / 0.5122 GB, free: 8.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004607/0.7672, allocations: 0 / 0.5122 GB, free: 8.164 MB / 398.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.02962/0.7968, allocations: 8.564 MB / 0.5206 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7969, allocations: 8.031 kB / 0.5206 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09538/0.8923, allocations: 19.4 MB / 0.5395 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.9115, allocations: 8.031 MB / 0.5474 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004547/0.912, allocations: 383 kB / 0.5477 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00408/0.916, allocations: 0.6829 MB / 0.5484 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03435/0.9504, allocations: 17.1 MB / 0.5651 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/0.9508, allocations: 91.5 kB / 0.5652 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.9518, allocations: 246.3 kB / 0.5654 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004686/0.9565, allocations: 2.775 MB / 0.5681 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/0.9901, allocations: 14.66 MB / 0.5825 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.471/1.461, allocations: 67.49 MB / 0.6484 GB, free: 149.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02639/1.488, allocations: 9.073 MB / 0.6572 GB, free: 148.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.489, allocations: 1.035 MB / 0.6582 GB, free: 147.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.489, allocations: 66.09 kB / 0.6583 GB, free: 147.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 4.639e-06/1.489, allocations: 0 / 0.6583 GB, free: 147.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=348): time 0.1532/1.642, allocations: 55.08 MB / 0.7121 GB, free: 101.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001847/1.644, allocations: 3.261 MB / 0.7153 GB, free: 97.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.656, allocations: 8.228 MB / 0.7233 GB, free: 89.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001394/1.658, allocations: 80.28 kB / 0.7234 GB, free: 89.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003134/1.661, allocations: 5.165 MB / 0.7284 GB, free: 84.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.663, allocations: 1.315 MB / 0.7297 GB, free: 82.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008638/1.664, allocations: 187.9 kB / 0.7299 GB, free: 82.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003884/1.664, allocations: 0.7148 MB / 0.7306 GB, free: 81.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006125/1.67, allocations: 5.039 MB / 0.7355 GB, free: 76.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009811/1.68, allocations: 10.27 MB / 0.7456 GB, free: 64.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009427/1.689, allocations: 7.043 MB / 0.7524 GB, free: 57.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/1.69, allocations: 52 kB / 0.7525 GB, free: 57.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=1242) (initialization): time 0.06705/1.757, allocations: 32.71 MB / 0.7844 GB, free: 24.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.757, allocations: 88.12 kB / 0.7845 GB, free: 24.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04534/1.802, allocations: 21.74 MB / 0.8057 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.248/2.05, allocations: 16.87 MB / 0.8222 GB, free: 167 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008172/2.058, allocations: 2.258 MB / 0.8244 GB, free: 167 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04532/2.104, allocations: 37.02 MB / 0.8606 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.115, allocations: 0.7748 MB / 0.8613 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/2.117, allocations: 0.591 MB / 0.8619 GB, free: 145.1 MB / 478.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 (1076): * Single equations (assignments): 1059 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 41,(3,100.0%) 38} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.007649/2.125, allocations: 3.426 MB / 0.8653 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/2.127, allocations: 0.6699 MB / 0.8659 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/2.146, allocations: 11.34 MB / 0.877 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01675/2.163, allocations: 10 MB / 0.8868 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-05/2.163, allocations: 16 kB / 0.8868 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-05/2.163, allocations: 23.66 kB / 0.8868 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04459/2.207, allocations: 25.54 MB / 0.9117 GB, free: 94.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/2.208, allocations: 4 kB / 0.9117 GB, free: 94.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/2.211, allocations: 0.7565 MB / 0.9125 GB, free: 93.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/2.224, allocations: 4.12 MB / 0.9165 GB, free: 89.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009486/2.225, allocations: 136.7 kB / 0.9166 GB, free: 89.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/2.25, allocations: 24.38 MB / 0.9404 GB, free: 64.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001591/2.252, allocations: 2.993 MB / 0.9434 GB, free: 61.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02529/2.277, allocations: 17.68 MB / 0.9606 GB, free: 43.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005395/2.282, allocations: 1.468 MB / 0.9621 GB, free: 42.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/2.284, allocations: 88.94 kB / 0.9622 GB, free: 42.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/2.289, allocations: 323.5 kB / 0.9625 GB, free: 41.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008629/2.29, allocations: 290 kB / 0.9627 GB, free: 41.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/2.29, allocations: 136.6 kB / 0.9629 GB, free: 41.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007686/2.298, allocations: 5.349 MB / 0.9681 GB, free: 36.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/2.298, allocations: 0 / 0.9681 GB, free: 36.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01098/2.309, allocations: 2.179 MB / 0.9702 GB, free: 34.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (244): * Single equations (assignments): 234 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/2.31, allocations: 246.4 kB / 0.9705 GB, free: 33.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01735/2.327, allocations: 12.92 MB / 0.9831 GB, free: 20.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.327, allocations: 0 / 0.9831 GB, free: 20.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2036/2.531, allocations: 5.589 MB / 0.9885 GB, free: 169.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/2.538, allocations: 0.946 MB / 0.9895 GB, free: 169.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/2.572, allocations: 21.97 MB / 1.011 GB, free: 161.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007612/2.58, allocations: 5.507 MB / 1.016 GB, free: 160.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008816/2.589, allocations: 3.219 MB / 1.019 GB, free: 160.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/2.591, allocations: 0.5676 MB / 1.02 GB, free: 160.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/2.591, allocations: 0 / 1.02 GB, free: 160.5 MB / 478.1 MB Notification: Performance of Templates: time 0.157/2.748, allocations: 109 MB / 1.126 GB, free: 57.21 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: