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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008384/0.0008387, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3004/0.3004, allocations: 38.04 MB / 308.4 MB, free: 10.44 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005752, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1233, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2554/0.3788, allocations: 60.1 MB / 494.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02393/0.4027, allocations: 12.44 MB / 0.4946 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01041/0.4132, allocations: 283.8 kB / 0.4949 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.4235, allocations: 3.114 MB / 0.4979 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0294/0.453, allocations: 9.098 MB / 0.5068 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.4575, allocations: 0.623 MB / 0.5074 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009211/0.4667, allocations: 5.209 MB / 0.5125 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009689/0.4765, allocations: 6.009 MB / 0.5184 GB, free: 368 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.4804, allocations: 1.476 MB / 0.5198 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004331/0.4848, allocations: 2.294 MB / 0.5221 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.4856, allocations: 173.1 kB / 0.5222 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.4883, allocations: 0.8133 MB / 0.523 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002536/0.4908, allocations: 1.977 MB / 0.525 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.4924, allocations: 1.005 MB / 0.5259 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009054/0.5015, allocations: 6.64 MB / 0.5324 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5016, allocations: 0 / 0.5324 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.32e-06/0.5016, allocations: 3.984 kB / 0.5324 GB, free: 7.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000387/0.502, allocations: 0 / 0.5324 GB, free: 7.508 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01798/0.5199, allocations: 5.375 MB / 0.5377 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.52, allocations: 8.031 kB / 0.5377 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.5272, allocations: 2.036 MB / 0.5397 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005859/0.5331, allocations: 2.714 MB / 0.5423 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.5334, allocations: 313.6 kB / 0.5426 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.5347, allocations: 403.7 kB / 0.543 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.5623, allocations: 12.88 MB / 0.5556 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/0.5627, allocations: 51.58 kB / 0.5556 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/0.5646, allocations: 187.8 kB / 0.5558 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004647/0.5693, allocations: 2.374 MB / 0.5581 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02612/0.5955, allocations: 11.77 MB / 0.5696 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06974/0.6653, allocations: 48.11 MB / 0.6166 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/0.6826, allocations: 5.716 MB / 0.6222 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/0.6877, allocations: 3.615 MB / 0.6257 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.6889, allocations: 0.6948 MB / 0.6264 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.689, allocations: 55.88 kB / 0.6265 GB, free: 4.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.08e-06/0.689, allocations: 0 / 0.6265 GB, free: 4.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.2749/0.9639, allocations: 28.49 MB / 0.6543 GB, free: 137.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.964, allocations: 160.3 kB / 0.6544 GB, free: 137.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.9698, allocations: 4.491 MB / 0.6588 GB, free: 136.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000488/0.9703, allocations: 64.42 kB / 0.6589 GB, free: 136.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.9722, allocations: 3.541 MB / 0.6623 GB, free: 133.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.9733, allocations: 0.9561 MB / 0.6633 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.9736, allocations: 134.9 kB / 0.6634 GB, free: 132.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.974, allocations: 0.5937 MB / 0.664 GB, free: 132.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/0.9801, allocations: 3.434 MB / 0.6673 GB, free: 131 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/0.9877, allocations: 7.371 MB / 0.6745 GB, free: 124.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007743/0.9955, allocations: 4.914 MB / 0.6793 GB, free: 122.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.9956, allocations: 40.16 kB / 0.6794 GB, free: 122.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01999/1.016, allocations: 11.73 MB / 0.6908 GB, free: 118.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.016, allocations: 65.06 kB / 0.6909 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002513/1.016, allocations: 137 kB / 0.691 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/1.019, allocations: 1.148 MB / 0.6921 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/1.024, allocations: 1.792 MB / 0.6939 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/1.031, allocations: 5.997 MB / 0.6997 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/1.037, allocations: 430.7 kB / 0.7002 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.038, allocations: 460.5 kB / 0.7006 GB, free: 114.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (857): * Single equations (assignments): 853 * 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.004647/1.043, allocations: 2.425 MB / 0.703 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.044, allocations: 410.7 kB / 0.7034 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009979/1.054, allocations: 6.562 MB / 0.7098 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/1.054, allocations: 28 kB / 0.7098 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.054, allocations: 7.562 kB / 0.7098 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/1.054, allocations: 11.95 kB / 0.7098 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.074, allocations: 13.78 MB / 0.7233 GB, free: 92.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.074, allocations: 7.984 kB / 0.7233 GB, free: 92.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.077, allocations: 0.5931 MB / 0.7239 GB, free: 91.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.079, allocations: 0.9489 MB / 0.7248 GB, free: 90.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/1.079, allocations: 91.89 kB / 0.7249 GB, free: 90.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/1.085, allocations: 5.729 MB / 0.7305 GB, free: 84.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.085, allocations: 3.938 kB / 0.7305 GB, free: 84.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/1.098, allocations: 11.06 MB / 0.7413 GB, free: 73.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/1.101, allocations: 0.9408 MB / 0.7422 GB, free: 72.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.102, allocations: 47.98 kB / 0.7422 GB, free: 72.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.105, allocations: 183.8 kB / 0.7424 GB, free: 72.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/1.105, allocations: 201.5 kB / 0.7426 GB, free: 72.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002971/1.106, allocations: 111.9 kB / 0.7427 GB, free: 72.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005057/1.111, allocations: 2.811 MB / 0.7455 GB, free: 69.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.111, allocations: 0 / 0.7455 GB, free: 69.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007678/1.118, allocations: 1.276 MB / 0.7467 GB, free: 68.23 MB / 494.1 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.0008995/1.119, allocations: 191.9 kB / 0.7469 GB, free: 68.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0121/1.131, allocations: 8.105 MB / 0.7548 GB, free: 59.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.131, allocations: 4.062 kB / 0.7548 GB, free: 59.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004089/1.135, allocations: 3.209 MB / 0.7579 GB, free: 56.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/1.14, allocations: 487.5 kB / 0.7584 GB, free: 56.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/1.162, allocations: 14.64 MB / 0.7727 GB, free: 41.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004985/1.167, allocations: 3.805 MB / 0.7764 GB, free: 37.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005329/1.173, allocations: 2.368 MB / 0.7787 GB, free: 35.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.174, allocations: 431.1 kB / 0.7791 GB, free: 34.93 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/1.174, allocations: 3.938 kB / 0.7791 GB, free: 34.93 MB / 494.1 MB Notification: Performance of Templates: time 0.3046/1.479, allocations: 54.08 MB / 0.832 GB, free: 128.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: