Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001252/0.001252, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002149/0.002149, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.1838/0.1838, allocations: 38.51 MB / 348.7 MB, free: 2.625 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.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.001952/0.001952, allocations: 63.91 kB / 487.1 MB, free: 22.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1267, allocations: 62.41 MB / 0.5367 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006237/0.1329, allocations: 4.117 MB / 0.5407 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1346, allocations: 0.9388 MB / 0.5416 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1348, allocations: 15.88 kB / 0.5416 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.135, allocations: 47.5 kB / 0.5417 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1355, allocations: 190.9 kB / 0.5419 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1358, allocations: 91.81 kB / 0.5419 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.1363, allocations: 398.5 kB / 0.5423 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.1365, allocations: 98.84 kB / 0.5424 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.1368, allocations: 187.2 kB / 0.5426 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.1372, allocations: 191.2 kB / 0.5428 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1372, allocations: 20 kB / 0.5428 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.1373, allocations: 20 kB / 0.5428 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1374, allocations: 99.7 kB / 0.5429 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1376, allocations: 139.3 kB / 0.543 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.138, allocations: 286.7 kB / 0.5433 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.138, allocations: 0 / 0.5433 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.138, allocations: 0 / 0.5433 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.138, allocations: 0 / 0.5433 GB, free: 0.6797 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.001195/0.1392, allocations: 0.6047 MB / 0.5439 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1393, allocations: 8.031 kB / 0.5439 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.665e-05/0.1393, allocations: 66.59 kB / 0.544 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1394, allocations: 32.75 kB / 0.544 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.14, allocations: 339.1 kB / 0.5443 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.14, allocations: 28.36 kB / 0.5444 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.1401, allocations: 20 kB / 0.5444 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.1406, allocations: 294.8 kB / 0.5447 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1406, allocations: 0 / 0.5447 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1406, allocations: 12 kB / 0.5447 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1406, allocations: 4 kB / 0.5447 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1409, allocations: 180.9 kB / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1425, allocations: 1.224 MB / 0.546 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1429, allocations: 105.2 kB / 0.5461 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.143, allocations: 41.77 kB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.143, allocations: 3.984 kB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.143, allocations: 38.56 kB / 0.5462 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.143, allocations: 0 / 0.5462 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009811/0.144, allocations: 497.7 kB / 0.5467 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.1441, allocations: 81.11 kB / 0.5468 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1444, allocations: 242.8 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1444, allocations: 37.7 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1446, allocations: 203.9 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1446, allocations: 35.69 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.1447, allocations: 49.66 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1449, allocations: 326.8 kB / 0.5476 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.145, allocations: 39.97 kB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1452, allocations: 136.8 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.1455, allocations: 184.7 kB / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1455, allocations: 0 / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003504/0.1459, allocations: 209.3 kB / 0.5482 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1459, allocations: 8 kB / 0.5482 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1459, allocations: 11.94 kB / 0.5482 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.1459, allocations: 4 kB / 0.5482 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1461, allocations: 47.91 kB / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1461, allocations: 4 kB / 0.5482 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1463, allocations: 11.94 kB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1463, allocations: 12 kB / 0.5483 GB, free: 11.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001711/0.1464, allocations: 162.1 kB / 0.5484 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.1465, allocations: 23.84 kB / 0.5484 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.1468, allocations: 131.3 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1468, allocations: 3.938 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1468, allocations: 4 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1468, allocations: 3.938 kB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.1474, allocations: 487.2 kB / 0.549 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1474, allocations: 4.031 kB / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1476, allocations: 20 kB / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1476, allocations: 4 kB / 0.5491 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1476, allocations: 11.92 kB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1476, allocations: 0 / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1476, allocations: 4 kB / 0.5491 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.148, allocations: 280.7 kB / 0.5494 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.148, allocations: 93 kB / 0.5494 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.1481, allocations: 11.94 kB / 0.5495 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1482, allocations: 3.984 kB / 0.5495 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1482, allocations: 11.98 kB / 0.5495 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1482, allocations: 4 kB / 0.5495 GB, free: 9.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1484, allocations: 174 kB / 0.5496 GB, free: 9.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 0.5496 GB, free: 9.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.1487, allocations: 44 kB / 0.5497 GB, free: 9.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0007282/0.1495, allocations: 0.8116 MB / 0.5505 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1497, allocations: 116.3 kB / 0.5506 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1497, allocations: 0 / 0.5506 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1498, allocations: 39.92 kB / 0.5506 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.1503, allocations: 58.92 kB / 0.5507 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.1535, allocations: 2.446 MB / 0.5531 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.154, allocations: 0.7714 MB / 0.5538 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1541, allocations: 34.27 kB / 0.5539 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1543, allocations: 83.41 kB / 0.5539 GB, free: 4.992 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1543, allocations: 0 / 0.5539 GB, free: 4.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.1868, allocations: 4.642 MB / 0.5585 GB, free: 476 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.598, allocations: 0 / 0.5585 GB, free: 476 kB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.552115786995273] Failed to read output from testmodel.py, exit status != 0: 8.671460951998597 8.697128199 8.554205614 Calling exit ...