Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006211/0.006211, allocations: 165 kB / 15.11 MB, free: 5.973 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.194/1.194, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001682/0.001682, allocations: 114.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3209/0.3209, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4683, allocations: 95.78 MB / 0.4955 GB, free: 8.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4686, allocations: 86.27 kB / 0.4955 GB, free: 8.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6548/1.123, allocations: 147.5 MB / 0.6396 GB, free: 72.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.509e-06/1.123, allocations: 4 kB / 0.6396 GB, free: 72.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001209/1.125, allocations: 143.2 kB / 0.6397 GB, free: 72.14 MB / 426.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.06037/1.185, allocations: 9.476 MB / 0.649 GB, free: 68.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/1.185, allocations: 7.406 kB / 0.649 GB, free: 68.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09105/1.276, allocations: 16.67 MB / 0.6652 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04625/1.323, allocations: 13.36 MB / 0.6783 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008513/1.323, allocations: 499.4 kB / 0.6788 GB, free: 62.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004804/1.328, allocations: 0.6667 MB / 0.6794 GB, free: 62.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05838/1.387, allocations: 16.89 MB / 0.6959 GB, free: 47.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007192/1.387, allocations: 103.1 kB / 0.696 GB, free: 47.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003879/1.391, allocations: 321.7 kB / 0.6963 GB, free: 47.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/1.394, allocations: 1.469 MB / 0.6977 GB, free: 46.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/1.425, allocations: 13.66 MB / 0.7111 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4406/1.866, allocations: 76.73 MB / 0.786 GB, free: 46.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02642/1.892, allocations: 8.593 MB / 0.7944 GB, free: 46.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/1.894, allocations: 1.35 MB / 0.7957 GB, free: 45.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/1.894, allocations: 62.86 kB / 0.7958 GB, free: 45.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 6.583e-06/1.895, allocations: 0 / 0.7958 GB, free: 45.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=352): time 0.1761/2.071, allocations: 51.52 MB / 0.8461 GB, free: 36.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003643/2.074, allocations: 3.26 MB / 0.8493 GB, free: 33.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01906/2.093, allocations: 6.558 MB / 0.8557 GB, free: 31.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001585/2.095, allocations: 82.25 kB / 0.8558 GB, free: 31.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005911/2.101, allocations: 5.202 MB / 0.8609 GB, free: 27.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00283/2.104, allocations: 1.335 MB / 0.8622 GB, free: 26.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/2.106, allocations: 186.8 kB / 0.8623 GB, free: 26.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008356/2.107, allocations: 0.7073 MB / 0.863 GB, free: 25.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00816/2.115, allocations: 4.551 MB / 0.8675 GB, free: 24.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/2.127, allocations: 9.831 MB / 0.8771 GB, free: 15.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009907/2.137, allocations: 6.535 MB / 0.8835 GB, free: 12.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/2.137, allocations: 54.84 kB / 0.8835 GB, free: 12.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.08177/2.219, allocations: 32.03 MB / 0.9148 GB, free: 5.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/2.219, allocations: 86.81 kB / 0.9149 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.36/2.579, allocations: 20.63 MB / 0.935 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04854/2.628, allocations: 16.62 MB / 0.9512 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009859/2.638, allocations: 2.113 MB / 0.9533 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04756/2.685, allocations: 35.35 MB / 0.9878 GB, free: 92.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/2.698, allocations: 0.768 MB / 0.9886 GB, free: 92.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002982/2.701, allocations: 0.5601 MB / 0.9891 GB, free: 92.16 MB / 474.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 (1089): * Single equations (assignments): 1076 * 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.009319/2.71, allocations: 3.439 MB / 0.9925 GB, free: 90.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/2.712, allocations: 0.68 MB / 0.9931 GB, free: 90.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/2.731, allocations: 10.12 MB / 1.003 GB, free: 87.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01651/2.747, allocations: 8.827 MB / 1.012 GB, free: 84.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.148e-05/2.747, allocations: 19.98 kB / 1.012 GB, free: 84.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-05/2.748, allocations: 15.52 kB / 1.012 GB, free: 84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06115/2.809, allocations: 23.44 MB / 1.035 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/2.809, allocations: 0 / 1.035 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/2.812, allocations: 0.5694 MB / 1.035 GB, free: 65.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01221/2.824, allocations: 3.63 MB / 1.039 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/2.826, allocations: 91.94 kB / 1.039 GB, free: 61.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/2.852, allocations: 22.73 MB / 1.061 GB, free: 38.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001748/2.854, allocations: 3.036 MB / 1.064 GB, free: 35.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/2.881, allocations: 15.59 MB / 1.079 GB, free: 19.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005315/2.887, allocations: 1.389 MB / 1.081 GB, free: 18.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00263/2.889, allocations: 82.05 kB / 1.081 GB, free: 18.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005156/2.894, allocations: 353.9 kB / 1.081 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/2.896, allocations: 243.5 kB / 1.081 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006688/2.896, allocations: 99.95 kB / 1.081 GB, free: 17.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009821/2.906, allocations: 4.7 MB / 1.086 GB, free: 13.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/2.906, allocations: 3.938 kB / 1.086 GB, free: 13.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.278/3.184, allocations: 2.129 MB / 1.088 GB, free: 97.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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,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 (246): * Single equations (assignments): 236 * 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.002114/3.186, allocations: 215.2 kB / 1.088 GB, free: 97.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03396/3.22, allocations: 11.96 MB / 1.1 GB, free: 96.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/3.22, allocations: 2.5 kB / 1.1 GB, free: 96.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01421/3.235, allocations: 5.09 MB / 1.105 GB, free: 95.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/3.245, allocations: 0.943 MB / 1.106 GB, free: 95.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07777/3.323, allocations: 21.88 MB / 1.127 GB, free: 87.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/3.341, allocations: 5.507 MB / 1.132 GB, free: 87.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01681/3.358, allocations: 3.171 MB / 1.136 GB, free: 86.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003148/3.361, allocations: 453.7 kB / 1.136 GB, free: 86.79 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/3.361, allocations: 0 / 1.136 GB, free: 86.79 MB / 474.7 MB Notification: Performance of Templates: time 0.22/3.581, allocations: 98.96 MB / 1.233 GB, free: 32.33 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)