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.001727/0.001727, allocations: 123 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002125/0.002125, allocations: 203.3 kB / 20.75 MB, free: 2.277 MB / 14.72 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 1.601/1.601, allocations: 230.6 MB / 254.1 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] 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.187/0.187, allocations: 38.5 MB / 348.7 MB, free: 2.633 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 62.4 MB / 0.5367 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006669/0.1292, allocations: 4.129 MB / 0.5407 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.131, allocations: 0.8842 MB / 0.5416 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1312, allocations: 15.88 kB / 0.5416 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1314, allocations: 51.5 kB / 0.5416 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1319, allocations: 167 kB / 0.5418 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1321, allocations: 83.88 kB / 0.5419 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.1325, allocations: 398.5 kB / 0.5422 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1328, allocations: 94.25 kB / 0.5423 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.1331, allocations: 183.2 kB / 0.5425 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1334, allocations: 191.2 kB / 0.5427 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.1334, allocations: 23.98 kB / 0.5427 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.1335, allocations: 20 kB / 0.5427 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1336, allocations: 87.67 kB / 0.5428 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1337, allocations: 143.3 kB / 0.543 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.1341, allocations: 290.7 kB / 0.5432 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1341, allocations: 4 kB / 0.5432 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1341, allocations: 0 / 0.5432 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1341, allocations: 0 / 0.5432 GB, free: 0.8359 MB / 398.1 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.001142/0.1353, allocations: 0.6046 MB / 0.5438 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1353, allocations: 8.031 kB / 0.5438 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.9e-05/0.1354, allocations: 62.67 kB / 0.5439 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.1355, allocations: 32.75 kB / 0.5439 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.1361, allocations: 339.2 kB / 0.5442 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1361, allocations: 16.81 kB / 0.5443 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1362, allocations: 43.81 kB / 0.5443 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1367, allocations: 293.8 kB / 0.5446 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1367, allocations: 0 / 0.5446 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.1368, allocations: 12 kB / 0.5446 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1368, allocations: 7.938 kB / 0.5446 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.1371, allocations: 195.8 kB / 0.5448 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.1388, allocations: 1.261 MB / 0.546 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1391, allocations: 123.8 kB / 0.5461 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.1392, allocations: 42.62 kB / 0.5462 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1392, allocations: 4 kB / 0.5462 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1392, allocations: 42.53 kB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1392, allocations: 4 kB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001002/0.1402, allocations: 0.5321 MB / 0.5467 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.1403, allocations: 106.8 kB / 0.5468 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1406, allocations: 242.6 kB / 0.5471 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1406, allocations: 29.7 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1407, allocations: 200.3 kB / 0.5473 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1408, allocations: 51.56 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.1409, allocations: 41.7 kB / 0.5474 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.141, allocations: 334.8 kB / 0.5477 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.1411, allocations: 35.98 kB / 0.5477 GB, free: 11.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.1412, allocations: 128 kB / 0.5479 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.1415, allocations: 195.7 kB / 0.5481 GB, free: 11.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1415, allocations: 0 / 0.5481 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004549/0.142, allocations: 230 kB / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.142, allocations: 11.94 kB / 0.5483 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.142, allocations: 4.406 kB / 0.5483 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.1421, allocations: 32.78 kB / 0.5483 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.1425, allocations: 59.89 kB / 0.5484 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1425, allocations: 4 kB / 0.5484 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1426, allocations: 8 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1426, allocations: 12.08 kB / 0.5484 GB, free: 11.06 MB / 414.1 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.0001571/0.1428, allocations: 153.6 kB / 0.5485 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.1429, allocations: 31.86 kB / 0.5486 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.1432, allocations: 143.2 kB / 0.5487 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1432, allocations: 3.938 kB / 0.5487 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1432, allocations: 4 kB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1432, allocations: 4 kB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1436, allocations: 285.5 kB / 0.549 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1436, allocations: 0 / 0.549 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1438, allocations: 31.92 kB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1438, allocations: 0 / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1438, allocations: 8 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1438, allocations: 7.938 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1438, allocations: 0 / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.1442, allocations: 367.3 kB / 0.5494 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.1443, allocations: 105 kB / 0.5495 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1443, allocations: 0 / 0.5495 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1445, allocations: 11.94 kB / 0.5495 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1445, allocations: 12.05 kB / 0.5495 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1445, allocations: 4 kB / 0.5495 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1447, allocations: 166 kB / 0.5497 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 4 kB / 0.5497 GB, free: 9.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.145, allocations: 44 kB / 0.5497 GB, free: 9.605 MB / 414.1 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.0007233/0.1458, allocations: 0.8998 MB / 0.5506 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.1461, allocations: 205.7 kB / 0.5508 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1461, allocations: 0.875 kB / 0.5508 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1462, allocations: 55.89 kB / 0.5509 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.1468, allocations: 55.89 kB / 0.5509 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.1503, allocations: 2.631 MB / 0.5535 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1508, allocations: 0.7635 MB / 0.5542 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1509, allocations: 42.27 kB / 0.5543 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.151, allocations: 91.39 kB / 0.5543 GB, free: 4.621 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.151, allocations: 0 / 0.5543 GB, free: 4.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.1894, allocations: 4.9 MB / 0.5591 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.25, allocations: 3.938 kB / 0.5591 GB, free: 15.84 MB / 430.1 MB " [Timeout remaining time 650] (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: 13.378072730993154] Failed to read output from testmodel.py, exit status != 0: 10.343979655997828 10.364889093 10.226829546 Calling exit ...