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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 186.4 kB / 23.71 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 252.5 MB, free: 13 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.1919/0.1919, allocations: 38.52 MB / 346.3 MB, free: 2.094 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4063, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.009194/0.4155, allocations: 6.517 MB / 0.5394 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.4195, allocations: 1.466 MB / 0.5408 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005368/0.42, allocations: 37.75 kB / 0.5409 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.4206, allocations: 152.9 kB / 0.541 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.4218, allocations: 429.8 kB / 0.5414 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.4224, allocations: 218 kB / 0.5416 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.4241, allocations: 1.117 MB / 0.5427 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.4245, allocations: 217.6 kB / 0.5429 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.4255, allocations: 498.1 kB / 0.5434 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.4265, allocations: 0.5625 MB / 0.544 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.4266, allocations: 65.16 kB / 0.544 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.4268, allocations: 70.19 kB / 0.5441 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.4272, allocations: 319.3 kB / 0.5444 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.4276, allocations: 372.4 kB / 0.5447 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.4288, allocations: 0.8749 MB / 0.5456 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4288, allocations: 0 / 0.5456 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4288, allocations: 0 / 0.5456 GB, free: 12.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4288, allocations: 0 / 0.5456 GB, free: 12.53 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.002576/0.4314, allocations: 0.9801 MB / 0.5466 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.4314, allocations: 10.19 kB / 0.5466 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.4316, allocations: 82.09 kB / 0.5466 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4331, allocations: 0.5064 MB / 0.5471 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.4333, allocations: 123.5 kB / 0.5473 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4334, allocations: 53.22 kB / 0.5473 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4351, allocations: 0.7866 MB / 0.5481 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4351, allocations: 0 / 0.5481 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.4352, allocations: 25.42 kB / 0.5481 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.4353, allocations: 35.56 kB / 0.5481 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.4368, allocations: 0.6924 MB / 0.5488 GB, free: 10.39 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.005244/0.442, allocations: 2.654 MB / 0.5514 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.444, allocations: 0.7071 MB / 0.5521 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.4447, allocations: 310.3 kB / 0.5524 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.4447, allocations: 12.03 kB / 0.5524 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.4448, allocations: 39.84 kB / 0.5524 GB, free: 7.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/0.4448, allocations: 1.469 kB / 0.5524 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.00461/0.4494, allocations: 1.642 MB / 0.554 GB, free: 6.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.4495, allocations: 89.08 kB / 0.5541 GB, free: 6.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/0.4501, allocations: 433.8 kB / 0.5545 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.4501, allocations: 41.64 kB / 0.5546 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.4505, allocations: 312.9 kB / 0.5549 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4506, allocations: 150.7 kB / 0.555 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.4509, allocations: 86.14 kB / 0.5551 GB, free: 5.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.4511, allocations: 358.8 kB / 0.5554 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.4517, allocations: 240.8 kB / 0.5557 GB, free: 4.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.4523, allocations: 349.7 kB / 0.556 GB, free: 4.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4535, allocations: 0.5742 MB / 0.5566 GB, free: 3.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4535, allocations: 0 / 0.5566 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001474/0.4549, allocations: 0.7133 MB / 0.5573 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.455, allocations: 8 kB / 0.5573 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.455, allocations: 4 kB / 0.5573 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.4552, allocations: 73.66 kB / 0.5573 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.4568, allocations: 291.7 kB / 0.5576 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.4638, allocations: 6.102 MB / 0.5636 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.4643, allocations: 35.97 kB / 0.5636 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.4644, allocations: 24.12 kB / 0.5636 GB, free: 11.89 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.0004314/0.4648, allocations: 245.5 kB / 0.5639 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4649, allocations: 47.72 kB / 0.5639 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4664, allocations: 0.6584 MB / 0.5646 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4665, allocations: 4 kB / 0.5646 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4665, allocations: 0 / 0.5646 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4665, allocations: 0 / 0.5646 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.4694, allocations: 1.399 MB / 0.5659 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4694, allocations: 4 kB / 0.5659 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.4712, allocations: 295.6 kB / 0.5662 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/0.4715, allocations: 97.52 kB / 0.5663 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.4716, allocations: 11.98 kB / 0.5663 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.4744, allocations: 2.946 MB / 0.5692 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4744, allocations: 3.938 kB / 0.5692 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.4766, allocations: 1.055 MB / 0.5702 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4768, allocations: 43.67 kB / 0.5703 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/0.4769, allocations: 12.05 kB / 0.5703 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.4773, allocations: 31.95 kB / 0.5703 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4774, allocations: 47.86 kB / 0.5704 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.4774, allocations: 8 kB / 0.5704 GB, free: 4.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.4778, allocations: 303.1 kB / 0.5707 GB, free: 4.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4778, allocations: 0 / 0.5707 GB, free: 4.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007443/0.4786, allocations: 140 kB / 0.5708 GB, free: 4.211 MB / 414.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.0001632/0.4787, allocations: 110.2 kB / 0.5709 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.4817, allocations: 0.9694 MB / 0.5718 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4817, allocations: 0 / 0.5718 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.4838, allocations: 0.712 MB / 0.5725 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.4848, allocations: 132.8 kB / 0.5727 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.4883, allocations: 1.452 MB / 0.5741 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.4894, allocations: 0.9525 MB / 0.575 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.4899, allocations: 100.5 kB / 0.5751 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.4901, allocations: 43.42 kB / 0.5752 GB, free: 15.63 MB / 430.1 MB Notification: Performance of SimCode: time 2.445e-06/0.4901, allocations: 0 / 0.5752 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Templates: time 0.02151/0.5116, allocations: 8.15 MB / 0.5831 GB, free: 7.543 MB / 430.1 MB " [Timeout remaining time 659] 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: 5.547578017227352] Failed to read output from testmodel.py, exit status != 0: 0.5218635210767388 0.537879262 0.105715131 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1e877717b0>