Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001171/0.001171, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.001307/0.001307, allocations: 170 kB / 23.95 MB, free: 0.5977 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.907/0.907, allocations: 177.1 MB / 204.2 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.2274/0.2274, allocations: 29.4 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 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.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.53e-05, allocations: 8.047 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005055/0.005081, allocations: 4.015 MB / 434.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.006212, allocations: 0.8335 MB / 435.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.006358, allocations: 15.88 kB / 435.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.006523, allocations: 51.5 kB / 435.1 MB, free: 8.668 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.006944, allocations: 166.9 kB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.007137, allocations: 91.73 kB / 435.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.007506, allocations: 414.2 kB / 435.8 MB, free: 8.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.007686, allocations: 66.7 kB / 435.8 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.008025, allocations: 251.2 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.008242, allocations: 159.5 kB / 436.2 MB, free: 7.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.008271, allocations: 20 kB / 436.3 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.008301, allocations: 20 kB / 436.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.008375, allocations: 91.72 kB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.008453, allocations: 103.7 kB / 436.5 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.008714, allocations: 290.9 kB / 436.8 MB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008717, allocations: 0 / 436.8 MB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008719, allocations: 4 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.008724, allocations: 3.938 kB / 436.8 MB, free: 7.012 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007452/0.009469, allocations: 0.5217 MB / 437.3 MB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.00951, allocations: 11.98 kB / 437.3 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.009558, allocations: 58.72 kB / 437.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.009608, allocations: 36.7 kB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.009979, allocations: 273.1 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.009994, allocations: 20.88 kB / 437.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.01007, allocations: 32.73 kB / 437.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.01036, allocations: 294.8 kB / 438 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.01037, allocations: 0 / 438 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.01039, allocations: 12 kB / 438 MB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01039, allocations: 4 kB / 438 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.01059, allocations: 187.5 kB / 438.2 MB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.01157, allocations: 1.195 MB / 439.4 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.0118, allocations: 115.8 kB / 439.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.01185, allocations: 50.62 kB / 439.6 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.01186, allocations: 0 / 439.6 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01189, allocations: 42.55 kB / 439.6 MB, free: 3.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.01189, allocations: 0 / 439.6 MB, free: 3.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006598/0.01255, allocations: 467.7 kB / 440.1 MB, free: 3.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.0126, allocations: 110.8 kB / 440.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01276, allocations: 241.9 kB / 440.4 MB, free: 3.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01278, allocations: 29.64 kB / 440.4 MB, free: 3.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.01287, allocations: 200.1 kB / 440.6 MB, free: 2.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.01289, allocations: 39.69 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.01295, allocations: 45.66 kB / 440.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.01304, allocations: 338.8 kB / 441 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.01309, allocations: 40.23 kB / 441.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.01318, allocations: 142.6 kB / 441.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.01335, allocations: 187.8 kB / 441.4 MB, free: 1.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01335, allocations: 0 / 441.4 MB, free: 1.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002772/0.01362, allocations: 226.1 kB / 441.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01364, allocations: 15.31 kB / 441.6 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01365, allocations: 15.92 kB / 441.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.706e-05/0.01374, allocations: 20.86 kB / 441.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01392, allocations: 63.88 kB / 441.7 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01393, allocations: 4 kB / 441.7 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.01399, allocations: 11.94 kB / 441.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.014, allocations: 8 kB / 441.8 MB, free: 1.609 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.01411, allocations: 153.7 kB / 441.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.01415, allocations: 23.86 kB / 441.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.01434, allocations: 151.3 kB / 442.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01434, allocations: 0 / 442.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01435, allocations: 0 / 442.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01435, allocations: 7.938 kB / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.01459, allocations: 240.6 kB / 442.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01459, allocations: 0 / 442.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.01467, allocations: 31.98 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01468, allocations: 0 / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01469, allocations: 7.938 kB / 442.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01469, allocations: 0 / 442.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01469, allocations: 4 kB / 442.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.01497, allocations: 367.4 kB / 442.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01499, allocations: 19.88 kB / 442.7 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01501, allocations: 8 kB / 442.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.01509, allocations: 0 / 442.8 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.01511, allocations: 15.92 kB / 442.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01512, allocations: 4 kB / 442.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01522, allocations: 173.2 kB / 442.9 MB, free: 348 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01522, allocations: 0 / 442.9 MB, free: 348 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.01545, allocations: 48 kB / 443 MB, free: 300 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1773/0.1927, allocations: 0.8847 MB / 443.9 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.1931, allocations: 127.2 kB / 444 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1931, allocations: 3.281 kB / 444 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.1931, allocations: 45.58 kB / 444 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1935, allocations: 70.56 kB / 444.1 MB, free: 53.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1953, allocations: 2.551 MB / 446.7 MB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.353e-05/0.1953, allocations: 161.9 kB / 446.8 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.1954, allocations: 31.83 kB / 446.9 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.1955, allocations: 90.16 kB / 446.9 MB, free: 51.87 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1955, allocations: 0 / 446.9 MB, free: 51.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.2204, allocations: 5.693 MB / 452.6 MB, free: 50.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.251, allocations: 5.812 kB / 452.6 MB, free: 50.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.249469753354788] Failed to read output from testmodel.py, exit status != 0: 7.338058855384588 7.3470351990000005 7.336787894 Calling exit ...