Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001684/0.001684, allocations: 123 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.002222/0.002222, 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2003/0.2003, allocations: 38.51 MB / 348.7 MB, free: 2.574 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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.002059/0.002059, allocations: 63.91 kB / 487.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1443, allocations: 62.42 MB / 0.5367 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.007034/0.1514, allocations: 4.383 MB / 0.541 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1535, allocations: 0.97 MB / 0.5419 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1537, allocations: 19.81 kB / 0.5419 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1539, allocations: 55.48 kB / 0.542 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.1546, allocations: 246.8 kB / 0.5422 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1549, allocations: 95.81 kB / 0.5423 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.1555, allocations: 0.4984 MB / 0.5428 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.1558, allocations: 123.8 kB / 0.5429 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.1562, allocations: 239.1 kB / 0.5431 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.1567, allocations: 287 kB / 0.5434 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.1567, allocations: 24 kB / 0.5434 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.1568, allocations: 24 kB / 0.5435 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1569, allocations: 147.6 kB / 0.5436 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1571, allocations: 183.1 kB / 0.5438 GB, free: 348 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.1577, allocations: 362.5 kB / 0.5441 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1577, allocations: 0 / 0.5441 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1577, allocations: 3.938 kB / 0.5441 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1577, allocations: 0 / 0.5441 GB, free: 15.98 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001395/0.1591, allocations: 0.663 MB / 0.5448 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1592, allocations: 16.03 kB / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.907e-05/0.1593, allocations: 66.72 kB / 0.5448 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.1593, allocations: 36.7 kB / 0.5449 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.16, allocations: 391.9 kB / 0.5453 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.16, allocations: 20.5 kB / 0.5453 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.1601, allocations: 24 kB / 0.5453 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.1606, allocations: 360.7 kB / 0.5456 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1606, allocations: 3.984 kB / 0.5456 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1607, allocations: 8 kB / 0.5457 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.1608, allocations: 28.53 kB / 0.5457 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.1612, allocations: 242 kB / 0.5459 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.163, allocations: 1.363 MB / 0.5472 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.1634, allocations: 161 kB / 0.5474 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.1637, allocations: 93.73 kB / 0.5475 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1637, allocations: 0 / 0.5475 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1637, allocations: 38.56 kB / 0.5475 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1637, allocations: 0 / 0.5475 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001545/0.1653, allocations: 0.7681 MB / 0.5483 GB, free: 11.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1653, allocations: 85.09 kB / 0.5484 GB, free: 11.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1657, allocations: 300.6 kB / 0.5486 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1657, allocations: 29.7 kB / 0.5487 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1659, allocations: 220 kB / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.166, allocations: 59.52 kB / 0.5489 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.1661, allocations: 49.66 kB / 0.549 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1663, allocations: 338.8 kB / 0.5493 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1664, allocations: 67.95 kB / 0.5494 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1666, allocations: 177.3 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.167, allocations: 255.3 kB / 0.5498 GB, free: 9.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.167, allocations: 0 / 0.5498 GB, free: 9.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005506/0.1675, allocations: 321.9 kB / 0.5501 GB, free: 9.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1675, allocations: 11.94 kB / 0.5501 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1675, allocations: 4 kB / 0.5501 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.1678, allocations: 52.81 kB / 0.5502 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1679, allocations: 47.92 kB / 0.5502 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1696, allocations: 1.609 MB / 0.5518 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1698, allocations: 12.16 kB / 0.5518 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.1698, allocations: 12 kB / 0.5518 GB, free: 7.508 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.1701, allocations: 182.3 kB / 0.552 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.1701, allocations: 27.81 kB / 0.552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.1706, allocations: 236.3 kB / 0.5522 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1706, allocations: 0 / 0.5522 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.1706, allocations: 8 kB / 0.5522 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1706, allocations: 4 kB / 0.5522 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009525/0.1716, allocations: 0.6467 MB / 0.5529 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1716, allocations: 0 / 0.5529 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1717, allocations: 16 kB / 0.5529 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.1719, allocations: 64.78 kB / 0.5529 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1719, allocations: 0 / 0.5529 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.1734, allocations: 1.613 MB / 0.5545 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1734, allocations: 0 / 0.5545 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.174, allocations: 404.2 kB / 0.5549 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1741, allocations: 101 kB / 0.555 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.1742, allocations: 16.11 kB / 0.555 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1743, allocations: 8 kB / 0.555 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1744, allocations: 7.984 kB / 0.555 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1744, allocations: 4 kB / 0.555 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1746, allocations: 211 kB / 0.5552 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1746, allocations: 0 / 0.5552 GB, free: 3.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.1751, allocations: 75.98 kB / 0.5553 GB, free: 3.645 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.1761, allocations: 0.9371 MB / 0.5562 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.1767, allocations: 303.1 kB / 0.5565 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1767, allocations: 0 / 0.5565 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.1771, allocations: 210.5 kB / 0.5567 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.1777, allocations: 78.92 kB / 0.5568 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.1818, allocations: 3.041 MB / 0.5598 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.1824, allocations: 0.8104 MB / 0.5605 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.1825, allocations: 46.94 kB / 0.5606 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.1827, allocations: 95.41 kB / 0.5607 GB, free: 13.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1827, allocations: 0 / 0.5607 GB, free: 13.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.218, allocations: 6.127 MB / 0.5667 GB, free: 7.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.54, allocations: 4 kB / 0.5667 GB, free: 7.863 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_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_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.61861648899503] Failed to read output from testmodel.py, exit status != 0: 10.628224123996915 10.657380014 10.494636123 Calling exit ...