Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001405/0.001405, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001592/0.001592, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1849/0.1849, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.00221/0.00221, allocations: 66.55 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3215, allocations: 62.46 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008174/0.3296, allocations: 6.013 MB / 0.549 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.3326, allocations: 1.364 MB / 0.5504 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.3329, allocations: 33.72 kB / 0.5504 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.3334, allocations: 146.4 kB / 0.5505 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.3345, allocations: 413.1 kB / 0.5509 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.335, allocations: 193.7 kB / 0.5511 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3366, allocations: 1.091 MB / 0.5522 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.337, allocations: 216.8 kB / 0.5524 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.3379, allocations: 490.5 kB / 0.5529 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.3388, allocations: 0.5271 MB / 0.5534 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3389, allocations: 64.34 kB / 0.5534 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.339, allocations: 73.53 kB / 0.5535 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.3394, allocations: 315.7 kB / 0.5538 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.3397, allocations: 298.4 kB / 0.5541 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3408, allocations: 0.8602 MB / 0.5549 GB, free: 7.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3408, allocations: 0 / 0.5549 GB, free: 7.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3408, allocations: 0 / 0.5549 GB, free: 7.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.3408, allocations: 3.938 kB / 0.5549 GB, free: 7.859 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002119/0.3429, allocations: 0.9442 MB / 0.5559 GB, free: 7.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.343, allocations: 19.98 kB / 0.5559 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3431, allocations: 72.52 kB / 0.5559 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3443, allocations: 0.5155 MB / 0.5564 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3445, allocations: 223.6 kB / 0.5567 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3446, allocations: 52 kB / 0.5567 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3461, allocations: 0.7733 MB / 0.5575 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.3461, allocations: 3.938 kB / 0.5575 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.3461, allocations: 20 kB / 0.5575 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.3463, allocations: 44.95 kB / 0.5575 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.3477, allocations: 0.7142 MB / 0.5582 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.3518, allocations: 2.328 MB / 0.5605 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.3535, allocations: 0.6906 MB / 0.5612 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.3542, allocations: 377.4 kB / 0.5615 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3542, allocations: 4.438 kB / 0.5615 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3542, allocations: 39 kB / 0.5616 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.564e-06/0.3542, allocations: 0 / 0.5616 GB, free: 1.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004331/0.3586, allocations: 1.855 MB / 0.5634 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.3586, allocations: 85.55 kB / 0.5635 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.3591, allocations: 365.6 kB / 0.5638 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3591, allocations: 37.73 kB / 0.5639 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.3593, allocations: 289 kB / 0.5641 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3595, allocations: 190.4 kB / 0.5643 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3597, allocations: 98.28 kB / 0.5644 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.3599, allocations: 358.8 kB / 0.5647 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.3605, allocations: 273.1 kB / 0.565 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.3612, allocations: 382 kB / 0.5654 GB, free: 13.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3624, allocations: 0.6528 MB / 0.566 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3624, allocations: 0 / 0.566 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001668/0.3641, allocations: 0.7916 MB / 0.5668 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3641, allocations: 8.062 kB / 0.5668 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3641, allocations: 4 kB / 0.5668 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.3644, allocations: 73.67 kB / 0.5669 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.366, allocations: 311.5 kB / 0.5672 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006735/0.3728, allocations: 6.015 MB / 0.573 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.3733, allocations: 44.27 kB / 0.5731 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.3733, allocations: 24 kB / 0.5731 GB, free: 4.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.00041/0.3737, allocations: 241.5 kB / 0.5733 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.3738, allocations: 51.66 kB / 0.5734 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3754, allocations: 0.7526 MB / 0.5741 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3754, allocations: 11.92 kB / 0.5741 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3754, allocations: 7.938 kB / 0.5741 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3754, allocations: 0 / 0.5741 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.3784, allocations: 1.434 MB / 0.5755 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3784, allocations: 4.188 kB / 0.5755 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.3802, allocations: 315.6 kB / 0.5758 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002974/0.3805, allocations: 93.62 kB / 0.5759 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.3805, allocations: 15.98 kB / 0.5759 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.3833, allocations: 2.905 MB / 0.5788 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3833, allocations: 7.969 kB / 0.5788 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.3857, allocations: 1.239 MB / 0.58 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3858, allocations: 43.77 kB / 0.58 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.3859, allocations: 16.03 kB / 0.5801 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3863, allocations: 43.94 kB / 0.5801 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3864, allocations: 43.92 kB / 0.5801 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.3864, allocations: 16 kB / 0.5802 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.3867, allocations: 263.1 kB / 0.5804 GB, free: 12.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3867, allocations: 0 / 0.5804 GB, free: 12.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007484/0.3875, allocations: 147.9 kB / 0.5805 GB, free: 12.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001647/0.3877, allocations: 111.2 kB / 0.5806 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.3906, allocations: 1.061 MB / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3906, allocations: 0 / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.3926, allocations: 0.767 MB / 0.5824 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.3934, allocations: 124 kB / 0.5826 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.397, allocations: 1.668 MB / 0.5842 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3974, allocations: 336.8 kB / 0.5845 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3976, allocations: 47.42 kB / 0.5845 GB, free: 8.484 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3976, allocations: 0 / 0.5845 GB, free: 8.484 MB / 430.1 MB Notification: Performance of Templates: time 0.02249/0.4201, allocations: 16.73 MB / 0.6009 GB, free: 7.758 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.602074957918376] Failed to read output from testmodel.py, exit status != 0: 0.42965242639184 0.445364154 0.10117147100000001 Calling exit ...