Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001473/0.001473, allocations: 180.8 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.3 MB / 207.5 MB, free: 3.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001616/0.001616, allocations: 111.3 kB / 252.6 MB, free: 4.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2076/0.2076, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 7.984 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5746, allocations: 102.7 MB / 0.5447 GB, free: 5.191 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5749, allocations: 82.33 kB / 0.5448 GB, free: 5.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.244/0.819, allocations: 97.24 MB / 0.6398 GB, free: 11.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.819, allocations: 0 / 0.6398 GB, free: 11.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002359/0.8193, allocations: 104 kB / 0.6399 GB, free: 11.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.022/0.8413, allocations: 5.502 MB / 0.6453 GB, free: 5.723 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.8414, allocations: 8.031 kB / 0.6453 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.8533, allocations: 2.317 MB / 0.6475 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.8683, allocations: 4.968 MB / 0.6524 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005006/0.8688, allocations: 390.3 kB / 0.6527 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003179/0.872, allocations: 0.5114 MB / 0.6532 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3253/1.197, allocations: 12.85 MB / 0.6658 GB, free: 98.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003925/1.198, allocations: 64 kB / 0.6659 GB, free: 98.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.2, allocations: 249.1 kB / 0.6661 GB, free: 98.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/1.202, allocations: 1.21 MB / 0.6673 GB, free: 98.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0313/1.233, allocations: 11.09 MB / 0.6781 GB, free: 98.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06823/1.302, allocations: 55.77 MB / 0.7326 GB, free: 66.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.316, allocations: 5.268 MB / 0.7377 GB, free: 64.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/1.32, allocations: 3.28 MB / 0.7409 GB, free: 63.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.322, allocations: 1.015 MB / 0.7419 GB, free: 62.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/1.322, allocations: 58.12 kB / 0.742 GB, free: 62.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 7.303e-06/1.322, allocations: 3.281 kB / 0.742 GB, free: 62.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=255): time 0.05857/1.381, allocations: 21.94 MB / 0.7634 GB, free: 54.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/1.381, allocations: 160.5 kB / 0.7635 GB, free: 54.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.388, allocations: 3.963 MB / 0.7674 GB, free: 53.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.389, allocations: 62.64 kB / 0.7675 GB, free: 53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003738/1.393, allocations: 3.539 MB / 0.7709 GB, free: 50.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.395, allocations: 0.9575 MB / 0.7719 GB, free: 49.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/1.395, allocations: 136 kB / 0.772 GB, free: 49.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003165/1.396, allocations: 0.5971 MB / 0.7726 GB, free: 49.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.4, allocations: 2.966 MB / 0.7755 GB, free: 46.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/1.405, allocations: 6.874 MB / 0.7822 GB, free: 38.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/1.412, allocations: 4.474 MB / 0.7866 GB, free: 34.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-05/1.412, allocations: 36 kB / 0.7866 GB, free: 34.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01956/1.431, allocations: 10.71 MB / 0.797 GB, free: 25.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/1.431, allocations: 64 kB / 0.7971 GB, free: 25.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/1.432, allocations: 140 kB / 0.7972 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/1.434, allocations: 1.137 MB / 0.7983 GB, free: 24.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/1.441, allocations: 1.706 MB / 0.8 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/1.449, allocations: 5.924 MB / 0.8058 GB, free: 17.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009689/1.459, allocations: 421.8 kB / 0.8062 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/1.461, allocations: 425.2 kB / 0.8066 GB, free: 16.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 848 * 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.002898/1.464, allocations: 0.6257 MB / 0.8072 GB, free: 16.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.465, allocations: 410.7 kB / 0.8076 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.477, allocations: 5.574 MB / 0.8131 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/1.477, allocations: 35.94 kB / 0.8131 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.477, allocations: 4 kB / 0.8131 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.363e-05/1.477, allocations: 11.44 kB / 0.8131 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/1.503, allocations: 12.27 MB / 0.8251 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/1.503, allocations: 4 kB / 0.8251 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/1.506, allocations: 0.5088 MB / 0.8256 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/1.509, allocations: 0.9343 MB / 0.8265 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007648/1.51, allocations: 47.98 kB / 0.8265 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/1.518, allocations: 5.644 MB / 0.8321 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/1.518, allocations: 7.953 kB / 0.8321 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.536, allocations: 9.826 MB / 0.8417 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003772/1.54, allocations: 0.9135 MB / 0.8425 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/1.542, allocations: 51.98 kB / 0.8426 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.546, allocations: 187.7 kB / 0.8428 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008051/1.546, allocations: 153.5 kB / 0.8429 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005072/1.547, allocations: 68 kB / 0.843 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007761/1.555, allocations: 2.779 MB / 0.8457 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.262e-06/1.555, allocations: 0 / 0.8457 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009461/1.564, allocations: 1.264 MB / 0.8469 GB, free: 10.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.001124/1.565, allocations: 179.2 kB / 0.8471 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.58, allocations: 7.17 MB / 0.8541 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.58, allocations: 0 / 0.8541 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.585, allocations: 2.728 MB / 0.8568 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.589, allocations: 459.6 kB / 0.8572 GB, free: 356 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3277/1.917, allocations: 10.11 MB / 0.8671 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007544/1.925, allocations: 3.903 MB / 0.8709 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007829/1.933, allocations: 2.295 MB / 0.8731 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/1.935, allocations: 310.9 kB / 0.8734 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.935, allocations: 2.844 kB / 0.8734 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1114/2.046, allocations: 47.57 MB / 0.9199 GB, free: 115 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)