Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001117/0.001117, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008821/0.0008821, 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.9304/0.9304, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2286/0.2286, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.945e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006297/0.006316, allocations: 6.372 MB / 436.6 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.009016, allocations: 2.017 MB / 438.6 MB, free: 5.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.009306, allocations: 35.69 kB / 438.6 MB, free: 5.125 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.01042, allocations: 0.5014 MB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009936/0.01142, allocations: 0.5829 MB / 439.7 MB, free: 4.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.01209, allocations: 358.9 kB / 440.1 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.01312, allocations: 1.325 MB / 441.4 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.01365, allocations: 0.545 MB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006895/0.01434, allocations: 0.7442 MB / 442.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.015, allocations: 0.7054 MB / 443.4 MB, free: 352 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.0151, allocations: 108 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1719/0.187, allocations: 0.6061 MB / 444.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005586/0.1876, allocations: 0.5021 MB / 444.6 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.188, allocations: 393.7 kB / 445 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1892, allocations: 1.626 MB / 446.6 MB, free: 44.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1892, allocations: 1.812 kB / 446.6 MB, free: 44.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1892, allocations: 1.203 kB / 446.6 MB, free: 44.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1892, allocations: 0 / 446.6 MB, free: 44.43 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001754/0.191, allocations: 1.314 MB / 447.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.191, allocations: 13.73 kB / 448 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.1911, allocations: 144 kB / 448.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.1916, allocations: 186.7 kB / 448.3 MB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.1924, allocations: 0.6167 MB / 448.9 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.1926, allocations: 331.1 kB / 449.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.1927, allocations: 82.72 kB / 449.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.194, allocations: 1.414 MB / 450.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.194, allocations: 3.281 kB / 450.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.1941, allocations: 31.02 kB / 450.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.1942, allocations: 86.44 kB / 450.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.1957, allocations: 1.511 MB / 452.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.1995, allocations: 4.167 MB / 456.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2007, allocations: 1.121 MB / 457.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.2014, allocations: 0.7026 MB / 458.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.2015, allocations: 13.44 kB / 458.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2015, allocations: 41 kB / 458.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 3.647e-06/0.2015, allocations: 0 / 458.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.003983/0.2055, allocations: 3.645 MB / 462 MB, free: 39.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.2055, allocations: 88.05 kB / 462.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.2058, allocations: 404.4 kB / 462.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2059, allocations: 44.34 kB / 462.6 MB, free: 38.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.206, allocations: 351.2 kB / 462.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.2061, allocations: 367.3 kB / 463.3 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.2063, allocations: 156.5 kB / 463.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.2064, allocations: 378.1 kB / 463.8 MB, free: 37.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.2069, allocations: 0.5951 MB / 464.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.2076, allocations: 0.743 MB / 465.1 MB, free: 37.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2088, allocations: 1.383 MB / 466.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2088, allocations: 7.188 kB / 466.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001536/0.2104, allocations: 1.529 MB / 468 MB, free: 36.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2104, allocations: 6.375 kB / 468 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2104, allocations: 3.531 kB / 468 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.2105, allocations: 39.05 kB / 468.1 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2117, allocations: 0.4953 MB / 468.6 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.2147, allocations: 6.254 MB / 474.8 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.2153, allocations: 82.48 kB / 474.9 MB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.2153, allocations: 31.31 kB / 474.9 MB, free: 30.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000384/0.2157, allocations: 317.6 kB / 475.3 MB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2158, allocations: 69.25 kB / 475.3 MB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.2174, allocations: 1.517 MB / 476.8 MB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.2174, allocations: 29.22 kB / 476.9 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2174, allocations: 3.25 kB / 476.9 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2174, allocations: 3.281 kB / 476.9 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.22, allocations: 2.668 MB / 479.5 MB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.22, allocations: 3 kB / 479.5 MB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.2215, allocations: 0.5311 MB / 480.1 MB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.2216, allocations: 42.88 kB / 480.1 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.2216, allocations: 19.23 kB / 480.1 MB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005724/0.2222, allocations: 1.528 MB / 481.7 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2222, allocations: 6.25 kB / 481.7 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.2248, allocations: 2.462 MB / 484.1 MB, free: 26.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.225, allocations: 63.55 kB / 484.2 MB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.2251, allocations: 22.12 kB / 484.2 MB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.2254, allocations: 69.95 kB / 484.3 MB, free: 26.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2255, allocations: 92.42 kB / 484.4 MB, free: 26.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.2256, allocations: 25.17 kB / 484.4 MB, free: 26.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.2258, allocations: 279.6 kB / 484.7 MB, free: 26 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2258, allocations: 3.469 kB / 484.7 MB, free: 26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.2266, allocations: 237.4 kB / 484.9 MB, free: 25.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/0.2294, allocations: 3.065 MB / 488 MB, free: 24.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.232, allocations: 1.762 MB / 489.7 MB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.232, allocations: 1.156 kB / 489.7 MB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.2337, allocations: 1.133 MB / 490.9 MB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.2343, allocations: 150.9 kB / 491 MB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009967/0.2443, allocations: 8.859 MB / 499.9 MB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.2447, allocations: 487.9 kB / 0.4886 GB, free: 19.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005901/0.2453, allocations: 272.8 kB / 0.4889 GB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.2457, allocations: 289.2 kB / 0.4892 GB, free: 18.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2457, allocations: 0 / 0.4892 GB, free: 18.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.2819, allocations: 19.3 MB / 0.508 GB, free: 7.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.289, allocations: 2.812 kB / 0.508 GB, free: 7.559 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.408114958554506] Failed to read output from testmodel.py, exit status != 0: 8.387083537876606 8.395332258 8.204395342 Calling exit ...