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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001362/0.001362, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.345/1.345, allocations: 170.7 MB / 178.7 MB, free: 15.63 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001748, allocations: 111.5 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.713e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08148, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4146, allocations: 86.08 MB / 387.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.4149, allocations: 87.56 kB / 387.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.547/0.9619, allocations: 144.2 MB / 0.5189 GB, free: 66.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.962, allocations: 0 / 0.5189 GB, free: 66.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007968/0.9628, allocations: 143.9 kB / 0.519 GB, free: 66.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.03747/1, allocations: 8.563 MB / 0.5274 GB, free: 61.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1, allocations: 7.75 kB / 0.5274 GB, free: 61.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05999/1.06, allocations: 16.68 MB / 0.5436 GB, free: 46.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03479/1.095, allocations: 13.13 MB / 0.5565 GB, free: 32.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/1.096, allocations: 216 kB / 0.5567 GB, free: 32.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004198/1.1, allocations: 411.7 kB / 0.5571 GB, free: 32.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01935/1.119, allocations: 8.992 MB / 0.5659 GB, free: 23.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/1.152, allocations: 14.14 MB / 0.5797 GB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006886/1.153, allocations: 103.1 kB / 0.5798 GB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/1.157, allocations: 48 kB / 0.5798 GB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00242/1.159, allocations: 1.478 MB / 0.5812 GB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3025/1.462, allocations: 74.51 MB / 0.654 GB, free: 29.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/1.468, allocations: 5.359 MB / 0.6592 GB, free: 26.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.472, allocations: 4.026 MB / 0.6632 GB, free: 25.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/1.474, allocations: 1.347 MB / 0.6645 GB, free: 23.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.474, allocations: 69.62 kB / 0.6646 GB, free: 23.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=268): time 5.34e-06/1.474, allocations: 0 / 0.6646 GB, free: 23.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=349): time 0.1067/1.58, allocations: 45.08 MB / 0.7086 GB, free: 15.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.581, allocations: 291.7 kB / 0.7089 GB, free: 14.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.591, allocations: 5.647 MB / 0.7144 GB, free: 9.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.592, allocations: 25.7 kB / 0.7144 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004824/1.597, allocations: 5.254 MB / 0.7195 GB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00246/1.599, allocations: 1.294 MB / 0.7208 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/1.6, allocations: 0 / 0.7208 GB, free: 4.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006152/1.601, allocations: 0.7126 MB / 0.7215 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008344/1.609, allocations: 4.447 MB / 0.7258 GB, free: 0 / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2429/1.852, allocations: 9.653 MB / 0.7353 GB, free: 81.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.862, allocations: 6.326 MB / 0.7414 GB, free: 81.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/1.863, allocations: 55.69 kB / 0.7415 GB, free: 81.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.07018/1.933, allocations: 30.15 MB / 0.7709 GB, free: 80.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.933, allocations: 86.47 kB / 0.771 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04617/1.979, allocations: 20.26 MB / 0.7908 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04436/2.024, allocations: 16.53 MB / 0.8069 GB, free: 60.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008038/2.032, allocations: 2.156 MB / 0.809 GB, free: 58.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04001/2.072, allocations: 31.46 MB / 0.8398 GB, free: 26.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/2.083, allocations: 0.5911 MB / 0.8403 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002884/2.086, allocations: 0.578 MB / 0.8409 GB, free: 25.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1110): * Single equations (assignments): 1097 * Array equations: 7 * 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 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002665/2.089, allocations: 0.5798 MB / 0.8415 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/2.09, allocations: 0.6285 MB / 0.8421 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/2.108, allocations: 9.736 MB / 0.8516 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01441/2.122, allocations: 8.557 MB / 0.86 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-05/2.122, allocations: 22.3 kB / 0.86 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-05/2.122, allocations: 19.89 kB / 0.86 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3031/2.425, allocations: 22.2 MB / 0.8817 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/2.425, allocations: 6.781 kB / 0.8817 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/2.428, allocations: 0.5493 MB / 0.8822 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/2.44, allocations: 3.965 MB / 0.8861 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006989/2.441, allocations: 54.16 kB / 0.8861 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/2.466, allocations: 22.76 MB / 0.9084 GB, free: 62.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00168/2.467, allocations: 2.835 MB / 0.9111 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/2.492, allocations: 15.07 MB / 0.9259 GB, free: 54.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004916/2.497, allocations: 1.303 MB / 0.9271 GB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/2.498, allocations: 36.38 kB / 0.9272 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003895/2.502, allocations: 270.2 kB / 0.9274 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000781/2.503, allocations: 245.3 kB / 0.9277 GB, free: 53.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/2.503, allocations: 108.7 kB / 0.9278 GB, free: 53.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007775/2.511, allocations: 3.889 MB / 0.9316 GB, free: 52.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.511, allocations: 0 / 0.9316 GB, free: 52.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01209/2.523, allocations: 1.901 MB / 0.9334 GB, free: 52.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * 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: 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: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/2.524, allocations: 172.1 kB / 0.9336 GB, free: 52.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02444/2.549, allocations: 11.31 MB / 0.9446 GB, free: 44.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.549, allocations: 1.062 kB / 0.9446 GB, free: 44.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009833/2.559, allocations: 4.98 MB / 0.9495 GB, free: 39.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/2.566, allocations: 0.7922 MB / 0.9503 GB, free: 39.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04002/2.606, allocations: 15.95 MB / 0.9658 GB, free: 25.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009626/2.616, allocations: 5.498 MB / 0.9712 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00849/2.625, allocations: 3.156 MB / 0.9743 GB, free: 19.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/2.626, allocations: 422.7 kB / 0.9747 GB, free: 19.03 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/2.626, allocations: 0 / 0.9747 GB, free: 19.03 MB / 378.7 MB Notification: Performance of Templates: time 0.3631/2.989, allocations: 89.62 MB / 1.062 GB, free: 70.19 MB / 394.7 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)