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.001511/0.001511, allocations: 169.2 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.399/1.399, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001643/0.001643, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.225e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08728, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4193, allocations: 86.73 MB / 394.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4197, allocations: 85.45 kB / 394.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5607/0.9804, allocations: 147.1 MB / 0.5289 GB, free: 58.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.9805, allocations: 0 / 0.5289 GB, free: 58.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005603/0.981, allocations: 144 kB / 0.529 GB, free: 58.81 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.03654/1.018, allocations: 8.564 MB / 0.5374 GB, free: 50.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.018, allocations: 11.97 kB / 0.5374 GB, free: 50.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05877/1.076, allocations: 16.69 MB / 0.5537 GB, free: 33.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03086/1.107, allocations: 13.15 MB / 0.5665 GB, free: 20.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/1.108, allocations: 497.1 kB / 0.567 GB, free: 19.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003548/1.111, allocations: 0.6636 MB / 0.5676 GB, free: 19.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/1.151, allocations: 16.77 MB / 0.584 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004177/1.151, allocations: 111 kB / 0.5841 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/1.153, allocations: 319.8 kB / 0.5844 GB, free: 344 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/1.156, allocations: 1.467 MB / 0.5858 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/1.187, allocations: 13.48 MB / 0.599 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3315/1.519, allocations: 76.74 MB / 0.6739 GB, free: 16.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02379/1.542, allocations: 8.525 MB / 0.6823 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/1.547, allocations: 4.098 MB / 0.6863 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.549, allocations: 1.348 MB / 0.6876 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.549, allocations: 60.53 kB / 0.6876 GB, free: 10.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=268): time 5.65e-06/1.549, allocations: 0 / 0.6876 GB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=354): time 0.1358/1.685, allocations: 46.99 MB / 0.7335 GB, free: 2.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002421/1.687, allocations: 3.239 MB / 0.7367 GB, free: 14.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.699, allocations: 6.487 MB / 0.743 GB, free: 9.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.7, allocations: 73.7 kB / 0.7431 GB, free: 9.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004443/1.704, allocations: 5.204 MB / 0.7482 GB, free: 4.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.706, allocations: 1.346 MB / 0.7495 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/1.707, allocations: 188 kB / 0.7497 GB, free: 2.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005283/1.707, allocations: 0.7069 MB / 0.7504 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2531/1.96, allocations: 4.5 MB / 0.7548 GB, free: 96.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01284/1.973, allocations: 9.783 MB / 0.7643 GB, free: 89.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.986, allocations: 6.542 MB / 0.7707 GB, free: 89.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000322/1.986, allocations: 54.66 kB / 0.7708 GB, free: 89.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.07922/2.066, allocations: 31.48 MB / 0.8015 GB, free: 88.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005582/2.066, allocations: 87.5 kB / 0.8016 GB, free: 88.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05118/2.117, allocations: 20.62 MB / 0.8217 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04478/2.162, allocations: 16.6 MB / 0.8379 GB, free: 67.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008061/2.17, allocations: 2.117 MB / 0.84 GB, free: 65.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04322/2.214, allocations: 33.32 MB / 0.8725 GB, free: 32.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/2.225, allocations: 0.7782 MB / 0.8733 GB, free: 31.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002672/2.228, allocations: 0.5564 MB / 0.8738 GB, free: 30.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * 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 (1091): * Single equations (assignments): 1078 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004379/2.232, allocations: 0.8206 MB / 0.8746 GB, free: 30.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/2.234, allocations: 0.673 MB / 0.8753 GB, free: 29.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/2.254, allocations: 10.24 MB / 0.8853 GB, free: 19.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2825/2.537, allocations: 8.932 MB / 0.894 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001176/2.537, allocations: 15.16 kB / 0.894 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001497/2.537, allocations: 19.19 kB / 0.894 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08633/2.624, allocations: 23.53 MB / 0.917 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.916e-05/2.624, allocations: 3.719 kB / 0.917 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005672/2.629, allocations: 0.5555 MB / 0.9176 GB, free: 82.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/2.653, allocations: 4.015 MB / 0.9215 GB, free: 82.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001672/2.655, allocations: 101.5 kB / 0.9216 GB, free: 82.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04796/2.703, allocations: 24 MB / 0.945 GB, free: 68.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002359/2.705, allocations: 2.957 MB / 0.9479 GB, free: 66.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03386/2.739, allocations: 15.69 MB / 0.9632 GB, free: 59.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004877/2.744, allocations: 1.393 MB / 0.9646 GB, free: 59.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/2.746, allocations: 87.73 kB / 0.9647 GB, free: 59.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005181/2.752, allocations: 327.8 kB / 0.965 GB, free: 59.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/2.753, allocations: 248.1 kB / 0.9652 GB, free: 59.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/2.753, allocations: 96.64 kB / 0.9653 GB, free: 59.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01131/2.764, allocations: 4.636 MB / 0.9698 GB, free: 57.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.764, allocations: 3.938 kB / 0.9698 GB, free: 57.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01311/2.778, allocations: 2.127 MB / 0.9719 GB, free: 57.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (246): * 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: 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.00112/2.779, allocations: 220.8 kB / 0.9721 GB, free: 57.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01976/2.799, allocations: 11.89 MB / 0.9837 GB, free: 46.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.799, allocations: 2.188 kB / 0.9837 GB, free: 46.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009164/2.808, allocations: 5.193 MB / 0.9888 GB, free: 42.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007121/2.815, allocations: 0.9481 MB / 0.9897 GB, free: 41.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/2.853, allocations: 16.35 MB / 1.006 GB, free: 27.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.864, allocations: 5.518 MB / 1.011 GB, free: 23.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.012/2.876, allocations: 3.174 MB / 1.014 GB, free: 21.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/2.879, allocations: 448.6 kB / 1.015 GB, free: 20.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/2.879, allocations: 0 / 1.015 GB, free: 20.91 MB / 394.7 MB Notification: Performance of Templates: time 0.4234/3.302, allocations: 98.81 MB / 1.111 GB, free: 49.55 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)