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.0009269/0.0009269, allocations: 79.7 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.001029/0.001029, allocations: 174.3 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.8837/0.8837, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2288/0.2288, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.102e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005366/0.005387, allocations: 5.97 MB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.00762, allocations: 1.367 MB / 437.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.00805, allocations: 35.69 kB / 437.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.008573, allocations: 146.8 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.009482, allocations: 429.6 kB / 438.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.009966, allocations: 199.5 kB / 438.3 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.01125, allocations: 1.106 MB / 439.4 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.01169, allocations: 217.2 kB / 439.7 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.01282, allocations: 0.631 MB / 440.3 MB, free: 3.484 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.01352, allocations: 0.4987 MB / 440.8 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.01361, allocations: 68 kB / 440.8 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.01372, allocations: 64 kB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.014, allocations: 331.1 kB / 441.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.01428, allocations: 259.5 kB / 441.5 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.01542, allocations: 0.853 MB / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01543, allocations: 0 / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01543, allocations: 4 kB / 442.3 MB, free: 1.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.01544, allocations: 7.875 kB / 442.4 MB, free: 1.41 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.00131/0.01675, allocations: 0.9433 MB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.0168, allocations: 11.98 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.021e-05/0.01689, allocations: 102.7 kB / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.01697, allocations: 76.47 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1674/0.1843, allocations: 0.4972 MB / 444 MB, free: 54.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1845, allocations: 221.6 kB / 444.2 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.1845, allocations: 55.94 kB / 444.2 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.1854, allocations: 0.7787 MB / 445 MB, free: 54.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1854, allocations: 3.281 kB / 445 MB, free: 54.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1854, allocations: 19.28 kB / 445 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/0.1855, allocations: 34.27 kB / 445.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.1862, allocations: 0.7184 MB / 445.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1882, allocations: 2.423 MB / 448.2 MB, free: 52.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.189, allocations: 0.6889 MB / 448.9 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.1894, allocations: 377.7 kB / 449.3 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1894, allocations: 11.03 kB / 449.3 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1894, allocations: 41.48 kB / 449.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.795e-06/0.1894, allocations: 0 / 449.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002204/0.1916, allocations: 1.853 MB / 451.2 MB, free: 51.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1917, allocations: 81.47 kB / 451.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1919, allocations: 404.6 kB / 451.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1919, allocations: 36.92 kB / 451.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.192, allocations: 293.6 kB / 452 MB, free: 50.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.1921, allocations: 185.7 kB / 452.2 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.1922, allocations: 101.2 kB / 452.3 MB, free: 50.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.1923, allocations: 364.3 kB / 452.6 MB, free: 50.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1925, allocations: 271.5 kB / 452.9 MB, free: 50.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1928, allocations: 379.3 kB / 453.3 MB, free: 50.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1934, allocations: 0.6574 MB / 453.9 MB, free: 49.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1934, allocations: 3.438 kB / 453.9 MB, free: 49.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007692/0.1942, allocations: 0.7928 MB / 454.7 MB, free: 49.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1942, allocations: 12.5 kB / 454.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1942, allocations: 3.25 kB / 454.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.1944, allocations: 75.58 kB / 454.8 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.1951, allocations: 305.8 kB / 455.1 MB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.1977, allocations: 6.09 MB / 461.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1979, allocations: 53.89 kB / 461.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1979, allocations: 17.03 kB / 461.3 MB, free: 43.93 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.0002136/0.1981, allocations: 237.3 kB / 461.5 MB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1982, allocations: 56.36 kB / 461.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.1989, allocations: 0.7497 MB / 462.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1989, allocations: 10.17 kB / 462.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.1989, allocations: 0 / 462.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1989, allocations: 0 / 462.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.2003, allocations: 1.514 MB / 463.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2003, allocations: 10.16 kB / 463.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.2011, allocations: 328 kB / 464.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.2013, allocations: 92.38 kB / 464.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2013, allocations: 14.03 kB / 464.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009506/0.2022, allocations: 2.948 MB / 467.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2022, allocations: 3.125 kB / 467.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2033, allocations: 1.233 MB / 468.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.2033, allocations: 47.11 kB / 468.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2034, allocations: 18.19 kB / 468.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.2036, allocations: 37.7 kB / 468.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.2036, allocations: 52.56 kB / 468.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.2037, allocations: 9.562 kB / 468.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.2038, allocations: 289.1 kB / 468.9 MB, free: 39.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2038, allocations: 0 / 468.9 MB, free: 39.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.2043, allocations: 153.2 kB / 469 MB, free: 39.1 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.0012/0.2055, allocations: 1.785 MB / 470.8 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.2068, allocations: 1.06 MB / 471.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2068, allocations: 0 / 471.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.2078, allocations: 0.7834 MB / 472.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.2082, allocations: 139.5 kB / 472.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.2129, allocations: 5.628 MB / 478.4 MB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2132, allocations: 347.5 kB / 478.8 MB, free: 34.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.2134, allocations: 121.7 kB / 478.9 MB, free: 34.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.2136, allocations: 202.7 kB / 479.1 MB, free: 33.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2136, allocations: 0 / 479.1 MB, free: 33.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.2478, allocations: 14.32 MB / 493.4 MB, free: 31.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.207, allocations: 5.359 kB / 493.4 MB, free: 31.94 MB / 410.7 MB " [Timeout remaining time 652] (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: 10.059609931893647] Failed to read output from testmodel.py, exit status != 0: 8.302720942534506 8.312521917 8.295073864999999 Calling exit ...