Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00883/0.00883, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.273/1.273, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001595/0.001595, allocations: 118.6 kB / 226.2 MB, free: 8.008 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.3091/0.3091, allocations: 38.04 MB / 303.7 MB, free: 25.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 8 kB / 362.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2903, allocations: 48.68 MB / 411.6 MB, free: 38.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4139, allocations: 95.21 MB / 0.4949 GB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4142, allocations: 87.95 kB / 0.495 GB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4458/0.86, allocations: 83.92 MB / 0.5769 GB, free: 81.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.86, allocations: 1.125 kB / 0.5769 GB, free: 81.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.8602, allocations: 81.66 kB / 0.577 GB, free: 81.34 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0183/0.8785, allocations: 4.734 MB / 0.5816 GB, free: 79.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.8786, allocations: 9.844 kB / 0.5816 GB, free: 79.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.8901, allocations: 2.215 MB / 0.5838 GB, free: 79.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/0.9043, allocations: 4.533 MB / 0.5882 GB, free: 78.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/0.9049, allocations: 318.5 kB / 0.5885 GB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/0.9077, allocations: 422.8 kB / 0.5889 GB, free: 78.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.9303, allocations: 10.77 MB / 0.5995 GB, free: 74.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.9306, allocations: 54.72 kB / 0.5995 GB, free: 74.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006561/0.9312, allocations: 211.6 kB / 0.5997 GB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.9327, allocations: 1.002 MB / 0.6007 GB, free: 74.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.9495, allocations: 9.065 MB / 0.6095 GB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05244/1.002, allocations: 47.41 MB / 0.6558 GB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.013, allocations: 3.619 MB / 0.6594 GB, free: 34.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009761/1.022, allocations: 4.747 MB / 0.664 GB, free: 31.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.023, allocations: 46.61 kB / 0.6641 GB, free: 31.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 5.451e-06/1.023, allocations: 0 / 0.6641 GB, free: 31.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.02894/1.052, allocations: 12.35 MB / 0.6761 GB, free: 22.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.052, allocations: 148.8 kB / 0.6763 GB, free: 21.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.059, allocations: 3.635 MB / 0.6798 GB, free: 18.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004764/1.06, allocations: 49.7 kB / 0.6799 GB, free: 18.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.062, allocations: 3.139 MB / 0.6829 GB, free: 15.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009626/1.063, allocations: 0.5888 MB / 0.6835 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009379/1.064, allocations: 116 kB / 0.6836 GB, free: 15.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008061/1.065, allocations: 0.5444 MB / 0.6841 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005237/1.07, allocations: 1.952 MB / 0.686 GB, free: 13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007764/1.078, allocations: 5.614 MB / 0.6915 GB, free: 5.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007215/1.085, allocations: 3.232 MB / 0.6947 GB, free: 2.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.086, allocations: 40 kB / 0.6947 GB, free: 2.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02627/1.112, allocations: 8.048 MB / 0.7026 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.112, allocations: 60 kB / 0.7026 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/1.112, allocations: 132 kB / 0.7028 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/1.117, allocations: 0.9149 MB / 0.7037 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008499/1.125, allocations: 1.353 MB / 0.705 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/1.137, allocations: 4.891 MB / 0.7098 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009329/1.146, allocations: 315.8 kB / 0.7101 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.148, allocations: 360.1 kB / 0.7104 GB, free: 2.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3077/1.456, allocations: 2.077 MB / 0.7124 GB, free: 86.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.457, allocations: 344.9 kB / 0.7128 GB, free: 86.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007589/1.465, allocations: 2.9 MB / 0.7156 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-05/1.465, allocations: 15.59 kB / 0.7156 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.465, allocations: 4.453 kB / 0.7156 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.465, allocations: 7.5 kB / 0.7156 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.481, allocations: 7.151 MB / 0.7226 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/1.481, allocations: 0 / 0.7226 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.482, allocations: 247.6 kB / 0.7228 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/1.484, allocations: 0.7059 MB / 0.7235 GB, free: 86.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.484, allocations: 24.94 kB / 0.7236 GB, free: 86.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/1.49, allocations: 4.457 MB / 0.7279 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.49, allocations: 0 / 0.7279 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009311/1.499, allocations: 5.228 MB / 0.733 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/1.502, allocations: 0.6115 MB / 0.7336 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.503, allocations: 28.39 kB / 0.7336 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.506, allocations: 93.52 kB / 0.7337 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.506, allocations: 83.55 kB / 0.7338 GB, free: 84.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.506, allocations: 41.03 kB / 0.7338 GB, free: 84.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006757/1.513, allocations: 2.542 MB / 0.7363 GB, free: 83.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.513, allocations: 0 / 0.7363 GB, free: 83.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008636/1.522, allocations: 0.9511 MB / 0.7373 GB, free: 83.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (117): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006725/1.522, allocations: 165.2 kB / 0.7374 GB, free: 83.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01/1.532, allocations: 4.699 MB / 0.742 GB, free: 82.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.532, allocations: 0 / 0.742 GB, free: 82.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/1.535, allocations: 1.382 MB / 0.7433 GB, free: 81.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.538, allocations: 396.1 kB / 0.7437 GB, free: 81.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.559, allocations: 10.41 MB / 0.7539 GB, free: 76.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.562, allocations: 3.314 MB / 0.7571 GB, free: 74.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004738/1.567, allocations: 1.825 MB / 0.7589 GB, free: 74.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/1.568, allocations: 237.7 kB / 0.7591 GB, free: 74.8 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/1.568, allocations: 0 / 0.7591 GB, free: 74.8 MB / 426.7 MB Notification: Performance of Templates: time 0.06479/1.633, allocations: 32.72 MB / 0.7911 GB, free: 69.61 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)