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.00863/0.00863, allocations: 100.5 kB / 15.73 MB, free: 6 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.0019/0.0019, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.001243/0.001243, allocations: 61.53 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09837, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.01817/0.1166, allocations: 17.58 MB / 390.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.1307, allocations: 5.737 MB / 396.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.1352, allocations: 139.5 kB / 396.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0098/0.1451, allocations: 5.21 MB / 401.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.1536, allocations: 3.245 MB / 405.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.157, allocations: 1.42 MB / 406.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01454/0.1715, allocations: 10.07 MB / 416.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007625/0.1792, allocations: 6.176 MB / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.1842, allocations: 3.084 MB / 425.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.19, allocations: 4.058 MB / 429.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.1914, allocations: 0.582 MB / 430.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.1954, allocations: 1.892 MB / 432.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004075/0.1995, allocations: 3.788 MB / 436.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005526/0.205, allocations: 4.016 MB / 440.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.219, allocations: 12.38 MB / 452.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2191, allocations: 0 / 452.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2191, allocations: 0 / 452.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004095/0.2195, allocations: 4 kB / 452.6 MB, free: 1.582 MB / 382.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.2532/0.4727, allocations: 9.512 MB / 462.1 MB, free: 66.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4728, allocations: 13.36 kB / 462.1 MB, free: 66.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03274/0.5055, allocations: 8.713 MB / 470.8 MB, free: 62.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.5235, allocations: 7.398 MB / 478.2 MB, free: 56.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.5239, allocations: 382.4 kB / 478.6 MB, free: 56.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003299/0.5273, allocations: 0.6882 MB / 479.3 MB, free: 55.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03923/0.5665, allocations: 17.15 MB / 496.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004658/0.567, allocations: 87.3 kB / 496.5 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/0.5696, allocations: 243.8 kB / 496.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003924/0.5735, allocations: 2.77 MB / 499.5 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/0.6053, allocations: 14.96 MB / 0.5024 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/0.7097, allocations: 68.07 MB / 0.5689 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03055/0.7404, allocations: 9.239 MB / 0.5779 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00701/0.7474, allocations: 4.742 MB / 0.5825 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.7492, allocations: 1.034 MB / 0.5835 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.7493, allocations: 78.3 kB / 0.5836 GB, free: 14.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=268): time 1.023e-05/0.7493, allocations: 0 / 0.5836 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=351): time 0.6033/1.353, allocations: 59.86 MB / 0.6421 GB, free: 157.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001859/1.355, allocations: 3.409 MB / 0.6454 GB, free: 154 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.366, allocations: 7.508 MB / 0.6527 GB, free: 151.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.367, allocations: 83.56 kB / 0.6528 GB, free: 151.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.371, allocations: 5.035 MB / 0.6577 GB, free: 147.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002307/1.373, allocations: 1.347 MB / 0.6591 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003665/1.377, allocations: 2.169 MB / 0.6612 GB, free: 145.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/1.377, allocations: 316.4 kB / 0.6615 GB, free: 145.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007028/1.384, allocations: 5.517 MB / 0.6669 GB, free: 143.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/1.394, allocations: 10.84 MB / 0.6774 GB, free: 134.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/1.413, allocations: 17.24 MB / 0.6943 GB, free: 114.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/1.413, allocations: 56 kB / 0.6943 GB, free: 114.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07576/1.489, allocations: 34.83 MB / 0.7284 GB, free: 79.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002786/1.489, allocations: 84 kB / 0.7284 GB, free: 79.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05084/1.54, allocations: 23.7 MB / 0.7516 GB, free: 55.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04526/1.585, allocations: 17.84 MB / 0.769 GB, free: 38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008714/1.594, allocations: 2.402 MB / 0.7713 GB, free: 35.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3329/1.927, allocations: 41.45 MB / 0.8118 GB, free: 156.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01292/1.94, allocations: 0.818 MB / 0.8126 GB, free: 156.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002947/1.943, allocations: 0.6109 MB / 0.8132 GB, free: 156.3 MB / 0.4982 GB 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 (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,39,91.7%), (3,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,9), (4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00974/1.953, allocations: 3.43 MB / 0.8166 GB, free: 156.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002997/1.956, allocations: 0.6608 MB / 0.8172 GB, free: 156.2 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02663/1.982, allocations: 12.87 MB / 0.8298 GB, free: 153.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.022/2.004, allocations: 11.55 MB / 0.8411 GB, free: 149.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001149/2.004, allocations: 15.41 kB / 0.8411 GB, free: 149.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.005, allocations: 23.47 kB / 0.8411 GB, free: 149.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05954/2.064, allocations: 27.03 MB / 0.8675 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.15e-05/2.064, allocations: 0 / 0.8675 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004295/2.068, allocations: 0.7583 MB / 0.8682 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0157/2.084, allocations: 5.313 MB / 0.8734 GB, free: 125 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001244/2.085, allocations: 143.8 kB / 0.8736 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/2.116, allocations: 28.34 MB / 0.9012 GB, free: 96.11 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001679/2.118, allocations: 3.134 MB / 0.9043 GB, free: 92.71 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03129/2.149, allocations: 19.02 MB / 0.9229 GB, free: 73.92 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005435/2.155, allocations: 1.498 MB / 0.9243 GB, free: 72.68 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003505/2.158, allocations: 75.98 kB / 0.9244 GB, free: 72.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006267/2.165, allocations: 363.6 kB / 0.9247 GB, free: 72.25 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001752/2.166, allocations: 282.1 kB / 0.925 GB, free: 71.98 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009493/2.167, allocations: 141.6 kB / 0.9252 GB, free: 71.84 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01087/2.178, allocations: 4.77 MB / 0.9298 GB, free: 67.11 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.21e-07/2.178, allocations: 0 / 0.9298 GB, free: 67.11 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01443/2.193, allocations: 2.282 MB / 0.932 GB, free: 64.83 MB / 0.4982 GB 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 (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,33,91.7%), (3,33,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001591/2.194, allocations: 225.3 kB / 0.9323 GB, free: 64.61 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02428/2.219, allocations: 14.11 MB / 0.946 GB, free: 50.45 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.219, allocations: 320 / 0.946 GB, free: 50.45 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01049/2.229, allocations: 5.941 MB / 0.9518 GB, free: 44.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/2.242, allocations: 0.9714 MB / 0.9528 GB, free: 43.45 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/2.281, allocations: 19.8 MB / 0.9721 GB, free: 23.58 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007913/2.289, allocations: 5.362 MB / 0.9774 GB, free: 18.18 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008033/2.297, allocations: 3.201 MB / 0.9805 GB, free: 14.98 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/2.3, allocations: 0.5576 MB / 0.981 GB, free: 14.42 MB / 0.4982 GB Notification: Performance of SimCode: time 1.322e-06/2.3, allocations: 0 / 0.981 GB, free: 14.42 MB / 0.4982 GB Notification: Performance of Templates: time 0.4247/2.725, allocations: 114.5 MB / 1.093 GB, free: 98.99 MB / 0.5138 GB 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)