Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 230.6 MB / 252.7 MB, free: 14.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 223.7 kB / 309.2 MB, free: 3.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04339/0.04339, allocations: 8.939 MB / 374.6 MB, free: 6.566 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 83.88 kB / 0.4896 GB, free: 44.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1508, allocations: 55.61 MB / 0.5439 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006778/0.1575, allocations: 4.109 MB / 0.5479 GB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1608, allocations: 1.176 MB / 0.5491 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.1613, allocations: 35.75 kB / 0.5491 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1618, allocations: 178.7 kB / 0.5493 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1633, allocations: 373.9 kB / 0.5496 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1638, allocations: 183.7 kB / 0.5498 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.1662, allocations: 1.662 MB / 0.5514 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.1672, allocations: 0.5958 MB / 0.552 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.1687, allocations: 0.7321 MB / 0.5527 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.1702, allocations: 0.8679 MB / 0.5536 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.1705, allocations: 180 kB / 0.5538 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1708, allocations: 184 kB / 0.5539 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.1714, allocations: 0.4986 MB / 0.5544 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.1722, allocations: 0.6691 MB / 0.5551 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.1749, allocations: 2.379 MB / 0.5574 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.77e-05/0.1749, allocations: 0 / 0.5574 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1749, allocations: 4 kB / 0.5574 GB, free: 6.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.655e-05/0.175, allocations: 0 / 0.5574 GB, free: 6.641 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003851/0.1788, allocations: 1.768 MB / 0.5591 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.1789, allocations: 11.98 kB / 0.5591 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.1795, allocations: 187.9 kB / 0.5593 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.1816, allocations: 0.9478 MB / 0.5602 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.1817, allocations: 86.59 kB / 0.5603 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.1819, allocations: 116.1 kB / 0.5604 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.1854, allocations: 1.785 MB / 0.5622 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.1854, allocations: 0 / 0.5622 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.1856, allocations: 44 kB / 0.5622 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.1856, allocations: 50.22 kB / 0.5623 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3125/0.4981, allocations: 1.549 MB / 0.5638 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/0.5056, allocations: 4.382 MB / 0.5681 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.5075, allocations: 1.305 MB / 0.5693 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5088, allocations: 0.7988 MB / 0.5701 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.5088, allocations: 10.25 kB / 0.5701 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5089, allocations: 43.59 kB / 0.5702 GB, free: 23.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.618e-06/0.5089, allocations: 0.9375 kB / 0.5702 GB, free: 23.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007839/0.5167, allocations: 3.775 MB / 0.5739 GB, free: 22.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5167, allocations: 61.09 kB / 0.5739 GB, free: 22.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.518, allocations: 0.8399 MB / 0.5747 GB, free: 21.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.518, allocations: 41.86 kB / 0.5748 GB, free: 21.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.5184, allocations: 0.5092 MB / 0.5753 GB, free: 21.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.5187, allocations: 331.1 kB / 0.5756 GB, free: 21.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.519, allocations: 147.8 kB / 0.5757 GB, free: 21.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5191, allocations: 399.9 kB / 0.5761 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008826/0.52, allocations: 0.4883 MB / 0.5766 GB, free: 20.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009444/0.521, allocations: 0.5707 MB / 0.5771 GB, free: 20.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.5226, allocations: 1.066 MB / 0.5782 GB, free: 19.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5226, allocations: 1.312 kB / 0.5782 GB, free: 19.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00264/0.5252, allocations: 1.553 MB / 0.5797 GB, free: 19.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5253, allocations: 7.703 kB / 0.5797 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5253, allocations: 2.078 kB / 0.5797 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5263, allocations: 497.1 kB / 0.5802 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.5269, allocations: 136.8 kB / 0.5803 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007792/0.5347, allocations: 9.017 MB / 0.5891 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.5354, allocations: 46.78 kB / 0.5892 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.5354, allocations: 26.02 kB / 0.5892 GB, free: 12.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007943/0.5362, allocations: 0.5002 MB / 0.5897 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5364, allocations: 101.6 kB / 0.5898 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.5365, allocations: 127.6 kB / 0.5899 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5365, allocations: 10.12 kB / 0.5899 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.5366, allocations: 1.094 kB / 0.5899 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5366, allocations: 5.156 kB / 0.5899 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.5416, allocations: 2.833 MB / 0.5927 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5416, allocations: 1.156 kB / 0.5927 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.5421, allocations: 119.2 kB / 0.5928 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/0.543, allocations: 493.7 kB / 0.5933 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.5431, allocations: 21.53 kB / 0.5933 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.5501, allocations: 8.948 MB / 0.602 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5501, allocations: 1.156 kB / 0.602 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.5538, allocations: 2.33 MB / 0.6043 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.5544, allocations: 219.2 kB / 0.6045 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5545, allocations: 21.53 kB / 0.6045 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.555, allocations: 64.8 kB / 0.6046 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.5552, allocations: 92.69 kB / 0.6047 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.5553, allocations: 21.47 kB / 0.6047 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007788/0.5561, allocations: 0.6064 MB / 0.6053 GB, free: 460 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5561, allocations: 0.7656 kB / 0.6053 GB, free: 460 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001422/0.5575, allocations: 310.5 kB / 0.6056 GB, free: 428 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.5576, allocations: 129.1 kB / 0.6057 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.5602, allocations: 1.755 MB / 0.6074 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5602, allocations: 3.375 kB / 0.6074 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.5621, allocations: 1.228 MB / 0.6086 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5632, allocations: 276.7 kB / 0.6089 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.5687, allocations: 2.881 MB / 0.6117 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.5699, allocations: 0.8203 MB / 0.6125 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006119/0.5705, allocations: 185.3 kB / 0.6127 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.5707, allocations: 63.42 kB / 0.6128 GB, free: 10.07 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5707, allocations: 0 / 0.6128 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Templates: time 0.03984/0.6106, allocations: 21.37 MB / 0.6336 GB, free: 4.969 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.473567601293325] Failed to read output from testmodel.py, exit status != 0: 0.6201978716999292 0.636839693 0.458600581 Calling exit ...