Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001285/0.001285, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001491/0.001491, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2417/0.2417, 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.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",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.001943/0.001943, allocations: 67.89 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1097, allocations: 62.41 MB / 0.5367 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007386/0.1171, allocations: 5.578 MB / 0.5421 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1194, allocations: 1.394 MB / 0.5435 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1196, allocations: 27.75 kB / 0.5435 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.12, allocations: 139 kB / 0.5436 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008203/0.1209, allocations: 382.2 kB / 0.544 GB, free: 40 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1212, allocations: 151.7 kB / 0.5441 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008754/0.1221, allocations: 0.7826 MB / 0.5449 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.1224, allocations: 165.7 kB / 0.5451 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.1229, allocations: 358.5 kB / 0.5454 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.1234, allocations: 426.5 kB / 0.5458 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.1235, allocations: 40 kB / 0.5459 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.1236, allocations: 40 kB / 0.5459 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1238, allocations: 211.3 kB / 0.5461 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1241, allocations: 278.5 kB / 0.5464 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.1248, allocations: 0.5796 MB / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1248, allocations: 0 / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1248, allocations: 0 / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1248, allocations: 0 / 0.5469 GB, free: 13.03 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001607/0.1264, allocations: 0.9109 MB / 0.5478 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1264, allocations: 12.03 kB / 0.5478 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.1265, allocations: 82.7 kB / 0.5479 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1267, allocations: 60.56 kB / 0.548 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.1275, allocations: 0.5143 MB / 0.5485 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.1275, allocations: 37 kB / 0.5485 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.1276, allocations: 36 kB / 0.5485 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.1285, allocations: 0.5312 MB / 0.5491 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1285, allocations: 4 kB / 0.5491 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1285, allocations: 23.98 kB / 0.5491 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.1286, allocations: 20.94 kB / 0.5491 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.1292, allocations: 391.7 kB / 0.5495 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.1318, allocations: 1.928 MB / 0.5514 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.1324, allocations: 313 kB / 0.5517 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1328, allocations: 165.7 kB / 0.5518 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1328, allocations: 11.92 kB / 0.5518 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.1333, allocations: 276.3 kB / 0.5521 GB, free: 7.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.1333, allocations: 0 / 0.5521 GB, free: 7.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002042/0.1353, allocations: 1.209 MB / 0.5533 GB, free: 6.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.1354, allocations: 162.2 kB / 0.5534 GB, free: 5.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.1359, allocations: 393.9 kB / 0.5538 GB, free: 5.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1359, allocations: 33.7 kB / 0.5538 GB, free: 5.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1362, allocations: 304.4 kB / 0.5541 GB, free: 5.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1363, allocations: 126.9 kB / 0.5542 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1364, allocations: 90.2 kB / 0.5543 GB, free: 5.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1366, allocations: 358.8 kB / 0.5547 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.1368, allocations: 121 kB / 0.5548 GB, free: 4.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.1371, allocations: 286.1 kB / 0.5551 GB, free: 4.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.1378, allocations: 487.6 kB / 0.5555 GB, free: 3.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1378, allocations: 0 / 0.5555 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008094/0.1386, allocations: 0.5225 MB / 0.556 GB, free: 3.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.1386, allocations: 34.39 kB / 0.5561 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1386, allocations: 8 kB / 0.5561 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.1386, allocations: 12 kB / 0.5561 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.1391, allocations: 107.8 kB / 0.5562 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.1391, allocations: 11.94 kB / 0.5562 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1394, allocations: 19.98 kB / 0.5562 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.1394, allocations: 47.94 kB / 0.5563 GB, free: 2.836 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.1397, allocations: 247.2 kB / 0.5565 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.1398, allocations: 51.66 kB / 0.5566 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.1405, allocations: 455.5 kB / 0.557 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.1406, allocations: 7.984 kB / 0.557 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1406, allocations: 3.938 kB / 0.557 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1406, allocations: 0 / 0.557 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.142, allocations: 0.9787 MB / 0.558 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.142, allocations: 0 / 0.558 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.1423, allocations: 67.97 kB / 0.558 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1423, allocations: 4 kB / 0.558 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1423, allocations: 11.98 kB / 0.558 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1423, allocations: 4 kB / 0.558 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1423, allocations: 0 / 0.558 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.1433, allocations: 0.7115 MB / 0.5587 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1435, allocations: 136.8 kB / 0.5589 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.1435, allocations: 15.92 kB / 0.5589 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1437, allocations: 12 kB / 0.5589 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1438, allocations: 31.84 kB / 0.5589 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.1439, allocations: 36.02 kB / 0.559 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.1442, allocations: 275.2 kB / 0.5592 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1442, allocations: 0 / 0.5592 GB, free: 15.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.1446, allocations: 100 kB / 0.5593 GB, free: 15.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.00144/0.1461, allocations: 1.271 MB / 0.5606 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.1467, allocations: 375 kB / 0.5609 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1467, allocations: 1.438 kB / 0.5609 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.1471, allocations: 231.4 kB / 0.5611 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.1477, allocations: 104.4 kB / 0.5612 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.1529, allocations: 4.141 MB / 0.5653 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1534, allocations: 0.882 MB / 0.5661 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.1537, allocations: 84.31 kB / 0.5662 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.154, allocations: 175.4 kB / 0.5664 GB, free: 7.984 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.154, allocations: 0 / 0.5664 GB, free: 7.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.19, allocations: 8.775 MB / 0.575 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.106/9.296, allocations: 0 / 0.575 GB, free: 15.33 MB / 446.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.425771641996107] Failed to read output from testmodel.py, exit status != 0: 9.370801648998167 9.388720781 9.261078476 Calling exit ...