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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001567/0.001567, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 223.4 MB, free: 5.344 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.0006716/0.0006717, allocations: 8 kB / 280.1 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3077, allocations: 47.58 MB / 327.7 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.08222/0.39, allocations: 80.95 MB / 408.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04828/0.4384, allocations: 18.52 MB / 427.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02495/0.4634, allocations: 422.9 kB / 427.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01794/0.4814, allocations: 4.086 MB / 431.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04541/0.5268, allocations: 11.73 MB / 443.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006951/0.5338, allocations: 1.272 MB / 444.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3187/0.8526, allocations: 52.65 MB / 497.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.8632, allocations: 7.764 MB / 0.4932 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.8677, allocations: 2.07 MB / 0.4953 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.8721, allocations: 2.658 MB / 0.4979 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.8736, allocations: 244 kB / 0.4981 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.8771, allocations: 1.34 MB / 0.4994 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003688/0.8808, allocations: 3.094 MB / 0.5024 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.8838, allocations: 1.464 MB / 0.5039 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.8967, allocations: 9.807 MB / 0.5134 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8968, allocations: 0 / 0.5134 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.8968, allocations: 0 / 0.5134 GB, free: 8.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005486/0.8973, allocations: 6.812 kB / 0.5134 GB, free: 8.168 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.02971/0.9271, allocations: 8.559 MB / 0.5218 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.9271, allocations: 12.03 kB / 0.5218 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09474/1.022, allocations: 19.4 MB / 0.5408 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/1.042, allocations: 8.032 MB / 0.5486 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/1.042, allocations: 378.4 kB / 0.549 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/1.046, allocations: 0.6875 MB / 0.5496 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04082/1.086, allocations: 17.11 MB / 0.5663 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004441/1.087, allocations: 93.44 kB / 0.5664 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/1.088, allocations: 240.7 kB / 0.5667 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/1.093, allocations: 2.774 MB / 0.5694 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03503/1.128, allocations: 14.67 MB / 0.5837 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4996/1.627, allocations: 67.48 MB / 0.6496 GB, free: 149.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02656/1.654, allocations: 9.068 MB / 0.6585 GB, free: 148.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.655, allocations: 1.038 MB / 0.6595 GB, free: 148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/1.655, allocations: 66.59 kB / 0.6595 GB, free: 148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 4.659e-06/1.655, allocations: 0 / 0.6595 GB, free: 148 MB / 478.1 MB Notification: Performance of matching and sorting (n=348): time 0.1466/1.802, allocations: 55.08 MB / 0.7133 GB, free: 101.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001706/1.804, allocations: 3.265 MB / 0.7165 GB, free: 97.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.814, allocations: 8.231 MB / 0.7245 GB, free: 89.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001838/1.816, allocations: 76.28 kB / 0.7246 GB, free: 89.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004242/1.82, allocations: 5.164 MB / 0.7297 GB, free: 84.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003102/1.823, allocations: 1.315 MB / 0.7309 GB, free: 82.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007048/1.824, allocations: 188 kB / 0.7311 GB, free: 82.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003983/1.824, allocations: 0.7107 MB / 0.7318 GB, free: 81.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006001/1.83, allocations: 5.043 MB / 0.7367 GB, free: 76.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008986/1.839, allocations: 10.27 MB / 0.7468 GB, free: 64.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009352/1.849, allocations: 7.035 MB / 0.7536 GB, free: 57.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/1.849, allocations: 52 kB / 0.7537 GB, free: 57.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=1242) (initialization): time 0.07147/1.92, allocations: 32.73 MB / 0.7857 GB, free: 24.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.92, allocations: 80 kB / 0.7857 GB, free: 24.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04592/1.966, allocations: 21.74 MB / 0.807 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2885/2.255, allocations: 16.87 MB / 0.8234 GB, free: 167.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008426/2.263, allocations: 2.256 MB / 0.8256 GB, free: 167.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04599/2.309, allocations: 37.03 MB / 0.8618 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/2.32, allocations: 0.7688 MB / 0.8626 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002313/2.322, allocations: 0.5908 MB / 0.8631 GB, free: 145.2 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.007539/2.33, allocations: 3.427 MB / 0.8665 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/2.332, allocations: 0.6699 MB / 0.8671 GB, free: 141.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01876/2.35, allocations: 11.34 MB / 0.8782 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01696/2.367, allocations: 10 MB / 0.888 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.525e-05/2.367, allocations: 16 kB / 0.888 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/2.368, allocations: 19.94 kB / 0.888 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04305/2.411, allocations: 25.55 MB / 0.913 GB, free: 94.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/2.411, allocations: 4 kB / 0.913 GB, free: 94.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003912/2.415, allocations: 0.7448 MB / 0.9137 GB, free: 93.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01216/2.427, allocations: 4.127 MB / 0.9177 GB, free: 89.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009507/2.428, allocations: 131.8 kB / 0.9179 GB, free: 89.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02622/2.454, allocations: 24.38 MB / 0.9417 GB, free: 64.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00152/2.456, allocations: 3 MB / 0.9446 GB, free: 61.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02387/2.479, allocations: 17.67 MB / 0.9619 GB, free: 43.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004568/2.484, allocations: 1.468 MB / 0.9633 GB, free: 42.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/2.486, allocations: 95.39 kB / 0.9634 GB, free: 42.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/2.49, allocations: 319.5 kB / 0.9637 GB, free: 42.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000845/2.491, allocations: 289.1 kB / 0.964 GB, free: 41.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003584/2.491, allocations: 137.1 kB / 0.9641 GB, free: 41.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007418/2.498, allocations: 5.353 MB / 0.9693 GB, free: 36.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/2.499, allocations: 2.062 kB / 0.9693 GB, free: 36.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01139/2.51, allocations: 2.178 MB / 0.9714 GB, free: 34.13 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.001116/2.511, allocations: 241.2 kB / 0.9717 GB, free: 33.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.019/2.53, allocations: 12.92 MB / 0.9843 GB, free: 20.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/2.53, allocations: 0 / 0.9843 GB, free: 20.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1968/2.727, allocations: 5.593 MB / 0.9898 GB, free: 169.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007812/2.735, allocations: 0.9449 MB / 0.9907 GB, free: 169.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/2.774, allocations: 21.96 MB / 1.012 GB, free: 161.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008465/2.782, allocations: 5.508 MB / 1.018 GB, free: 160.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009182/2.792, allocations: 3.222 MB / 1.021 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/2.794, allocations: 0.571 MB / 1.021 GB, free: 160.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/2.794, allocations: 0 / 1.021 GB, free: 160.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1683/2.962, allocations: 109 MB / 1.128 GB, free: 57.29 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: