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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002139/0.002139, allocations: 193 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 222 MB, free: 4.777 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.4276/0.4276, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.0014/0.0014, allocations: 68.12 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.161, allocations: 56.46 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3392/0.5003, allocations: 50.25 MB / 481.3 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.5301, allocations: 10.34 MB / 491.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0164/0.5467, allocations: 210.2 kB / 491.8 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006784/0.5535, allocations: 2.703 MB / 494.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.5613, allocations: 1.761 MB / 496.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.564, allocations: 0.641 MB / 496.9 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.5741, allocations: 5.508 MB / 0.4907 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/0.5804, allocations: 3.771 MB / 0.4943 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.5838, allocations: 1.365 MB / 0.4957 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/0.5889, allocations: 2.264 MB / 0.4979 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009574/0.5899, allocations: 247 kB / 0.4981 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.5932, allocations: 1.033 MB / 0.4991 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003075/0.5963, allocations: 1.859 MB / 0.5009 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005493/0.6018, allocations: 2.164 MB / 0.5031 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.6161, allocations: 6.876 MB / 0.5098 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6161, allocations: 0 / 0.5098 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.601e-06/0.6162, allocations: 1.375 kB / 0.5098 GB, free: 7.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004156/0.6166, allocations: 0 / 0.5098 GB, free: 7.434 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02987/0.6465, allocations: 5.337 MB / 0.515 GB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.501e-05/0.6466, allocations: 13.34 kB / 0.515 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00809/0.6547, allocations: 1.886 MB / 0.5168 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006095/0.6608, allocations: 2.363 MB / 0.5191 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.6611, allocations: 245.2 kB / 0.5194 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000711/0.6618, allocations: 321 kB / 0.5197 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/0.6866, allocations: 10.73 MB / 0.5302 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.6869, allocations: 47.59 kB / 0.5302 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005065/0.6874, allocations: 155.8 kB / 0.5304 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003446/0.6909, allocations: 1.982 MB / 0.5323 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.7132, allocations: 9.636 MB / 0.5417 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07383/0.7871, allocations: 39.26 MB / 0.58 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.8018, allocations: 3.931 MB / 0.5839 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.8048, allocations: 1.873 MB / 0.5857 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.8059, allocations: 0.6828 MB / 0.5864 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.8059, allocations: 51.5 kB / 0.5864 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 7.203e-06/0.806, allocations: 4 kB / 0.5864 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05386/0.8598, allocations: 13.92 MB / 0.6 GB, free: 13.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.86, allocations: 145.5 kB / 0.6002 GB, free: 13.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007111/0.8671, allocations: 4.074 MB / 0.6041 GB, free: 9.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006339/0.8678, allocations: 53.69 kB / 0.6042 GB, free: 9.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002635/0.8704, allocations: 3.122 MB / 0.6072 GB, free: 6.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.8717, allocations: 0.6211 MB / 0.6078 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00212/0.8739, allocations: 1.198 MB / 0.609 GB, free: 4.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.874, allocations: 305.1 kB / 0.6093 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.8776, allocations: 2.104 MB / 0.6114 GB, free: 2.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006304/0.8839, allocations: 5.804 MB / 0.617 GB, free: 10.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/0.8977, allocations: 8.583 MB / 0.6254 GB, free: 96 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002197/0.898, allocations: 43.94 kB / 0.6255 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.3398/1.238, allocations: 8.408 MB / 0.6337 GB, free: 145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/1.238, allocations: 62.5 kB / 0.6337 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.238, allocations: 130.2 kB / 0.6338 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/1.24, allocations: 0.9093 MB / 0.6347 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/1.245, allocations: 1.376 MB / 0.6361 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/1.251, allocations: 4.854 MB / 0.6408 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/1.258, allocations: 326.2 kB / 0.6411 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.259, allocations: 376.1 kB / 0.6415 GB, free: 142 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005681/1.265, allocations: 2.08 MB / 0.6435 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.266, allocations: 345 kB / 0.6439 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006703/1.273, allocations: 3.16 MB / 0.6469 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/1.273, allocations: 24.3 kB / 0.647 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.273, allocations: 6.297 kB / 0.647 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/1.273, allocations: 9.594 kB / 0.647 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.293, allocations: 7.967 MB / 0.6548 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.293, allocations: 1.531 kB / 0.6548 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.294, allocations: 299.2 kB / 0.655 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.297, allocations: 0.7094 MB / 0.6557 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.297, allocations: 44.19 kB / 0.6558 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/1.304, allocations: 4.434 MB / 0.6601 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.304, allocations: 0 / 0.6601 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.317, allocations: 5.718 MB / 0.6657 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/1.32, allocations: 0.6253 MB / 0.6663 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.321, allocations: 32.98 kB / 0.6663 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.323, allocations: 93.66 kB / 0.6664 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/1.323, allocations: 102.4 kB / 0.6665 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.324, allocations: 55.94 kB / 0.6666 GB, free: 132.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005866/1.33, allocations: 2.553 MB / 0.6691 GB, free: 131.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.33, allocations: 0 / 0.6691 GB, free: 131.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007337/1.337, allocations: 0.9623 MB / 0.67 GB, free: 131.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005187/1.337, allocations: 159.9 kB / 0.6702 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008474/1.346, allocations: 5.008 MB / 0.675 GB, free: 129.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.346, allocations: 0 / 0.675 GB, free: 129.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.348, allocations: 1.552 MB / 0.6766 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.352, allocations: 421.4 kB / 0.677 GB, free: 128.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.371, allocations: 11.04 MB / 0.6877 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/1.375, allocations: 3.24 MB / 0.6909 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004586/1.379, allocations: 1.897 MB / 0.6928 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/1.38, allocations: 266.3 kB / 0.693 GB, free: 115.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/1.38, allocations: 0 / 0.693 GB, free: 115.7 MB / 494.1 MB Notification: Performance of Templates: time 0.07338/1.454, allocations: 35.93 MB / 0.7281 GB, free: 81.06 MB / 494.1 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)