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.001267/0.001267, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001406/0.001406, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.53 MB / 353.2 MB, free: 12.52 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.001979/0.001979, allocations: 71.89 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 62.46 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009144/0.3285, allocations: 6.438 MB / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.3316, allocations: 1.464 MB / 0.5509 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.332, allocations: 30.97 kB / 0.551 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.3325, allocations: 145.3 kB / 0.5511 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.3335, allocations: 420 kB / 0.5515 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.334, allocations: 186 kB / 0.5517 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3353, allocations: 1.095 MB / 0.5528 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.3357, allocations: 225.9 kB / 0.553 GB, free: 9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.3366, allocations: 482.4 kB / 0.5534 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.3376, allocations: 0.5538 MB / 0.554 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3377, allocations: 64.19 kB / 0.554 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3378, allocations: 69.38 kB / 0.5541 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.3382, allocations: 320 kB / 0.5544 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.3386, allocations: 361.4 kB / 0.5548 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3397, allocations: 0.8492 MB / 0.5556 GB, free: 7.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3397, allocations: 0 / 0.5556 GB, free: 7.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3397, allocations: 0.9375 kB / 0.5556 GB, free: 7.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3397, allocations: 0 / 0.5556 GB, free: 7.379 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.00213/0.3419, allocations: 0.952 MB / 0.5565 GB, free: 6.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3419, allocations: 12.77 kB / 0.5565 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.3421, allocations: 76.61 kB / 0.5566 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3432, allocations: 0.5123 MB / 0.5571 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.3435, allocations: 227.6 kB / 0.5573 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3436, allocations: 48 kB / 0.5574 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.345, allocations: 0.781 MB / 0.5581 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.345, allocations: 0 / 0.5581 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.3451, allocations: 20 kB / 0.5581 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.3452, allocations: 40.97 kB / 0.5582 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.3468, allocations: 0.7181 MB / 0.5589 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.351, allocations: 2.557 MB / 0.5614 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.3527, allocations: 0.6906 MB / 0.5621 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/0.3534, allocations: 371.4 kB / 0.5624 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.3534, allocations: 12.42 kB / 0.5624 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3534, allocations: 39 kB / 0.5625 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.3534, allocations: 0 / 0.5625 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004275/0.3577, allocations: 1.847 MB / 0.5643 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3578, allocations: 89.48 kB / 0.5644 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.3583, allocations: 397.9 kB / 0.5647 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.3584, allocations: 41.73 kB / 0.5648 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3586, allocations: 289 kB / 0.565 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.3588, allocations: 186.4 kB / 0.5652 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.359, allocations: 98.3 kB / 0.5653 GB, free: 13.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.3592, allocations: 358.8 kB / 0.5657 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3598, allocations: 273.1 kB / 0.5659 GB, free: 12.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.3604, allocations: 382 kB / 0.5663 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3616, allocations: 0.6489 MB / 0.5669 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3617, allocations: 4 kB / 0.5669 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001648/0.3633, allocations: 0.7993 MB / 0.5677 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3633, allocations: 8 kB / 0.5677 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3633, allocations: 0 / 0.5677 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3637, allocations: 77.83 kB / 0.5678 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.3651, allocations: 315.5 kB / 0.5681 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.3719, allocations: 6.114 MB / 0.5741 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/0.3725, allocations: 47.88 kB / 0.5741 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.3726, allocations: 20 kB / 0.5741 GB, free: 3.859 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.0004878/0.373, allocations: 233.7 kB / 0.5743 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3732, allocations: 51.67 kB / 0.5744 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.3749, allocations: 0.7489 MB / 0.5751 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3749, allocations: 8 kB / 0.5751 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3749, allocations: 7.938 kB / 0.5751 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3749, allocations: 3.984 kB / 0.5751 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.3782, allocations: 1.578 MB / 0.5767 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3782, allocations: 4 kB / 0.5767 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.3798, allocations: 323.8 kB / 0.577 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.3801, allocations: 97.52 kB / 0.5771 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.3801, allocations: 15.98 kB / 0.5771 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.383, allocations: 2.954 MB / 0.58 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.383, allocations: 4.031 kB / 0.58 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3855, allocations: 1.239 MB / 0.5812 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.3857, allocations: 51.7 kB / 0.5813 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3858, allocations: 11.94 kB / 0.5813 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.3862, allocations: 43.95 kB / 0.5813 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3864, allocations: 51.84 kB / 0.5814 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3864, allocations: 16 kB / 0.5814 GB, free: 12.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.3868, allocations: 279.1 kB / 0.5816 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 0.5816 GB, free: 11.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008105/0.3876, allocations: 144 kB / 0.5818 GB, free: 11.65 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.0001927/0.3878, allocations: 119.1 kB / 0.5819 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.3907, allocations: 1.053 MB / 0.5829 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3907, allocations: 4.375 kB / 0.5829 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.3927, allocations: 0.7783 MB / 0.5837 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.3937, allocations: 142.7 kB / 0.5838 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.3974, allocations: 1.678 MB / 0.5855 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.3981, allocations: 0.933 MB / 0.5864 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.3983, allocations: 47.44 kB / 0.5864 GB, free: 6.766 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3983, allocations: 0 / 0.5864 GB, free: 6.766 MB / 430.1 MB Notification: Performance of Templates: time 0.02415/0.4224, allocations: 16.82 MB / 0.6028 GB, free: 5.965 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.21683498006314] Failed to read output from testmodel.py, exit status != 0: 0.43281514709815383 0.449404742 0.10619389200000001 Calling exit ...