Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 245.5 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 194.9 kB / 300.5 MB, free: 9.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04395/0.04395, allocations: 8.932 MB / 364.3 MB, free: 10.14 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 90.73 kB / 487.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09528, allocations: 54.4 MB / 0.529 GB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.03189/0.1272, allocations: 25.53 MB / 0.5539 GB, free: 7.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.144, allocations: 8.045 MB / 0.5618 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004123/0.1481, allocations: 171.5 kB / 0.5619 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01591/0.164, allocations: 6.169 MB / 0.568 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009114/0.1731, allocations: 2.79 MB / 0.5707 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.1783, allocations: 1.636 MB / 0.5723 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.1893, allocations: 7.27 MB / 0.5794 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.2068, allocations: 10.12 MB / 0.5893 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006106/0.2129, allocations: 3.756 MB / 0.5929 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/0.2209, allocations: 4.275 MB / 0.5971 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002853/0.2237, allocations: 1.07 MB / 0.5982 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.2281, allocations: 1.429 MB / 0.5996 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.2312, allocations: 2.155 MB / 0.6017 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006142/0.2373, allocations: 4.105 MB / 0.6057 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.2544, allocations: 14.48 MB / 0.6198 GB, free: 3.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2544, allocations: 4 kB / 0.6198 GB, free: 3.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.2544, allocations: 3.984 kB / 0.6198 GB, free: 3.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002857/0.2547, allocations: 0 / 0.6198 GB, free: 3.344 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02495/0.2797, allocations: 8.933 MB / 0.6285 GB, free: 10.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2797, allocations: 8.031 kB / 0.6285 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02692/0.3066, allocations: 4.437 MB / 0.6329 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.3172, allocations: 4.622 MB / 0.6374 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/0.3177, allocations: 489 kB / 0.6379 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.3197, allocations: 0.6288 MB / 0.6385 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2027/0.5224, allocations: 10.35 MB / 0.6486 GB, free: 83.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.5225, allocations: 14.8 kB / 0.6486 GB, free: 83.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007086/0.5232, allocations: 265.5 kB / 0.6488 GB, free: 83.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/0.5235, allocations: 419 kB / 0.6492 GB, free: 82.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.5376, allocations: 9.869 MB / 0.6589 GB, free: 78.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03757/0.5752, allocations: 35.39 MB / 0.6934 GB, free: 44.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.5887, allocations: 20.4 MB / 0.7134 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.5914, allocations: 2.116 MB / 0.7154 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5917, allocations: 227.7 kB / 0.7156 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.5917, allocations: 60.89 kB / 0.7157 GB, free: 19.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 4.569e-06/0.5917, allocations: 6.344 kB / 0.7157 GB, free: 19.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01738/0.6091, allocations: 10.92 MB / 0.7264 GB, free: 8.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.6091, allocations: 85.72 kB / 0.7265 GB, free: 8.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.6125, allocations: 3.03 MB / 0.7294 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.6126, allocations: 73.7 kB / 0.7295 GB, free: 5.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.6137, allocations: 2.959 MB / 0.7324 GB, free: 2.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/0.6142, allocations: 1.091 MB / 0.7334 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.6154, allocations: 0.906 MB / 0.7343 GB, free: 388 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.6154, allocations: 305.1 kB / 0.7346 GB, free: 80 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.6187, allocations: 2.03 MB / 0.7366 GB, free: 14.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.6235, allocations: 3.724 MB / 0.7402 GB, free: 9.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008437/0.6319, allocations: 6.051 MB / 0.7461 GB, free: 2.676 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/0.632, allocations: 20 kB / 0.7462 GB, free: 2.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01166/0.6436, allocations: 6.62 MB / 0.7526 GB, free: 12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.6437, allocations: 28 kB / 0.7527 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.476e-05/0.6437, allocations: 56 kB / 0.7527 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.6458, allocations: 0.6678 MB / 0.7534 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.6497, allocations: 1.076 MB / 0.7544 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009976/0.6596, allocations: 6.21 MB / 0.7605 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.663, allocations: 279.6 kB / 0.7607 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/0.6634, allocations: 239.9 kB / 0.761 GB, free: 3.305 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003947/0.6673, allocations: 2.311 MB / 0.7632 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/0.668, allocations: 337.9 kB / 0.7636 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/0.6769, allocations: 4.618 MB / 0.7681 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.6769, allocations: 36 kB / 0.7681 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6769, allocations: 7.938 kB / 0.7681 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.481e-05/0.677, allocations: 19.88 kB / 0.7681 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/0.6965, allocations: 11.07 MB / 0.7789 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.6965, allocations: 4 kB / 0.7789 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/0.6988, allocations: 0.5305 MB / 0.7795 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.7005, allocations: 0.5744 MB / 0.78 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.7007, allocations: 67.98 kB / 0.7801 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008573/0.7093, allocations: 5.458 MB / 0.7854 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.7093, allocations: 8 kB / 0.7854 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.7204, allocations: 6.573 MB / 0.7918 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.722, allocations: 0.7369 MB / 0.7926 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/0.7224, allocations: 67.98 kB / 0.7926 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.7241, allocations: 155.8 kB / 0.7928 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.7246, allocations: 209.9 kB / 0.793 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/0.7248, allocations: 95.95 kB / 0.7931 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003311/0.7281, allocations: 2.018 MB / 0.795 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7281, allocations: 0 / 0.795 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003928/0.732, allocations: 1.168 MB / 0.7962 GB, free: 14.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * Array equations: 0 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/0.7325, allocations: 231.5 kB / 0.7964 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008726/0.7413, allocations: 4.824 MB / 0.8011 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7413, allocations: 0 / 0.8011 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/0.7452, allocations: 2.105 MB / 0.8032 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.7483, allocations: 0.6412 MB / 0.8038 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.7677, allocations: 11.02 MB / 0.8146 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004557/0.7723, allocations: 4.036 MB / 0.8185 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.7737, allocations: 315.3 kB / 0.8188 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.7737, allocations: 0 / 0.8188 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of Templates: time 0.3102/1.084, allocations: 107.1 MB / 0.9234 GB, free: 146.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.931643054820597] Failed to read output from testmodel.py, exit status != 0: 1.2333837351761758 1.10044743 0.843685161 Calling exit ...