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.0009353/0.0009355, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008543/0.0008544, allocations: 168.7 kB / 15.95 MB, free: 204 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005051/0.0005053, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.0788/0.3317, allocations: 85.82 MB / 412.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05334/0.385, allocations: 17.65 MB / 430 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01923/0.4043, allocations: 430.9 kB / 430.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01475/0.4191, allocations: 4.51 MB / 434.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05006/0.4692, allocations: 13.42 MB / 448.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.4801, allocations: 1.268 MB / 449.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3557/0.8359, allocations: 67.57 MB / 0.505 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.8488, allocations: 7.827 MB / 0.5127 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005818/0.8546, allocations: 2.571 MB / 0.5152 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006813/0.8615, allocations: 3.858 MB / 0.5189 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.8632, allocations: 236 kB / 0.5192 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.8679, allocations: 1.366 MB / 0.5205 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006013/0.8739, allocations: 3.33 MB / 0.5238 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.8779, allocations: 1.445 MB / 0.5252 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.8912, allocations: 9.545 MB / 0.5345 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8913, allocations: 0 / 0.5345 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.8913, allocations: 0 / 0.5345 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005417/0.8918, allocations: 1.969 kB / 0.5345 GB, free: 2.09 MB / 414.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.02724/0.9191, allocations: 8.013 MB / 0.5423 GB, free: 10.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.9192, allocations: 12.03 kB / 0.5423 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03052/0.9497, allocations: 8.799 MB / 0.5509 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.9677, allocations: 7.11 MB / 0.5579 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/0.9683, allocations: 379.9 kB / 0.5582 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/0.9723, allocations: 0.6797 MB / 0.5589 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04086/1.013, allocations: 17.18 MB / 0.5757 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005071/1.014, allocations: 79.16 kB / 0.5757 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002414/1.016, allocations: 246.3 kB / 0.576 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/1.021, allocations: 2.78 MB / 0.5787 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03495/1.056, allocations: 14.95 MB / 0.5933 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5083/1.564, allocations: 68.39 MB / 0.6601 GB, free: 166.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02519/1.589, allocations: 9.248 MB / 0.6691 GB, free: 166 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005144/1.595, allocations: 4.736 MB / 0.6737 GB, free: 164.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.596, allocations: 1.042 MB / 0.6748 GB, free: 163.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.596, allocations: 59.59 kB / 0.6748 GB, free: 163.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=268): time 6.702e-06/1.596, allocations: 0 / 0.6748 GB, free: 163.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=351): time 0.1466/1.742, allocations: 60.1 MB / 0.7335 GB, free: 110.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001673/1.744, allocations: 3.241 MB / 0.7367 GB, free: 107.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009681/1.754, allocations: 7.463 MB / 0.744 GB, free: 99.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.755, allocations: 79.66 kB / 0.744 GB, free: 99.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002993/1.758, allocations: 5.037 MB / 0.7489 GB, free: 94.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002317/1.76, allocations: 1.342 MB / 0.7503 GB, free: 93.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007215/1.761, allocations: 203.7 kB / 0.7505 GB, free: 93.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004176/1.761, allocations: 0.7438 MB / 0.7512 GB, free: 92.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006358/1.768, allocations: 5.478 MB / 0.7565 GB, free: 86.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009088/1.777, allocations: 10.8 MB / 0.7671 GB, free: 73.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.787, allocations: 7.517 MB / 0.7744 GB, free: 66.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/1.787, allocations: 52 kB / 0.7745 GB, free: 66.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.06926/1.856, allocations: 34.74 MB / 0.8084 GB, free: 31.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/1.857, allocations: 84 kB / 0.8085 GB, free: 31.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04822/1.905, allocations: 23.67 MB / 0.8316 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.277/2.182, allocations: 17.87 MB / 0.849 GB, free: 183.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008186/2.19, allocations: 2.393 MB / 0.8514 GB, free: 183.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04655/2.237, allocations: 37.87 MB / 0.8884 GB, free: 165.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.249, allocations: 0.8275 MB / 0.8892 GB, free: 165.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002745/2.251, allocations: 0.6128 MB / 0.8898 GB, free: 164.5 MB / 494.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 (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 {(6,91.7%) 39,(3,100.0%) 38} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008316/2.26, allocations: 3.429 MB / 0.8931 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/2.261, allocations: 0.6588 MB / 0.8938 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/2.283, allocations: 12.88 MB / 0.9063 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01897/2.302, allocations: 11.52 MB / 0.9176 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-05/2.302, allocations: 16 kB / 0.9176 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/2.302, allocations: 22.88 kB / 0.9176 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05067/2.353, allocations: 27.07 MB / 0.9441 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/2.353, allocations: 7.984 kB / 0.9441 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/2.356, allocations: 0.7559 MB / 0.9448 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01422/2.371, allocations: 5.316 MB / 0.95 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/2.372, allocations: 142.9 kB / 0.9501 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/2.401, allocations: 26.41 MB / 0.9759 GB, free: 76.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001583/2.402, allocations: 2.962 MB / 0.9788 GB, free: 73.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02944/2.432, allocations: 18.99 MB / 0.9974 GB, free: 54.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004285/2.436, allocations: 1.508 MB / 0.9988 GB, free: 52.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/2.439, allocations: 75.98 kB / 0.9989 GB, free: 52.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/2.444, allocations: 361.2 kB / 0.9992 GB, free: 52.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/2.445, allocations: 291.5 kB / 0.9995 GB, free: 52.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007884/2.446, allocations: 138.3 kB / 0.9997 GB, free: 51.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009019/2.455, allocations: 4.727 MB / 1.004 GB, free: 47.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/2.455, allocations: 0 / 1.004 GB, free: 47.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01281/2.468, allocations: 2.281 MB / 1.007 GB, free: 44.92 MB / 494.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 (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 {(6,91.7%) 33,(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.001257/2.469, allocations: 219.8 kB / 1.007 GB, free: 44.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01998/2.489, allocations: 14 MB / 1.02 GB, free: 30.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.489, allocations: 0 / 1.02 GB, free: 30.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008013/2.497, allocations: 5.92 MB / 1.026 GB, free: 24.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009532/2.507, allocations: 0.9228 MB / 1.027 GB, free: 23.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.259/2.766, allocations: 22.61 MB / 1.049 GB, free: 178.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006998/2.773, allocations: 5.347 MB / 1.054 GB, free: 177.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00849/2.781, allocations: 3.207 MB / 1.057 GB, free: 177.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/2.784, allocations: 0.5537 MB / 1.058 GB, free: 177.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/2.784, allocations: 0 / 1.058 GB, free: 177.8 MB / 494.1 MB Notification: Performance of Templates: time 0.1689/2.953, allocations: 111 MB / 1.166 GB, free: 78.44 MB / 494.1 MB 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)