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.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.001474/0.001474, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.418/1.418, allocations: 225.6 MB / 245.5 MB, free: 14.2 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.001493/0.001493, allocations: 193.6 kB / 300.5 MB, free: 9.84 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.04219/0.04219, allocations: 8.939 MB / 364.3 MB, free: 10.18 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.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: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 88.75 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09608, allocations: 54.41 MB / 0.5289 GB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006321/0.1024, allocations: 4.526 MB / 0.5334 GB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1046, allocations: 1.153 MB / 0.5345 GB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.1048, allocations: 23.94 kB / 0.5345 GB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.1052, allocations: 182.6 kB / 0.5347 GB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009291/0.1061, allocations: 362 kB / 0.535 GB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1064, allocations: 171.8 kB / 0.5352 GB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.1082, allocations: 1.654 MB / 0.5368 GB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1093, allocations: 0.8336 MB / 0.5376 GB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.1102, allocations: 0.701 MB / 0.5383 GB, free: 7.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.1114, allocations: 0.8718 MB / 0.5392 GB, free: 6.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.1117, allocations: 184 kB / 0.5393 GB, free: 6.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.112, allocations: 180 kB / 0.5395 GB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.1125, allocations: 0.4986 MB / 0.54 GB, free: 5.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009058/0.1134, allocations: 0.8167 MB / 0.5408 GB, free: 4.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.1158, allocations: 2.347 MB / 0.5431 GB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1158, allocations: 0 / 0.5431 GB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1158, allocations: 0 / 0.5431 GB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.1159, allocations: 0 / 0.5431 GB, free: 2.309 MB / 350.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.003527/0.1194, allocations: 1.842 MB / 0.5449 GB, free: 420 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1194, allocations: 8.031 kB / 0.5449 GB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.1197, allocations: 160 kB / 0.545 GB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.1213, allocations: 0.9861 MB / 0.546 GB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.1213, allocations: 82.61 kB / 0.5461 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1215, allocations: 116.1 kB / 0.5462 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.1245, allocations: 1.685 MB / 0.5478 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1245, allocations: 0 / 0.5478 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.1246, allocations: 47.98 kB / 0.5479 GB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.1247, allocations: 46.23 kB / 0.5479 GB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.1275, allocations: 1.554 MB / 0.5494 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007654/0.1351, allocations: 4.96 MB / 0.5543 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.1379, allocations: 2.51 MB / 0.5567 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.1392, allocations: 0.8019 MB / 0.5575 GB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/0.1392, allocations: 9 kB / 0.5575 GB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1393, allocations: 43.56 kB / 0.5576 GB, free: 2.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.1393, allocations: 0 / 0.5576 GB, free: 2.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.008111/0.1474, allocations: 4.084 MB / 0.5616 GB, free: 14.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1475, allocations: 60.41 kB / 0.5616 GB, free: 14.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.1486, allocations: 0.8716 MB / 0.5625 GB, free: 13.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.1487, allocations: 45.69 kB / 0.5625 GB, free: 13.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.1491, allocations: 0.5165 MB / 0.563 GB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.1494, allocations: 321.2 kB / 0.5633 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.1496, allocations: 146.7 kB / 0.5635 GB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1498, allocations: 341.9 kB / 0.5638 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.1506, allocations: 0.4937 MB / 0.5643 GB, free: 11.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.1516, allocations: 0.5684 MB / 0.5648 GB, free: 11.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1534, allocations: 1.069 MB / 0.5659 GB, free: 10.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1534, allocations: 0 / 0.5659 GB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002717/0.1561, allocations: 1.558 MB / 0.5674 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1561, allocations: 8 kB / 0.5674 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1561, allocations: 3.984 kB / 0.5674 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.1573, allocations: 495 kB / 0.5679 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.1579, allocations: 135.8 kB / 0.568 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.1682, allocations: 9.598 MB / 0.5774 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.1687, allocations: 47.94 kB / 0.5774 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.1687, allocations: 27.98 kB / 0.5774 GB, free: 13.75 MB / 398.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.0008203/0.1695, allocations: 0.4976 MB / 0.5779 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1697, allocations: 103.4 kB / 0.578 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.17, allocations: 129.3 kB / 0.5782 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.17, allocations: 15.94 kB / 0.5782 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.17, allocations: 0 / 0.5782 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.17, allocations: 3.984 kB / 0.5782 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.1754, allocations: 3.16 MB / 0.5813 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1754, allocations: 128 / 0.5813 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.176, allocations: 119.9 kB / 0.5814 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.1771, allocations: 491 kB / 0.5818 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.1771, allocations: 20 kB / 0.5819 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.1872, allocations: 9.519 MB / 0.5912 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1872, allocations: 0.5625 kB / 0.5912 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.1911, allocations: 2.344 MB / 0.5934 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.1916, allocations: 296.4 kB / 0.5937 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1917, allocations: 16.12 kB / 0.5937 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.1922, allocations: 67.88 kB / 0.5938 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.1924, allocations: 88.88 kB / 0.5939 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.1925, allocations: 27.92 kB / 0.5939 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008639/0.1933, allocations: 0.6356 MB / 0.5945 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1933, allocations: 0 / 0.5945 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001217/0.1946, allocations: 312 kB / 0.5948 GB, free: 11.23 MB / 414.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.0001982/0.1948, allocations: 131.2 kB / 0.595 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.1977, allocations: 1.749 MB / 0.5967 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1977, allocations: 4 kB / 0.5967 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.1995, allocations: 1.219 MB / 0.5979 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2007, allocations: 295.9 kB / 0.5981 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.2053, allocations: 2.858 MB / 0.6009 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.2064, allocations: 1.392 MB / 0.6023 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.2067, allocations: 59.44 kB / 0.6024 GB, free: 3.367 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2067, allocations: 0 / 0.6024 GB, free: 3.367 MB / 414.1 MB Notification: Performance of Templates: time 0.04729/0.2539, allocations: 41.36 MB / 0.6427 GB, free: 10.05 MB / 462.1 MB " [Timeout remaining time 660] 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: 10.321601503994316] Failed to read output from testmodel.py, exit status != 0: 0.4052383340895176 0.42187009299999995 0.30352711499999996 Calling exit ...