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.001628/0.001628, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001557/0.001557, allocations: 211 kB / 23.73 MB, free: 4.387 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1865/0.1865, allocations: 38.56 MB / 352.5 MB, free: 12.39 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.002083/0.002083, allocations: 63.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008145/0.3156, allocations: 6.002 MB / 0.5478 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3183, allocations: 1.368 MB / 0.5491 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.3186, allocations: 34.97 kB / 0.5492 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.3191, allocations: 137.4 kB / 0.5493 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008683/0.32, allocations: 416.8 kB / 0.5497 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.3204, allocations: 197.8 kB / 0.5499 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3216, allocations: 1.079 MB / 0.5509 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.322, allocations: 224.7 kB / 0.5512 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.3227, allocations: 487.2 kB / 0.5516 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.3235, allocations: 0.5383 MB / 0.5521 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3237, allocations: 64.75 kB / 0.5522 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3238, allocations: 68.69 kB / 0.5523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.3241, allocations: 308.4 kB / 0.5526 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.3245, allocations: 302.4 kB / 0.5529 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000955/0.3254, allocations: 0.855 MB / 0.5537 GB, free: 7.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3254, allocations: 0 / 0.5537 GB, free: 7.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3254, allocations: 1.312 kB / 0.5537 GB, free: 7.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3255, allocations: 4 kB / 0.5537 GB, free: 7.684 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.002062/0.3275, allocations: 0.9556 MB / 0.5546 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3276, allocations: 13.42 kB / 0.5546 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.3277, allocations: 103.4 kB / 0.5547 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3279, allocations: 72.92 kB / 0.5548 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.329, allocations: 0.5113 MB / 0.5553 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.3292, allocations: 223.4 kB / 0.5555 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3293, allocations: 56 kB / 0.5556 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3308, allocations: 0.7655 MB / 0.5563 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3308, allocations: 11.94 kB / 0.5563 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.3309, allocations: 24 kB / 0.5564 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.331, allocations: 40.95 kB / 0.5564 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3325, allocations: 0.7181 MB / 0.5571 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.337, allocations: 2.425 MB / 0.5595 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3386, allocations: 0.6867 MB / 0.5601 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.3393, allocations: 373.4 kB / 0.5605 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.3393, allocations: 8.438 kB / 0.5605 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3394, allocations: 42.98 kB / 0.5605 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 6.052e-06/0.3394, allocations: 4 kB / 0.5605 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004324/0.3437, allocations: 1.847 MB / 0.5624 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.3438, allocations: 81.55 kB / 0.5624 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.3443, allocations: 397.9 kB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.3443, allocations: 41.64 kB / 0.5628 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3446, allocations: 289 kB / 0.5631 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3447, allocations: 190.4 kB / 0.5633 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3449, allocations: 98.33 kB / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3451, allocations: 358.8 kB / 0.5637 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.3456, allocations: 273.2 kB / 0.564 GB, free: 13.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.3463, allocations: 386 kB / 0.5644 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3475, allocations: 0.6489 MB / 0.565 GB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3475, allocations: 0 / 0.565 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001574/0.349, allocations: 0.7954 MB / 0.5658 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3491, allocations: 4 kB / 0.5658 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3491, allocations: 7.984 kB / 0.5658 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.3494, allocations: 73.67 kB / 0.5659 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.3509, allocations: 307.7 kB / 0.5662 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.3574, allocations: 6.11 MB / 0.5721 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.358, allocations: 39.95 kB / 0.5722 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.358, allocations: 24 kB / 0.5722 GB, free: 4.32 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.0003963/0.3584, allocations: 246.3 kB / 0.5724 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3585, allocations: 59.59 kB / 0.5725 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3601, allocations: 0.745 MB / 0.5732 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3601, allocations: 15.92 kB / 0.5732 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3601, allocations: 0 / 0.5732 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3601, allocations: 0 / 0.5732 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.3631, allocations: 1.519 MB / 0.5747 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3631, allocations: 4 kB / 0.5747 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.3648, allocations: 323.7 kB / 0.575 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.3651, allocations: 93.56 kB / 0.5751 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.3652, allocations: 8 kB / 0.5751 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.3676, allocations: 2.946 MB / 0.578 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.3676, allocations: 7.969 kB / 0.578 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.3699, allocations: 1.235 MB / 0.5792 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.37, allocations: 51.8 kB / 0.5793 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.3701, allocations: 23.92 kB / 0.5793 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.3705, allocations: 35.95 kB / 0.5793 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3706, allocations: 51.84 kB / 0.5794 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.3707, allocations: 16 kB / 0.5794 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003323/0.371, allocations: 279.1 kB / 0.5796 GB, free: 12.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.371, allocations: 0 / 0.5796 GB, free: 12.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006958/0.3717, allocations: 148 kB / 0.5798 GB, free: 12.17 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.002528/0.3742, allocations: 1.793 MB / 0.5815 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.377, allocations: 1.054 MB / 0.5826 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.377, allocations: 0 / 0.5826 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.3791, allocations: 0.794 MB / 0.5833 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.0008035/0.3799, allocations: 137.5 kB / 0.5835 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009768/0.3897, allocations: 5.73 MB / 0.5891 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3902, allocations: 336.9 kB / 0.5894 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004978/0.3907, allocations: 128.7 kB / 0.5895 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.3911, allocations: 203.4 kB / 0.5897 GB, free: 1.668 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3911, allocations: 3.938 kB / 0.5897 GB, free: 1.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07496/0.4661, allocations: 14.18 MB / 0.6035 GB, free: 3.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.78, allocations: 0 / 0.6035 GB, free: 3.723 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: 4087156. Could not SIGINT process: 4087157. Could not SIGINT process: 4087160. Could not SIGINT process: 4079787. [Calling os._exit(0), Time elapsed: 69.41376754501835] Failed to read output from testmodel.py, exit status != 0: 13.903831635136157 13.919649311 13.591020493 Calling exit ...