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.001406/0.001406, allocations: 73.7 kB / 21.24 MB, free: 0.543 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.001677/0.001677, allocations: 158.5 kB / 24.5 MB, free: 3.719 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: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.1749/0.1749, allocations: 29.43 MB / 290.7 MB, free: 3.238 MB / 270.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.00213/0.00213, allocations: 59.91 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 62.45 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005617/0.3682, allocations: 6.073 MB / 499.7 MB, free: 33.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3701, allocations: 1.402 MB / 0.4894 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.3703, allocations: 32.19 kB / 0.4894 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.3708, allocations: 147.5 kB / 0.4895 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006685/0.3714, allocations: 427.7 kB / 0.49 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.3719, allocations: 216.5 kB / 0.4902 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.3726, allocations: 1.121 MB / 0.4913 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3729, allocations: 217.3 kB / 0.4915 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.3734, allocations: 496 kB / 0.4919 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.374, allocations: 0.5548 MB / 0.4925 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.374, allocations: 66.62 kB / 0.4925 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3742, allocations: 69 kB / 0.4926 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.3744, allocations: 317.9 kB / 0.4929 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.3746, allocations: 314.1 kB / 0.4932 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.3752, allocations: 0.8824 MB / 0.4941 GB, free: 30.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3752, allocations: 0 / 0.4941 GB, free: 30.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3752, allocations: 0 / 0.4941 GB, free: 30.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3752, allocations: 0 / 0.4941 GB, free: 30.75 MB / 446.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.001596/0.3768, allocations: 0.9734 MB / 0.495 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.3769, allocations: 13.8 kB / 0.495 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.377, allocations: 76.16 kB / 0.4951 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.3778, allocations: 0.5179 MB / 0.4956 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.378, allocations: 228.4 kB / 0.4958 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.3781, allocations: 51.31 kB / 0.4959 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3791, allocations: 0.7803 MB / 0.4966 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3791, allocations: 3.25 kB / 0.4966 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.3792, allocations: 19.16 kB / 0.4967 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.944e-05/0.3793, allocations: 40.25 kB / 0.4967 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3804, allocations: 0.6892 MB / 0.4974 GB, free: 28.97 MB / 446.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.003115/0.3835, allocations: 2.411 MB / 0.4997 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.385, allocations: 0.7093 MB / 0.5004 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.3854, allocations: 309.3 kB / 0.5007 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3854, allocations: 6.656 kB / 0.5007 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.3855, allocations: 38.5 kB / 0.5008 GB, free: 27.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 1.833e-06/0.3855, allocations: 0 / 0.5008 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.003065/0.3885, allocations: 1.651 MB / 0.5024 GB, free: 26.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3886, allocations: 80.08 kB / 0.5024 GB, free: 26.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.3888, allocations: 395.1 kB / 0.5028 GB, free: 26.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3889, allocations: 32.48 kB / 0.5029 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.389, allocations: 321.6 kB / 0.5032 GB, free: 25.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.3891, allocations: 151.7 kB / 0.5033 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3892, allocations: 86.8 kB / 0.5034 GB, free: 25.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.3893, allocations: 359.7 kB / 0.5037 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.3897, allocations: 243.2 kB / 0.504 GB, free: 25.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.3901, allocations: 347.6 kB / 0.5043 GB, free: 24.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/0.391, allocations: 0.5793 MB / 0.5049 GB, free: 24.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.391, allocations: 3.312 kB / 0.5049 GB, free: 24.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.3922, allocations: 0.7008 MB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3923, allocations: 10.5 kB / 0.5056 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3923, allocations: 3.219 kB / 0.5056 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.3925, allocations: 74.83 kB / 0.5056 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.3939, allocations: 294.1 kB / 0.5059 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.3983, allocations: 6.006 MB / 0.5118 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.3987, allocations: 32.48 kB / 0.5118 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3987, allocations: 19.03 kB / 0.5118 GB, free: 18.93 MB / 446.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.0003222/0.399, allocations: 240.2 kB / 0.5121 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.3991, allocations: 52.3 kB / 0.5121 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4003, allocations: 0.6419 MB / 0.5127 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4003, allocations: 13.67 kB / 0.5127 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4003, allocations: 0 / 0.5127 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4003, allocations: 2.875 kB / 0.5127 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.4025, allocations: 1.257 MB / 0.514 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4025, allocations: 0 / 0.514 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.4041, allocations: 304 kB / 0.5143 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.4044, allocations: 88.7 kB / 0.5143 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.4044, allocations: 12.47 kB / 0.5144 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.4063, allocations: 2.899 MB / 0.5172 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4063, allocations: 1.375 kB / 0.5172 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.408, allocations: 1.05 MB / 0.5182 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.4081, allocations: 44.12 kB / 0.5183 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.4082, allocations: 12.38 kB / 0.5183 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.4085, allocations: 33.88 kB / 0.5183 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4086, allocations: 41.44 kB / 0.5183 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4086, allocations: 12.75 kB / 0.5184 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.4089, allocations: 264.2 kB / 0.5186 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4089, allocations: 0 / 0.5186 GB, free: 14.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007879/0.4097, allocations: 140 kB / 0.5187 GB, free: 14.43 MB / 446.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.0001487/0.4099, allocations: 106.5 kB / 0.5188 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.4123, allocations: 0.9679 MB / 0.5198 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4123, allocations: 1.375 kB / 0.5198 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.4142, allocations: 0.7124 MB / 0.5205 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.415, allocations: 129.6 kB / 0.5206 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4174, allocations: 1.437 MB / 0.522 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4178, allocations: 350.1 kB / 0.5223 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.4181, allocations: 96.81 kB / 0.5224 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4182, allocations: 41.39 kB / 0.5225 GB, free: 12.59 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4182, allocations: 3.938 kB / 0.5225 GB, free: 12.59 MB / 446.1 MB Notification: Performance of Templates: time 0.01562/0.4339, allocations: 7.26 MB / 0.5296 GB, free: 11.79 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2145204020198435] Failed to read output from testmodel.py, exit status != 0: 0.4420408000005409 0.45481165 0.076546323 Calling exit ...