Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008378/0.0008378, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009313/0.0009313, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9044/0.9044, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2231/0.2231, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.807e-05, allocations: 4.672 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005108/0.005126, allocations: 5.966 MB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.007108, allocations: 1.379 MB / 437.6 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.007429, allocations: 31.75 kB / 437.6 MB, free: 6.199 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.007851, allocations: 146.8 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.008491, allocations: 433.5 kB / 438.2 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.008841, allocations: 195.5 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008531/0.009694, allocations: 1.11 MB / 439.5 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.009983, allocations: 217.2 kB / 439.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.01069, allocations: 0.6271 MB / 440.3 MB, free: 3.477 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.01122, allocations: 0.4949 MB / 440.8 MB, free: 2.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.0113, allocations: 68 kB / 440.9 MB, free: 2.914 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.0114, allocations: 64 kB / 440.9 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.0116, allocations: 335.1 kB / 441.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.01179, allocations: 255.5 kB / 441.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.01258, allocations: 0.8606 MB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01258, allocations: 4 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01258, allocations: 0 / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.01259, allocations: 0 / 442.4 MB, free: 1.406 MB / 410.7 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.001346/0.01394, allocations: 0.9433 MB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.01398, allocations: 15.98 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.978e-05/0.01407, allocations: 98.7 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.01416, allocations: 80.45 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1702/0.1843, allocations: 0.4942 MB / 444 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.1845, allocations: 221.1 kB / 444.2 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1846, allocations: 56.72 kB / 444.3 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.1856, allocations: 0.7736 MB / 445 MB, free: 54.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1856, allocations: 1.484 kB / 445 MB, free: 54.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1857, allocations: 22.28 kB / 445.1 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.1858, allocations: 37.33 kB / 445.1 MB, free: 54.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.1867, allocations: 0.7226 MB / 445.8 MB, free: 54.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.189, allocations: 2.419 MB / 448.2 MB, free: 52.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.19, allocations: 0.6919 MB / 448.9 MB, free: 52.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.1904, allocations: 375.4 kB / 449.3 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1904, allocations: 6.656 kB / 449.3 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1904, allocations: 41.58 kB / 449.3 MB, free: 52.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.1904, allocations: 0 / 449.3 MB, free: 52.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002452/0.1929, allocations: 1.861 MB / 451.2 MB, free: 51.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1929, allocations: 84.27 kB / 451.3 MB, free: 51.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1932, allocations: 404.7 kB / 451.7 MB, free: 51.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1932, allocations: 37.86 kB / 451.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1934, allocations: 293 kB / 452 MB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.1935, allocations: 178.1 kB / 452.2 MB, free: 50.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.1935, allocations: 100.1 kB / 452.3 MB, free: 50.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.1936, allocations: 361.1 kB / 452.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1939, allocations: 276.3 kB / 452.9 MB, free: 50.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1942, allocations: 382.9 kB / 453.3 MB, free: 50.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.1949, allocations: 0.6545 MB / 453.9 MB, free: 49.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1949, allocations: 3.156 kB / 453.9 MB, free: 49.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008526/0.1958, allocations: 0.7955 MB / 454.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1958, allocations: 6.75 kB / 454.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.1958, allocations: 0 / 454.7 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.196, allocations: 76.41 kB / 454.8 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.1967, allocations: 311.1 kB / 455.1 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.1994, allocations: 6.091 MB / 461.2 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1996, allocations: 45.19 kB / 461.2 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1997, allocations: 18.66 kB / 461.3 MB, free: 43.98 MB / 410.7 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.0002208/0.1999, allocations: 245 kB / 461.5 MB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1999, allocations: 53.73 kB / 461.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.2007, allocations: 0.7425 MB / 462.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2007, allocations: 6 kB / 462.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2007, allocations: 4 kB / 462.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2007, allocations: 3.422 kB / 462.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2021, allocations: 1.525 MB / 463.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2021, allocations: 3.25 kB / 463.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.2029, allocations: 322.8 kB / 464.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.203, allocations: 88.5 kB / 464.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2031, allocations: 10.5 kB / 464.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009465/0.204, allocations: 2.951 MB / 467.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.204, allocations: 0 / 467.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2052, allocations: 1.241 MB / 468.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2052, allocations: 47.45 kB / 468.5 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.2053, allocations: 20.5 kB / 468.5 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2054, allocations: 37.64 kB / 468.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.2055, allocations: 46.97 kB / 468.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2055, allocations: 19.92 kB / 468.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.2057, allocations: 277.4 kB / 468.9 MB, free: 39.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2057, allocations: 0 / 468.9 MB, free: 39.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.2062, allocations: 148.7 kB / 469 MB, free: 39.15 MB / 410.7 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.001238/0.2074, allocations: 1.796 MB / 470.8 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.2088, allocations: 1.055 MB / 471.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2088, allocations: 0 / 471.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.2097, allocations: 0.7889 MB / 472.7 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2102, allocations: 133.2 kB / 472.8 MB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.215, allocations: 5.628 MB / 478.4 MB, free: 34.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2153, allocations: 342.7 kB / 478.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.2155, allocations: 128.1 kB / 478.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.2157, allocations: 200.7 kB / 479.1 MB, free: 33.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2157, allocations: 0 / 479.1 MB, free: 33.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.252, allocations: 14.34 MB / 493.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.463, allocations: 8.047 kB / 493.4 MB, free: 31.98 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.527273929677904] Failed to read output from testmodel.py, exit status != 0: 8.557884105481207 8.569045454 8.554623831 Calling exit ...