Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002567, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.633/3.633, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001927/0.001925, allocations: 90.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.000657, allocations: 11.98 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2178, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.5812/0.7991, allocations: 80.94 MB / 455.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.08229/0.8814, allocations: 18.52 MB / 474 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03207/0.9136, allocations: 426.9 kB / 474.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02384/0.9375, allocations: 4.083 MB / 478.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0767/1.014, allocations: 11.72 MB / 490.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01236/1.027, allocations: 1.272 MB / 491.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1979/1.225, allocations: 51.8 MB / 0.5306 GB, free: 3.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5594/1.784, allocations: 7.77 MB / 0.5382 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/1.794, allocations: 2.067 MB / 0.5402 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02272/1.817, allocations: 2.659 MB / 0.5428 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003813/1.821, allocations: 238 kB / 0.543 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/1.83, allocations: 1.342 MB / 0.5443 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009814/1.84, allocations: 3.091 MB / 0.5473 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006357/1.846, allocations: 1.464 MB / 0.5488 GB, free: 52.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/1.87, allocations: 9.815 MB / 0.5583 GB, free: 49.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.87, allocations: 0 / 0.5583 GB, free: 49.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.699e-06/1.87, allocations: 0 / 0.5583 GB, free: 49.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006216/1.871, allocations: 0 / 0.5583 GB, free: 49.89 MB / 410.7 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.07061/1.942, allocations: 8.565 MB / 0.5667 GB, free: 45.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/1.942, allocations: 13.44 kB / 0.5667 GB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3034/2.245, allocations: 19.41 MB / 0.5857 GB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04293/2.288, allocations: 8.019 MB / 0.5935 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007203/2.289, allocations: 378.6 kB / 0.5939 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006282/2.295, allocations: 0.69 MB / 0.5945 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08334/2.379, allocations: 17.1 MB / 0.6112 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007686/2.38, allocations: 93.17 kB / 0.6113 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004613/2.384, allocations: 241.2 kB / 0.6116 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01098/2.395, allocations: 2.777 MB / 0.6143 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0782/2.474, allocations: 14.67 MB / 0.6286 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/2.681, allocations: 67.49 MB / 0.6945 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0814/2.762, allocations: 9.089 MB / 0.7034 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/2.766, allocations: 1.024 MB / 0.7044 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/2.766, allocations: 67 kB / 0.7044 GB, free: 11.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=268): time 1.168e-05/2.766, allocations: 0 / 0.7044 GB, free: 11.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.876/3.642, allocations: 55.07 MB / 0.7582 GB, free: 181.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004134/3.646, allocations: 3.258 MB / 0.7614 GB, free: 178.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02994/3.676, allocations: 8.233 MB / 0.7694 GB, free: 172.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001961/3.678, allocations: 78.28 kB / 0.7695 GB, free: 172.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007383/3.686, allocations: 4.827 MB / 0.7742 GB, free: 167.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003973/3.69, allocations: 1.326 MB / 0.7755 GB, free: 166.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002989/3.693, allocations: 182.3 kB / 0.7757 GB, free: 166.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001801/3.695, allocations: 0.7204 MB / 0.7764 GB, free: 165.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01964/3.714, allocations: 5.039 MB / 0.7813 GB, free: 160.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02535/3.74, allocations: 10.27 MB / 0.7914 GB, free: 148.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/3.763, allocations: 7.034 MB / 0.7982 GB, free: 141.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002563/3.763, allocations: 52 kB / 0.7983 GB, free: 141.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1242) (initialization): time 0.1894/3.953, allocations: 32.39 MB / 0.8299 GB, free: 108.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/3.953, allocations: 84 kB / 0.83 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1392/4.092, allocations: 21.74 MB / 0.8512 GB, free: 86.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1338/4.226, allocations: 16.88 MB / 0.8677 GB, free: 69.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02228/4.249, allocations: 2.257 MB / 0.8699 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1462/4.395, allocations: 37.03 MB / 0.9061 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03133/4.426, allocations: 0.7698 MB / 0.9068 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005208/4.432, allocations: 0.5913 MB / 0.9074 GB, free: 28.66 MB / 490.7 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.02078/4.452, allocations: 3.427 MB / 0.9108 GB, free: 25.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008419/4.461, allocations: 0.6827 MB / 0.9114 GB, free: 24.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5844/5.046, allocations: 11.33 MB / 0.9225 GB, free: 177.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0671/5.113, allocations: 10.01 MB / 0.9323 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001753/5.113, allocations: 19.66 kB / 0.9323 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001364/5.113, allocations: 14.16 kB / 0.9323 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.131/5.244, allocations: 25.56 MB / 0.9572 GB, free: 166.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-05/5.244, allocations: 3.969 kB / 0.9572 GB, free: 166.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01919/5.263, allocations: 0.7592 MB / 0.958 GB, free: 166.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04126/5.305, allocations: 4.118 MB / 0.962 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002051/5.307, allocations: 135.2 kB / 0.9621 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09173/5.399, allocations: 24.37 MB / 0.9859 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004004/5.403, allocations: 2.995 MB / 0.9889 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08442/5.487, allocations: 17.68 MB / 1.006 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009408/5.497, allocations: 1.472 MB / 1.008 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004587/5.501, allocations: 87.92 kB / 1.008 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01382/5.515, allocations: 331.1 kB / 1.008 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003344/5.519, allocations: 288.3 kB / 1.008 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001874/5.521, allocations: 135.9 kB / 1.008 GB, free: 120.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02321/5.544, allocations: 5.353 MB / 1.014 GB, free: 115.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.106e-06/5.544, allocations: 0 / 1.014 GB, free: 115.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02569/5.57, allocations: 2.185 MB / 1.016 GB, free: 112.9 MB / 490.7 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.002541/5.572, allocations: 238.7 kB / 1.016 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05137/5.624, allocations: 12.92 MB / 1.029 GB, free: 99.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/5.624, allocations: 4 kB / 1.029 GB, free: 99.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02297/5.647, allocations: 5.595 MB / 1.034 GB, free: 94.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/5.661, allocations: 0.9592 MB / 1.035 GB, free: 93.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09147/5.753, allocations: 22.78 MB / 1.057 GB, free: 70.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02104/5.774, allocations: 5.516 MB / 1.063 GB, free: 64.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00711/5.781, allocations: 0.6279 MB / 1.063 GB, free: 64.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.394e-06/5.781, allocations: 0 / 1.063 GB, free: 64.21 MB / 490.7 MB Notification: Performance of Templates: time 1.907/7.689, allocations: 303.9 MB / 1.36 GB, free: 117.8 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)