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.001837/0.001837, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002476/0.002476, allocations: 211 kB / 24.48 MB, free: 3.938 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1806/0.1806, allocations: 38.56 MB / 353.2 MB, free: 12.34 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.002121/0.002121, allocations: 59.91 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 62.46 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008437/0.3892, allocations: 6.073 MB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3922, allocations: 1.387 MB / 0.5505 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.3926, allocations: 34.25 kB / 0.5505 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.3931, allocations: 151.2 kB / 0.5506 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3941, allocations: 426.5 kB / 0.551 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.3947, allocations: 218 kB / 0.5512 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.396, allocations: 1.116 MB / 0.5523 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.3964, allocations: 214.1 kB / 0.5525 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008228/0.3972, allocations: 0.4928 MB / 0.553 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009597/0.3982, allocations: 0.5508 MB / 0.5536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.3983, allocations: 65.03 kB / 0.5536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3984, allocations: 66.19 kB / 0.5537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.3988, allocations: 319.2 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.3992, allocations: 313.8 kB / 0.5543 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4003, allocations: 0.885 MB / 0.5552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4003, allocations: 0 / 0.5552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4003, allocations: 0 / 0.5552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.4003, allocations: 1.156 kB / 0.5552 GB, free: 7.723 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.002188/0.4025, allocations: 0.9683 MB / 0.5561 GB, free: 6.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4025, allocations: 19.97 kB / 0.5561 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.4027, allocations: 76.47 kB / 0.5562 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4039, allocations: 0.5117 MB / 0.5567 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.4042, allocations: 227.6 kB / 0.5569 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4043, allocations: 59.95 kB / 0.557 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.4058, allocations: 0.7849 MB / 0.5577 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.4058, allocations: 3.984 kB / 0.5577 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.4058, allocations: 24 kB / 0.5578 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.406, allocations: 36.91 kB / 0.5578 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.4074, allocations: 0.6908 MB / 0.5585 GB, free: 4.414 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.004606/0.412, allocations: 2.404 MB / 0.5608 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.4138, allocations: 0.7075 MB / 0.5615 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.4144, allocations: 312.4 kB / 0.5618 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.4144, allocations: 7.984 kB / 0.5618 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4144, allocations: 42.55 kB / 0.5619 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/0.4144, allocations: 0 / 0.5619 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004049/0.4185, allocations: 1.649 MB / 0.5635 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4186, allocations: 85.11 kB / 0.5635 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4191, allocations: 393.5 kB / 0.5639 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.4191, allocations: 37.7 kB / 0.564 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.4194, allocations: 316.8 kB / 0.5643 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.4195, allocations: 150.6 kB / 0.5644 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.4197, allocations: 90.14 kB / 0.5645 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4198, allocations: 354.8 kB / 0.5648 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.4203, allocations: 236.8 kB / 0.565 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.4209, allocations: 349.7 kB / 0.5654 GB, free: 13.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4221, allocations: 0.5742 MB / 0.5659 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4221, allocations: 8 kB / 0.566 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001528/0.4236, allocations: 0.7013 MB / 0.5666 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4236, allocations: 18.58 kB / 0.5667 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4236, allocations: 4 kB / 0.5667 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.4239, allocations: 73.67 kB / 0.5667 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.4254, allocations: 287.8 kB / 0.567 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/0.4322, allocations: 5.995 MB / 0.5729 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.4327, allocations: 35.97 kB / 0.5729 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.4328, allocations: 19.98 kB / 0.5729 GB, free: 4.902 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.0004468/0.4332, allocations: 233.7 kB / 0.5731 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4333, allocations: 55.78 kB / 0.5732 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.4348, allocations: 0.6505 MB / 0.5738 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4348, allocations: 4 kB / 0.5738 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4348, allocations: 0 / 0.5738 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4348, allocations: 4 kB / 0.5738 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.4374, allocations: 1.255 MB / 0.5751 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4374, allocations: 4 kB / 0.5751 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.439, allocations: 291.6 kB / 0.5753 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.4393, allocations: 97.52 kB / 0.5754 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.4394, allocations: 15.98 kB / 0.5754 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.442, allocations: 2.901 MB / 0.5783 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.442, allocations: 7.969 kB / 0.5783 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.444, allocations: 1.052 MB / 0.5793 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.4441, allocations: 43.7 kB / 0.5794 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.4442, allocations: 8 kB / 0.5794 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.4445, allocations: 35.95 kB / 0.5794 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4446, allocations: 43.88 kB / 0.5794 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.4446, allocations: 12 kB / 0.5795 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.445, allocations: 267.1 kB / 0.5797 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.445, allocations: 0 / 0.5797 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.4457, allocations: 136 kB / 0.5798 GB, free: 13.49 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.000147/0.4458, allocations: 104.7 kB / 0.5799 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.4485, allocations: 0.977 MB / 0.5809 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4485, allocations: 0 / 0.5809 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.4504, allocations: 0.708 MB / 0.5816 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.4512, allocations: 127.6 kB / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.454, allocations: 1.495 MB / 0.5832 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.4545, allocations: 341.2 kB / 0.5835 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4547, allocations: 47.44 kB / 0.5835 GB, free: 9.574 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4547, allocations: 0 / 0.5835 GB, free: 9.574 MB / 430.1 MB Notification: Performance of Templates: time 0.0222/0.4769, allocations: 16.82 MB / 0.6 GB, free: 8.758 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.792227051686496] Failed to read output from testmodel.py, exit status != 0: 0.48646159935742617 0.502081473 0.098442894 Calling exit ...