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.001321/0.001321, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001536/0.001536, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.459/1.459, allocations: 230.6 MB / 257.5 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.2018/0.2018, allocations: 38.54 MB / 352.5 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",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.002033/0.002033, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 62.46 MB / 0.5419 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009212/0.3691, allocations: 6.002 MB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.3724, allocations: 1.371 MB / 0.5491 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.3729, allocations: 29.88 kB / 0.5492 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.3735, allocations: 138.3 kB / 0.5493 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3746, allocations: 416 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3752, allocations: 198.1 kB / 0.5499 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3766, allocations: 1.081 MB / 0.5509 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.3771, allocations: 231.7 kB / 0.5512 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.3779, allocations: 487.2 kB / 0.5516 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008996/0.3788, allocations: 0.5612 MB / 0.5522 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.379, allocations: 65.59 kB / 0.5522 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3791, allocations: 64.38 kB / 0.5523 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.3795, allocations: 320.1 kB / 0.5526 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.3799, allocations: 302.3 kB / 0.5529 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.381, allocations: 0.8481 MB / 0.5537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.381, allocations: 0 / 0.5537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.381, allocations: 0 / 0.5537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.381, allocations: 0 / 0.5537 GB, free: 7.863 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.00228/0.3833, allocations: 0.9605 MB / 0.5547 GB, free: 7.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.3833, allocations: 12.92 kB / 0.5547 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.3835, allocations: 103.1 kB / 0.5548 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.3837, allocations: 73.55 kB / 0.5548 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3849, allocations: 0.5112 MB / 0.5553 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.3852, allocations: 223.4 kB / 0.5556 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3853, allocations: 52 kB / 0.5556 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.3869, allocations: 0.7733 MB / 0.5564 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3869, allocations: 0 / 0.5564 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.3869, allocations: 20 kB / 0.5564 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.3871, allocations: 40.97 kB / 0.5564 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3886, allocations: 0.7142 MB / 0.5571 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.3931, allocations: 2.429 MB / 0.5595 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3948, allocations: 0.6894 MB / 0.5602 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.3956, allocations: 371.4 kB / 0.5605 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.3956, allocations: 12.31 kB / 0.5605 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3957, allocations: 43 kB / 0.5606 GB, free: 1.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.3957, allocations: 3.938 kB / 0.5606 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004551/0.4002, allocations: 1.859 MB / 0.5624 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.4003, allocations: 81.55 kB / 0.5625 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.4008, allocations: 397.9 kB / 0.5628 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.4008, allocations: 37.7 kB / 0.5629 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4011, allocations: 293 kB / 0.5632 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.4012, allocations: 190.4 kB / 0.5633 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4014, allocations: 94.34 kB / 0.5634 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4016, allocations: 358.8 kB / 0.5638 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.4022, allocations: 277.1 kB / 0.564 GB, free: 13.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.4029, allocations: 389.9 kB / 0.5644 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4041, allocations: 0.645 MB / 0.565 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4041, allocations: 0 / 0.565 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001854/0.406, allocations: 0.7954 MB / 0.5658 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.406, allocations: 4 kB / 0.5658 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.406, allocations: 4 kB / 0.5658 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.4063, allocations: 77.66 kB / 0.5659 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.408, allocations: 307.7 kB / 0.5662 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.4155, allocations: 6.114 MB / 0.5722 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.4161, allocations: 39.95 kB / 0.5722 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.4162, allocations: 20 kB / 0.5722 GB, free: 4.469 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.0005336/0.4167, allocations: 233.7 kB / 0.5724 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4168, allocations: 55.83 kB / 0.5725 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.4185, allocations: 0.7527 MB / 0.5732 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.4186, allocations: 7.984 kB / 0.5732 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4186, allocations: 4 kB / 0.5732 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4186, allocations: 4 kB / 0.5732 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.4217, allocations: 1.512 MB / 0.5747 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.4217, allocations: 7.938 kB / 0.5747 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.4235, allocations: 327.7 kB / 0.575 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.4237, allocations: 81.64 kB / 0.5751 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.4238, allocations: 15.98 kB / 0.5751 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.4267, allocations: 2.95 MB / 0.578 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4267, allocations: 4.031 kB / 0.578 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.429, allocations: 1.235 MB / 0.5792 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.4293, allocations: 51.7 kB / 0.5793 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.4293, allocations: 11.94 kB / 0.5793 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.4297, allocations: 43.95 kB / 0.5793 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.4299, allocations: 51.84 kB / 0.5794 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4299, allocations: 16 kB / 0.5794 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000413/0.4303, allocations: 283.1 kB / 0.5797 GB, free: 12.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4303, allocations: 0 / 0.5797 GB, free: 12.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007936/0.4311, allocations: 148 kB / 0.5798 GB, free: 12.33 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.002754/0.4339, allocations: 1.795 MB / 0.5816 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.4368, allocations: 1.057 MB / 0.5826 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4368, allocations: 0 / 0.5826 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.4391, allocations: 0.7863 MB / 0.5834 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.4401, allocations: 146.6 kB / 0.5835 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4507, allocations: 5.73 MB / 0.5891 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4511, allocations: 344.8 kB / 0.5894 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004586/0.4516, allocations: 124.7 kB / 0.5895 GB, free: 2.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.4519, allocations: 199.4 kB / 0.5897 GB, free: 1.824 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4519, allocations: 0 / 0.5897 GB, free: 1.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.5064, allocations: 14.37 MB / 0.6038 GB, free: 3.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.81, allocations: 4.062 kB / 0.6038 GB, free: 3.688 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] Could not SIGINT process: 4168468. Could not SIGINT process: 4168472. Could not SIGINT process: 4168475. Could not SIGINT process: 4161668. [Calling os._exit(0), Time elapsed: 69.38641700596781] Failed to read output from testmodel.py, exit status != 0: 13.942203700018581 13.959363084 13.575150423 Calling exit ...