Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001063/0.001063, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.134/1.134, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00159/0.001591, allocations: 110.5 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07147/0.0718, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.3056, allocations: 92.58 MB / 447.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3059, allocations: 88.14 kB / 447.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4753/0.7812, allocations: 147 MB / 0.5808 GB, free: 76.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.7813, allocations: 0 / 0.5808 GB, free: 76.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005616/0.7818, allocations: 142.4 kB / 0.5809 GB, free: 76.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.03414/0.816, allocations: 9.476 MB / 0.5902 GB, free: 71.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8161, allocations: 11.2 kB / 0.5902 GB, free: 71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0534/0.8695, allocations: 16.66 MB / 0.6064 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03027/0.8998, allocations: 13.2 MB / 0.6193 GB, free: 42.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.9003, allocations: 497.9 kB / 0.6198 GB, free: 42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/0.9035, allocations: 0.6584 MB / 0.6204 GB, free: 41.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/0.9411, allocations: 16.89 MB / 0.6369 GB, free: 23.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005773/0.9417, allocations: 103 kB / 0.637 GB, free: 22.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002699/0.9444, allocations: 327.2 kB / 0.6373 GB, free: 22.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/0.9463, allocations: 1.47 MB / 0.6388 GB, free: 21.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/0.9719, allocations: 13.67 MB / 0.6521 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2682/1.24, allocations: 76.75 MB / 0.7271 GB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/1.263, allocations: 8.57 MB / 0.7355 GB, free: 32.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/1.264, allocations: 1.342 MB / 0.7368 GB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.264, allocations: 68.5 kB / 0.7368 GB, free: 31.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=268): time 5.24e-06/1.264, allocations: 3.625 kB / 0.7368 GB, free: 31.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=354): time 0.1653/1.43, allocations: 53.13 MB / 0.7887 GB, free: 8.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002381/1.432, allocations: 3.265 MB / 0.7919 GB, free: 4.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.442, allocations: 6.556 MB / 0.7983 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009817/1.443, allocations: 80.36 kB / 0.7984 GB, free: 15.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004186/1.447, allocations: 5.199 MB / 0.8035 GB, free: 10.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00182/1.449, allocations: 1.351 MB / 0.8048 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005706/1.45, allocations: 184 kB / 0.805 GB, free: 9.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004642/1.45, allocations: 0.7118 MB / 0.8057 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005975/1.456, allocations: 4.576 MB / 0.8101 GB, free: 4.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1881/1.644, allocations: 9.858 MB / 0.8198 GB, free: 90.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008617/1.653, allocations: 6.562 MB / 0.8262 GB, free: 90.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.653, allocations: 53.94 kB / 0.8262 GB, free: 90.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.06999/1.723, allocations: 31.62 MB / 0.8571 GB, free: 89.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.723, allocations: 82.94 kB / 0.8572 GB, free: 89.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04668/1.77, allocations: 20.7 MB / 0.8774 GB, free: 87.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04287/1.813, allocations: 16.61 MB / 0.8936 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/1.821, allocations: 2.115 MB / 0.8957 GB, free: 76.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04069/1.861, allocations: 35.35 MB / 0.9302 GB, free: 40.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/1.872, allocations: 0.7749 MB / 0.9309 GB, free: 39.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003103/1.876, allocations: 0.5635 MB / 0.9315 GB, free: 39.39 MB / 426.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 () * Number of clocked 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.008545/1.884, allocations: 3.433 MB / 0.9348 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/1.886, allocations: 0.673 MB / 0.9355 GB, free: 35.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/1.904, allocations: 10.22 MB / 0.9455 GB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01558/1.92, allocations: 8.915 MB / 0.9542 GB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/1.92, allocations: 20 kB / 0.9542 GB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-05/1.92, allocations: 15.94 kB / 0.9542 GB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2742/2.194, allocations: 23.65 MB / 0.9773 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/2.194, allocations: 3.875 kB / 0.9773 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/2.197, allocations: 0.5727 MB / 0.9779 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/2.209, allocations: 3.621 MB / 0.9814 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008244/2.209, allocations: 92.64 kB / 0.9815 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/2.237, allocations: 22.76 MB / 1.004 GB, free: 77.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001648/2.238, allocations: 2.992 MB / 1.007 GB, free: 74.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/2.26, allocations: 15.82 MB / 1.022 GB, free: 69.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/2.264, allocations: 1.386 MB / 1.023 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/2.265, allocations: 84.91 kB / 1.024 GB, free: 68.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/2.268, allocations: 324.5 kB / 1.024 GB, free: 68.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007292/2.269, allocations: 246.4 kB / 1.024 GB, free: 68.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/2.269, allocations: 100.2 kB / 1.024 GB, free: 68.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006684/2.276, allocations: 4.699 MB / 1.029 GB, free: 67.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/2.276, allocations: 2.906 kB / 1.029 GB, free: 67.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00935/2.285, allocations: 2.129 MB / 1.031 GB, free: 66.88 MB / 426.7 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],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],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w) * 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 (248): * Single equations (assignments): 238 * 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 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007542/2.286, allocations: 231.6 kB / 1.031 GB, free: 66.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01618/2.302, allocations: 12.02 MB / 1.043 GB, free: 62.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/2.302, allocations: 0 / 1.043 GB, free: 62.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006689/2.309, allocations: 5.144 MB / 1.048 GB, free: 59.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/2.314, allocations: 0.9427 MB / 1.049 GB, free: 59.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/2.345, allocations: 21.92 MB / 1.07 GB, free: 42.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00575/2.351, allocations: 5.507 MB / 1.076 GB, free: 38.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008694/2.359, allocations: 3.184 MB / 1.079 GB, free: 36.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/2.361, allocations: 449 kB / 1.079 GB, free: 36.11 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/2.361, allocations: 0 / 1.079 GB, free: 36.11 MB / 426.7 MB Notification: Performance of Templates: time 0.3367/2.698, allocations: 98.92 MB / 1.176 GB, free: 88.91 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)