Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.001277/0.001277, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] 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.001428/0.001428, allocations: 208.6 kB / 24.49 MB, free: 4.133 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.53 MB / 353.2 MB, free: 12.59 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: PowerSystems 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.00208/0.00208, allocations: 67.89 kB / 493.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 62.46 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008278/0.2922, allocations: 6.526 MB / 0.5496 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.2951, allocations: 1.487 MB / 0.5511 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.2955, allocations: 34.22 kB / 0.5511 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.2961, allocations: 155.6 kB / 0.5512 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2972, allocations: 426.7 kB / 0.5516 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.2978, allocations: 213.2 kB / 0.5518 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.2994, allocations: 1.124 MB / 0.5529 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.2998, allocations: 221.5 kB / 0.5532 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.3007, allocations: 0.4891 MB / 0.5536 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.3016, allocations: 0.5703 MB / 0.5542 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3017, allocations: 65.56 kB / 0.5543 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3018, allocations: 65.72 kB / 0.5543 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.3022, allocations: 327.8 kB / 0.5546 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.3026, allocations: 372.3 kB / 0.555 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009965/0.3036, allocations: 0.8706 MB / 0.5558 GB, free: 7.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3036, allocations: 1.344 kB / 0.5558 GB, free: 7.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3036, allocations: 4 kB / 0.5558 GB, free: 7.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.3036, allocations: 0 / 0.5558 GB, free: 7.211 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001994/0.3056, allocations: 0.9679 MB / 0.5568 GB, free: 6.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3056, allocations: 13.23 kB / 0.5568 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.3058, allocations: 81.72 kB / 0.5569 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3068, allocations: 0.5156 MB / 0.5574 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3071, allocations: 219.6 kB / 0.5576 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3072, allocations: 59.98 kB / 0.5576 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3086, allocations: 0.785 MB / 0.5584 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3086, allocations: 4 kB / 0.5584 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.3087, allocations: 20 kB / 0.5584 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3088, allocations: 36.97 kB / 0.5585 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.3102, allocations: 0.6869 MB / 0.5591 GB, free: 4.008 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.3145, allocations: 2.649 MB / 0.5617 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3163, allocations: 0.7155 MB / 0.5624 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.3169, allocations: 312.4 kB / 0.5627 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.3169, allocations: 7.984 kB / 0.5627 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3169, allocations: 38.5 kB / 0.5628 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.024e-06/0.3169, allocations: 0 / 0.5628 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003765/0.3207, allocations: 1.657 MB / 0.5644 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3208, allocations: 85.05 kB / 0.5645 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.3213, allocations: 417.9 kB / 0.5649 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3213, allocations: 33.7 kB / 0.5649 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.3215, allocations: 324.9 kB / 0.5652 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3217, allocations: 150.8 kB / 0.5654 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3218, allocations: 82.19 kB / 0.5654 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.322, allocations: 358.8 kB / 0.5658 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3225, allocations: 236.8 kB / 0.566 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.3231, allocations: 345.7 kB / 0.5663 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3242, allocations: 0.5858 MB / 0.5669 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3242, allocations: 3.938 kB / 0.5669 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001443/0.3256, allocations: 0.7169 MB / 0.5676 GB, free: 11.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3257, allocations: 8 kB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3257, allocations: 4 kB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.3259, allocations: 77.92 kB / 0.5677 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.3273, allocations: 283.5 kB / 0.568 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.3337, allocations: 6.095 MB / 0.5739 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.3341, allocations: 35.95 kB / 0.5739 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.3342, allocations: 20 kB / 0.574 GB, free: 4.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.3346, allocations: 241.7 kB / 0.5742 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.3347, allocations: 55.66 kB / 0.5742 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.3361, allocations: 0.6546 MB / 0.5749 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3361, allocations: 4 kB / 0.5749 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3361, allocations: 0 / 0.5749 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3361, allocations: 3.984 kB / 0.5749 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.3388, allocations: 1.395 MB / 0.5763 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3388, allocations: 0 / 0.5763 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.3403, allocations: 299.6 kB / 0.5765 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.3406, allocations: 85.62 kB / 0.5766 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.3406, allocations: 16 kB / 0.5766 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.3432, allocations: 2.958 MB / 0.5795 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3432, allocations: 12 kB / 0.5795 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3451, allocations: 1.048 MB / 0.5806 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3453, allocations: 43.7 kB / 0.5806 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.3453, allocations: 12 kB / 0.5806 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3456, allocations: 31.95 kB / 0.5806 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3458, allocations: 39.88 kB / 0.5807 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.3458, allocations: 12 kB / 0.5807 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.3461, allocations: 295.1 kB / 0.581 GB, free: 12.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3461, allocations: 4 kB / 0.581 GB, free: 12.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000669/0.3468, allocations: 140 kB / 0.5811 GB, free: 12.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.347, allocations: 107.2 kB / 0.5812 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3495, allocations: 0.9731 MB / 0.5822 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3495, allocations: 0 / 0.5822 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.3514, allocations: 0.708 MB / 0.5829 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.3521, allocations: 142.9 kB / 0.583 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.3547, allocations: 1.51 MB / 0.5845 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.3553, allocations: 0.9447 MB / 0.5854 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3555, allocations: 43.44 kB / 0.5854 GB, free: 7.809 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3555, allocations: 0 / 0.5854 GB, free: 7.809 MB / 430.1 MB Notification: Performance of Templates: time 0.0208/0.3763, allocations: 16.95 MB / 0.602 GB, free: 6.875 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.392062939936295] Failed to read output from testmodel.py, exit status != 0: 0.3855498689226806 0.399976864 0.09310146499999994 Calling exit ...