Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.001486/0.001486, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001574/0.001574, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.187/0.187, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.00223/0.00223, allocations: 67.89 kB / 493 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3866, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009657/0.3962, allocations: 6.419 MB / 0.5487 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.4008, allocations: 2.026 MB / 0.5507 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006184/0.4015, allocations: 35.12 kB / 0.5507 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.4031, allocations: 0.4887 MB / 0.5512 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.4048, allocations: 0.5627 MB / 0.5517 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4059, allocations: 376.2 kB / 0.5521 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.4076, allocations: 1.289 MB / 0.5533 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/0.4084, allocations: 0.5274 MB / 0.5539 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4097, allocations: 0.5648 MB / 0.5544 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.4111, allocations: 0.7498 MB / 0.5551 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.4113, allocations: 105.2 kB / 0.5552 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.4126, allocations: 0.6013 MB / 0.5558 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.4133, allocations: 486.8 kB / 0.5563 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.414, allocations: 454.2 kB / 0.5567 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.416, allocations: 1.557 MB / 0.5583 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.416, allocations: 0 / 0.5583 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.416, allocations: 0 / 0.5583 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.416, allocations: 0 / 0.5583 GB, free: 3.961 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00319/0.4192, allocations: 1.318 MB / 0.5595 GB, free: 2.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4192, allocations: 15.98 kB / 0.5596 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.4202, allocations: 176.2 kB / 0.5597 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.4218, allocations: 0.6229 MB / 0.5603 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.4221, allocations: 337.8 kB / 0.5607 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.4223, allocations: 83.94 kB / 0.5607 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.4249, allocations: 1.418 MB / 0.5621 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.4249, allocations: 7.969 kB / 0.5621 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.425, allocations: 28 kB / 0.5622 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.4253, allocations: 81.95 kB / 0.5622 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.4282, allocations: 1.511 MB / 0.5637 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007543/0.4358, allocations: 3.997 MB / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4382, allocations: 1.109 MB / 0.5687 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4395, allocations: 0.7114 MB / 0.5694 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.4396, allocations: 12.59 kB / 0.5694 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4397, allocations: 47.16 kB / 0.5694 GB, free: 8.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.075e-06/0.4397, allocations: 0 / 0.5694 GB, free: 8.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007506/0.4472, allocations: 3.638 MB / 0.573 GB, free: 4.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.4472, allocations: 90.09 kB / 0.5731 GB, free: 4.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.4476, allocations: 353.6 kB / 0.5734 GB, free: 4.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.4477, allocations: 41.7 kB / 0.5735 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.448, allocations: 353 kB / 0.5738 GB, free: 3.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.4483, allocations: 368.8 kB / 0.5741 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.4486, allocations: 158.7 kB / 0.5743 GB, free: 3.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.4489, allocations: 370.8 kB / 0.5747 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.4501, allocations: 0.5993 MB / 0.5752 GB, free: 2.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.4513, allocations: 0.7463 MB / 0.576 GB, free: 1.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.4538, allocations: 1.391 MB / 0.5773 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4538, allocations: 0 / 0.5773 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002975/0.4567, allocations: 1.517 MB / 0.5788 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4568, allocations: 8 kB / 0.5788 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4568, allocations: 4 kB / 0.5788 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.4569, allocations: 45.02 kB / 0.5789 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.4596, allocations: 0.4914 MB / 0.5793 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/0.467, allocations: 6.185 MB / 0.5854 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.4679, allocations: 79.89 kB / 0.5855 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.468, allocations: 32 kB / 0.5855 GB, free: 7.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.4685, allocations: 325.5 kB / 0.5858 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.4687, allocations: 59.62 kB / 0.5859 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.4718, allocations: 1.517 MB / 0.5873 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/0.4719, allocations: 23.94 kB / 0.5874 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4719, allocations: 3.984 kB / 0.5874 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4719, allocations: 3.984 kB / 0.5874 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.477, allocations: 2.528 MB / 0.5898 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4771, allocations: 4 kB / 0.5898 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/0.4801, allocations: 0.5306 MB / 0.5904 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.4803, allocations: 40.84 kB / 0.5904 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4804, allocations: 23.98 kB / 0.5904 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.4819, allocations: 1.508 MB / 0.5919 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4819, allocations: 4.031 kB / 0.5919 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.4863, allocations: 2.464 MB / 0.5943 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4865, allocations: 55.52 kB / 0.5944 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4866, allocations: 27.92 kB / 0.5944 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.4872, allocations: 75.91 kB / 0.5945 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.4874, allocations: 76.45 kB / 0.5945 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.4875, allocations: 31.98 kB / 0.5946 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.4878, allocations: 243.1 kB / 0.5948 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4878, allocations: 0 / 0.5948 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009097/0.4887, allocations: 235.9 kB / 0.595 GB, free: 13.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003213/0.489, allocations: 159.1 kB / 0.5952 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.4935, allocations: 1.759 MB / 0.5969 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4935, allocations: 0 / 0.5969 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.4967, allocations: 1.143 MB / 0.598 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.4976, allocations: 140.4 kB / 0.5981 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.503, allocations: 2.614 MB / 0.6007 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.5036, allocations: 498 kB / 0.6012 GB, free: 6.781 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008043/0.5044, allocations: 257.1 kB / 0.6014 GB, free: 6.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.5047, allocations: 51.44 kB / 0.6015 GB, free: 6.477 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/0.5047, allocations: 3.938 kB / 0.6015 GB, free: 6.473 MB / 446.1 MB Notification: Performance of Templates: time 0.0208/0.5255, allocations: 11.11 MB / 0.6123 GB, free: 11.47 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.634459836408496] Failed to read output from testmodel.py, exit status != 0: 0.5347861722111702 0.5483029110000001 0.129292677 Calling exit ...