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.001815/0.001815, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002174/0.002174, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.536/1.536, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1907/0.1907, allocations: 38.55 MB / 353.2 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [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.002087/0.002087, allocations: 55.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008637/0.3478, allocations: 5.993 MB / 0.5486 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3505, allocations: 1.368 MB / 0.5499 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.3508, allocations: 30.31 kB / 0.5499 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.3513, allocations: 137.2 kB / 0.5501 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.3522, allocations: 417.6 kB / 0.5505 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.3526, allocations: 198.1 kB / 0.5506 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.3538, allocations: 1.086 MB / 0.5517 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.3542, allocations: 226 kB / 0.5519 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.355, allocations: 486.8 kB / 0.5524 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.3558, allocations: 0.5642 MB / 0.5529 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3559, allocations: 65.53 kB / 0.553 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3561, allocations: 64.62 kB / 0.5531 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.3564, allocations: 312.8 kB / 0.5534 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.3568, allocations: 309.4 kB / 0.5536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.3577, allocations: 0.8479 MB / 0.5545 GB, free: 7.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3577, allocations: 0 / 0.5545 GB, free: 7.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3577, allocations: 0 / 0.5545 GB, free: 7.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3577, allocations: 1.312 kB / 0.5545 GB, free: 7.66 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.002065/0.3598, allocations: 0.9593 MB / 0.5554 GB, free: 6.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3599, allocations: 13.73 kB / 0.5554 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.355e-05/0.3599, allocations: 14.56 kB / 0.5554 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.36, allocations: 98.95 kB / 0.5555 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.3601, allocations: 72.27 kB / 0.5556 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3612, allocations: 0.5149 MB / 0.5561 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3614, allocations: 219.5 kB / 0.5563 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3615, allocations: 56 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.363, allocations: 0.7772 MB / 0.5571 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.363, allocations: 0 / 0.5571 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.3631, allocations: 20 kB / 0.5571 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.3632, allocations: 36.97 kB / 0.5572 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.3647, allocations: 0.722 MB / 0.5579 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.3686, allocations: 2.436 MB / 0.5603 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3702, allocations: 0.6789 MB / 0.5609 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.3709, allocations: 377.4 kB / 0.5613 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.371, allocations: 8.375 kB / 0.5613 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.371, allocations: 42.94 kB / 0.5613 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/0.371, allocations: 0 / 0.5613 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004205/0.3752, allocations: 1.859 MB / 0.5632 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3753, allocations: 85.55 kB / 0.5632 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.3758, allocations: 394 kB / 0.5636 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.3758, allocations: 37.7 kB / 0.5636 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.376, allocations: 289 kB / 0.5639 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3762, allocations: 190.4 kB / 0.5641 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.3764, allocations: 98.3 kB / 0.5642 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3766, allocations: 362.8 kB / 0.5645 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.3772, allocations: 273.2 kB / 0.5648 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.3778, allocations: 382 kB / 0.5652 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.379, allocations: 0.6489 MB / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.379, allocations: 0 / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001563/0.3806, allocations: 0.8032 MB / 0.5666 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3806, allocations: 4 kB / 0.5666 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3806, allocations: 4 kB / 0.5666 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.3809, allocations: 73.67 kB / 0.5667 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.3824, allocations: 307.7 kB / 0.567 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.3889, allocations: 6.11 MB / 0.5729 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.3895, allocations: 43.95 kB / 0.573 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.3895, allocations: 20 kB / 0.573 GB, free: 4.301 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.0003775/0.3899, allocations: 240.6 kB / 0.5732 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.39, allocations: 55.67 kB / 0.5733 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3916, allocations: 0.745 MB / 0.574 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3916, allocations: 4 kB / 0.574 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3916, allocations: 4 kB / 0.574 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3916, allocations: 7.984 kB / 0.574 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.3945, allocations: 1.515 MB / 0.5755 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3945, allocations: 4 kB / 0.5755 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.3961, allocations: 331.7 kB / 0.5758 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.3964, allocations: 89.58 kB / 0.5759 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.3965, allocations: 8 kB / 0.5759 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.3992, allocations: 2.95 MB / 0.5788 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3992, allocations: 4.031 kB / 0.5788 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.4013, allocations: 1.239 MB / 0.58 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4015, allocations: 51.61 kB / 0.5801 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.4016, allocations: 12 kB / 0.5801 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.4019, allocations: 43.89 kB / 0.5801 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4021, allocations: 55.84 kB / 0.5802 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.4021, allocations: 12 kB / 0.5802 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00039/0.4025, allocations: 279.1 kB / 0.5804 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 0 / 0.5804 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007801/0.4033, allocations: 148 kB / 0.5806 GB, free: 12.16 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.002558/0.4058, allocations: 1.797 MB / 0.5823 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.4086, allocations: 1.057 MB / 0.5834 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4086, allocations: 0 / 0.5834 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.4106, allocations: 0.7785 MB / 0.5841 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.4114, allocations: 144.4 kB / 0.5843 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.4211, allocations: 5.738 MB / 0.5899 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4215, allocations: 336.9 kB / 0.5902 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004332/0.4219, allocations: 132.7 kB / 0.5903 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.4223, allocations: 199.4 kB / 0.5905 GB, free: 1.652 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4223, allocations: 0 / 0.5905 GB, free: 1.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.4665, allocations: 13.98 MB / 0.6042 GB, free: 3.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.14, allocations: 11.41 kB / 0.6042 GB, free: 3.922 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.1118672080338] Failed to read output from testmodel.py, exit status != 0: 15.325933235930279 15.348525115 14.986299339 Calling exit ...