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.006515/0.006514, allocations: 176 kB / 15.12 MB, free: 5.98 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.57/1.57, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.00174/0.00174, allocations: 116.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1979/0.1979, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 19.78 kB / 406.2 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.5017, allocations: 102.7 MB / 0.5506 GB, free: 21.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5021, allocations: 85.31 kB / 0.5507 GB, free: 21.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2291/0.7312, allocations: 97.16 MB / 0.6455 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7312, allocations: 0 / 0.6455 GB, free: 13.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002825/0.7315, allocations: 107.9 kB / 0.6456 GB, free: 13.88 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02191/0.7534, allocations: 5.77 MB / 0.6513 GB, free: 8.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7535, allocations: 12.03 kB / 0.6513 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.764, allocations: 2.313 MB / 0.6535 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.7784, allocations: 4.991 MB / 0.6584 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.7788, allocations: 390.3 kB / 0.6588 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002488/0.7813, allocations: 0.5115 MB / 0.6593 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/0.8128, allocations: 12.98 MB / 0.672 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.8131, allocations: 71.39 kB / 0.672 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001187/0.8143, allocations: 243.9 kB / 0.6723 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.816, allocations: 1.212 MB / 0.6734 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/0.8404, allocations: 11.28 MB / 0.6845 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3385/1.179, allocations: 55.77 MB / 0.7389 GB, free: 72.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.195, allocations: 5.334 MB / 0.7441 GB, free: 71.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.196, allocations: 1.013 MB / 0.7451 GB, free: 70.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.196, allocations: 58 kB / 0.7452 GB, free: 70.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 5.36e-06/1.196, allocations: 3.562 kB / 0.7452 GB, free: 70.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.06072/1.257, allocations: 26.16 MB / 0.7707 GB, free: 66.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.257, allocations: 159.7 kB / 0.7709 GB, free: 66.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.263, allocations: 4.003 MB / 0.7748 GB, free: 66.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006225/1.263, allocations: 67.28 kB / 0.7749 GB, free: 66.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.266, allocations: 3.536 MB / 0.7783 GB, free: 64.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.267, allocations: 0.9502 MB / 0.7792 GB, free: 64.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/1.267, allocations: 142.2 kB / 0.7794 GB, free: 64.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/1.268, allocations: 0.5938 MB / 0.78 GB, free: 63.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.272, allocations: 3.048 MB / 0.7829 GB, free: 63.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/1.277, allocations: 6.957 MB / 0.7897 GB, free: 58.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/1.283, allocations: 4.5 MB / 0.7941 GB, free: 58.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/1.284, allocations: 38.94 kB / 0.7942 GB, free: 58.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.0231/1.307, allocations: 10.88 MB / 0.8048 GB, free: 55.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.307, allocations: 64.06 kB / 0.8048 GB, free: 55.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/1.307, allocations: 140 kB / 0.805 GB, free: 55.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.31, allocations: 1.139 MB / 0.8061 GB, free: 55.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00719/1.317, allocations: 1.707 MB / 0.8078 GB, free: 54.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/1.324, allocations: 6.028 MB / 0.8136 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.331, allocations: 421.8 kB / 0.814 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/1.332, allocations: 426 kB / 0.8144 GB, free: 51.71 MB / 490.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 () * Number of clocked 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.006669/1.339, allocations: 2.41 MB / 0.8168 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.341, allocations: 419.2 kB / 0.8172 GB, free: 50.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009995/1.351, allocations: 5.671 MB / 0.8227 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/1.351, allocations: 27.55 kB / 0.8228 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.351, allocations: 6.062 kB / 0.8228 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.351, allocations: 13.86 kB / 0.8228 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.374, allocations: 12.37 MB / 0.8349 GB, free: 39.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.374, allocations: 4 kB / 0.8349 GB, free: 39.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/1.377, allocations: 0.5092 MB / 0.8354 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/1.379, allocations: 0.9333 MB / 0.8363 GB, free: 38.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/1.38, allocations: 52.77 kB / 0.8363 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005803/1.386, allocations: 5.755 MB / 0.842 GB, free: 33.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.386, allocations: 14.64 kB / 0.842 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/1.398, allocations: 9.987 MB / 0.8517 GB, free: 24.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/1.402, allocations: 0.9174 MB / 0.8526 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.403, allocations: 44 kB / 0.8527 GB, free: 23.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.406, allocations: 189.3 kB / 0.8528 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/1.406, allocations: 157.4 kB / 0.853 GB, free: 23.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.406, allocations: 72.73 kB / 0.8531 GB, free: 23.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004528/1.411, allocations: 2.812 MB / 0.8558 GB, free: 21.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.411, allocations: 0 / 0.8558 GB, free: 21.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006673/1.418, allocations: 1.254 MB / 0.857 GB, free: 20.01 MB / 490.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 () * Number of clocked 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.0006322/1.418, allocations: 199.9 kB / 0.8572 GB, free: 19.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01093/1.429, allocations: 7.306 MB / 0.8644 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.429, allocations: 0 / 0.8644 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.433, allocations: 2.776 MB / 0.8671 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.436, allocations: 458 kB / 0.8675 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.458, allocations: 14.09 MB / 0.8813 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005751/1.464, allocations: 3.899 MB / 0.8851 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006452/1.471, allocations: 2.301 MB / 0.8873 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.472, allocations: 316.4 kB / 0.8876 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of SimCode: time 1.393e-06/1.472, allocations: 0 / 0.8876 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of Templates: time 0.3384/1.811, allocations: 47.53 MB / 0.934 GB, free: 121.3 MB / 0.5105 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)