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.0008088/0.0008088, 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.001014/0.001014, allocations: 174 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.9231/0.9231, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2496/0.2496, allocations: 29.4 MB / 290.1 MB, free: 2.445 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 2.485e-06/2.485e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.538e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007264/0.00729, allocations: 5.97 MB / 436.2 MB, free: 7.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.009787, allocations: 1.371 MB / 437.6 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.01011, allocations: 31.75 kB / 437.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.01055, allocations: 150.7 kB / 437.7 MB, free: 6.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00074/0.01129, allocations: 429.5 kB / 438.1 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.01169, allocations: 199.5 kB / 438.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.01272, allocations: 1.106 MB / 439.4 MB, free: 4.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.01302, allocations: 213.2 kB / 439.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.01379, allocations: 0.631 MB / 440.3 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.01441, allocations: 0.5027 MB / 440.8 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.01449, allocations: 68 kB / 440.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.0146, allocations: 64 kB / 440.9 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.01484, allocations: 327.2 kB / 441.2 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.01507, allocations: 255.5 kB / 441.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.01583, allocations: 0.8646 MB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.01584, allocations: 0 / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01584, allocations: 0 / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.01586, allocations: 3.938 kB / 442.4 MB, free: 1.398 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.001478/0.01734, allocations: 0.9433 MB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.01738, allocations: 11.98 kB / 443.3 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.182e-05/0.01747, allocations: 98.7 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.01758, allocations: 76.47 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1976/0.2152, allocations: 0.5016 MB / 444 MB, free: 54.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.2153, allocations: 222.2 kB / 444.2 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.2154, allocations: 57.44 kB / 444.3 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.2163, allocations: 0.7747 MB / 445 MB, free: 54.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2163, allocations: 3.219 kB / 445 MB, free: 54.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.2163, allocations: 19.16 kB / 445.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.565e-05/0.2164, allocations: 33.81 kB / 445.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.2172, allocations: 0.7257 MB / 445.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2192, allocations: 2.423 MB / 448.2 MB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.2201, allocations: 0.6897 MB / 448.9 MB, free: 52.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.2204, allocations: 381.2 kB / 449.3 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.2204, allocations: 7.094 kB / 449.3 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2204, allocations: 41.42 kB / 449.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.2205, allocations: 0 / 449.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002208/0.2227, allocations: 1.847 MB / 451.2 MB, free: 51.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2227, allocations: 88.67 kB / 451.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2229, allocations: 401.1 kB / 451.7 MB, free: 51.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.223, allocations: 36.95 kB / 451.7 MB, free: 51.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.223, allocations: 292.5 kB / 452 MB, free: 50.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.2231, allocations: 185.7 kB / 452.2 MB, free: 50.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.2232, allocations: 102.4 kB / 452.3 MB, free: 50.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.2232, allocations: 357.3 kB / 452.6 MB, free: 50.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.2235, allocations: 272.6 kB / 452.9 MB, free: 50.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.2238, allocations: 385.6 kB / 453.3 MB, free: 50.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.2244, allocations: 0.6563 MB / 453.9 MB, free: 49.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2244, allocations: 2.078 kB / 453.9 MB, free: 49.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007641/0.2252, allocations: 0.7959 MB / 454.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2252, allocations: 10.34 kB / 454.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2252, allocations: 3.031 kB / 454.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.2254, allocations: 74.44 kB / 454.8 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.2261, allocations: 308.1 kB / 455.1 MB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.2286, allocations: 6.089 MB / 461.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2287, allocations: 47.48 kB / 461.2 MB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2288, allocations: 20.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.0001634/0.2289, allocations: 236.6 kB / 461.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.229, allocations: 49.97 kB / 461.5 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/0.2297, allocations: 0.7589 MB / 462.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.2297, allocations: 6.625 kB / 462.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2297, allocations: 0 / 462.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2297, allocations: 3.375 kB / 462.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2311, allocations: 1.518 MB / 463.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2311, allocations: 3.062 kB / 463.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.2318, allocations: 323.2 kB / 464.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.232, allocations: 96.2 kB / 464.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.232, allocations: 17.75 kB / 464.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008593/0.2329, allocations: 2.943 MB / 467.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2329, allocations: 0 / 467.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2339, allocations: 1.244 MB / 468.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.234, allocations: 47.95 kB / 468.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.234, allocations: 18.06 kB / 468.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2342, allocations: 34.62 kB / 468.5 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2343, allocations: 52.06 kB / 468.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2343, allocations: 13.12 kB / 468.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2344, allocations: 283.6 kB / 468.9 MB, free: 39.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2344, allocations: 0 / 468.9 MB, free: 39.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.2348, allocations: 149.7 kB / 469 MB, free: 39.09 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.001225/0.236, allocations: 1.784 MB / 470.8 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.2374, allocations: 1.059 MB / 471.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2374, allocations: 0 / 471.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.2383, allocations: 0.7895 MB / 472.7 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2387, allocations: 140 kB / 472.8 MB, free: 37.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.2433, allocations: 5.629 MB / 478.4 MB, free: 34.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.2435, allocations: 342.8 kB / 478.8 MB, free: 34.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.2437, allocations: 126.9 kB / 478.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2439, allocations: 198.2 kB / 479.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2439, allocations: 0 / 479.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.2795, allocations: 14.33 MB / 493.4 MB, free: 31.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.314, allocations: 4.062 kB / 493.4 MB, free: 31.93 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 & 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] [Calling os._exit(0), Time elapsed: 10.412122291512787] Failed to read output from testmodel.py, exit status != 0: 8.411163221113384 8.421002978 8.403389966 Calling exit ...