Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001609/0.001609, allocations: 170.1 kB / 12.72 MB, free: 2.594 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.221/1.221, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00161/0.00161, allocations: 95.53 kB / 223.2 MB, free: 4.047 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.167/0.167, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.398e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09439, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4509, allocations: 95.86 MB / 0.4898 GB, free: 16.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4512, allocations: 82.33 kB / 0.4899 GB, free: 16.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2414/0.6926, allocations: 97.23 MB / 0.5848 GB, free: 2.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.6927, allocations: 0 / 0.5848 GB, free: 2.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000229/0.6929, allocations: 100 kB / 0.5849 GB, free: 2.184 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0193/0.7122, allocations: 5.502 MB / 0.5903 GB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7123, allocations: 12.03 kB / 0.5903 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.7237, allocations: 2.317 MB / 0.5926 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.7377, allocations: 4.976 MB / 0.5974 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/0.7382, allocations: 394.3 kB / 0.5978 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.741, allocations: 0.5076 MB / 0.5983 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/0.7683, allocations: 12.87 MB / 0.6109 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.7685, allocations: 59.47 kB / 0.6109 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006943/0.7692, allocations: 243.9 kB / 0.6112 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.7709, allocations: 1.216 MB / 0.6124 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2527/1.024, allocations: 11.07 MB / 0.6232 GB, free: 79.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05939/1.083, allocations: 55.76 MB / 0.6776 GB, free: 49.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.096, allocations: 5.27 MB / 0.6828 GB, free: 47.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.1, allocations: 3.285 MB / 0.686 GB, free: 46.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.101, allocations: 1.016 MB / 0.687 GB, free: 45.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.101, allocations: 54.53 kB / 0.687 GB, free: 45.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 5.17e-06/1.101, allocations: 0 / 0.687 GB, free: 45.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.05219/1.153, allocations: 21.93 MB / 0.7084 GB, free: 37.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.154, allocations: 167.5 kB / 0.7086 GB, free: 37.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/1.16, allocations: 3.973 MB / 0.7125 GB, free: 36.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005571/1.16, allocations: 64.42 kB / 0.7125 GB, free: 36.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.162, allocations: 3.54 MB / 0.716 GB, free: 33.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008944/1.163, allocations: 0.9503 MB / 0.7169 GB, free: 32.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.163, allocations: 136.8 kB / 0.7171 GB, free: 32.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/1.163, allocations: 0.5918 MB / 0.7176 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/1.167, allocations: 2.973 MB / 0.7205 GB, free: 31.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/1.172, allocations: 6.873 MB / 0.7272 GB, free: 25.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/1.178, allocations: 4.472 MB / 0.7316 GB, free: 22.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.611e-05/1.178, allocations: 40 kB / 0.7317 GB, free: 22.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01774/1.195, allocations: 10.71 MB / 0.7421 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/1.196, allocations: 64.22 kB / 0.7422 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.964e-05/1.196, allocations: 140 kB / 0.7423 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/1.198, allocations: 1.131 MB / 0.7434 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/1.204, allocations: 1.7 MB / 0.7451 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/1.21, allocations: 5.929 MB / 0.7509 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/1.217, allocations: 423.4 kB / 0.7513 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/1.218, allocations: 428.9 kB / 0.7517 GB, free: 5.203 MB / 426.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.001124/1.219, allocations: 0.628 MB / 0.7523 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007132/1.22, allocations: 410.8 kB / 0.7527 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009039/1.229, allocations: 5.601 MB / 0.7581 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/1.229, allocations: 27.94 kB / 0.7582 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.229, allocations: 4 kB / 0.7582 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/1.229, allocations: 14.41 kB / 0.7582 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/1.252, allocations: 12.27 MB / 0.7702 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.252, allocations: 4.312 kB / 0.7702 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/1.254, allocations: 0.513 MB / 0.7707 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.257, allocations: 0.9385 MB / 0.7716 GB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/1.257, allocations: 53.42 kB / 0.7717 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/1.265, allocations: 5.639 MB / 0.7772 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.265, allocations: 7.938 kB / 0.7772 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/1.28, allocations: 9.835 MB / 0.7868 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/1.283, allocations: 0.9095 MB / 0.7877 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006569/1.283, allocations: 49.31 kB / 0.7877 GB, free: 4.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.286, allocations: 191.7 kB / 0.7879 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/1.286, allocations: 153.7 kB / 0.788 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.286, allocations: 69.41 kB / 0.7881 GB, free: 3.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004871/1.291, allocations: 2.779 MB / 0.7908 GB, free: 1.156 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.291, allocations: 0 / 0.7908 GB, free: 1.156 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.2372/1.528, allocations: 1.255 MB / 0.792 GB, free: 105.5 MB / 458.7 MB 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.0009679/1.529, allocations: 195.5 kB / 0.7922 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01066/1.54, allocations: 7.162 MB / 0.7992 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.54, allocations: 1.281 kB / 0.7992 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004192/1.544, allocations: 2.715 MB / 0.8019 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.547, allocations: 460.6 kB / 0.8023 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.567, allocations: 10.13 MB / 0.8122 GB, free: 103.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/1.571, allocations: 3.907 MB / 0.816 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005613/1.577, allocations: 2.291 MB / 0.8183 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.578, allocations: 318.7 kB / 0.8186 GB, free: 102.4 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.578, allocations: 0 / 0.8186 GB, free: 102.4 MB / 458.7 MB Notification: Performance of Templates: time 0.07716/1.656, allocations: 47.56 MB / 0.865 GB, free: 96.59 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)