Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001349/0.001349, 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.001463/0.001463, 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.484/1.484, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.1861/0.1861, allocations: 38.51 MB / 348.7 MB, free: 2.57 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.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.00196/0.00196, allocations: 67.91 kB / 487.1 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1228, allocations: 62.42 MB / 0.5367 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007193/0.13, allocations: 4.76 MB / 0.5413 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.1327, allocations: 1.371 MB / 0.5427 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.133, allocations: 19.81 kB / 0.5427 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1344, allocations: 418.2 kB / 0.5431 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008262/0.1352, allocations: 242.7 kB / 0.5433 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.1358, allocations: 179.6 kB / 0.5435 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00089/0.1367, allocations: 0.549 MB / 0.544 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.1373, allocations: 273.8 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.1379, allocations: 263 kB / 0.5445 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.1383, allocations: 295 kB / 0.5448 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.1384, allocations: 28 kB / 0.5448 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.1387, allocations: 143.6 kB / 0.545 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.1389, allocations: 195.4 kB / 0.5452 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1392, allocations: 218.9 kB / 0.5454 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.1399, allocations: 0.5291 MB / 0.5459 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1399, allocations: 0 / 0.5459 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1399, allocations: 0 / 0.5459 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.1399, allocations: 4 kB / 0.5459 GB, free: 14.05 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00144/0.1413, allocations: 0.7296 MB / 0.5466 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.1414, allocations: 8.031 kB / 0.5466 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.1415, allocations: 82.69 kB / 0.5467 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/0.1423, allocations: 84.61 kB / 0.5468 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.143, allocations: 420.3 kB / 0.5472 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1431, allocations: 25.38 kB / 0.5472 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1432, allocations: 51.91 kB / 0.5472 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.144, allocations: 476.8 kB / 0.5477 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.144, allocations: 0 / 0.5477 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.144, allocations: 16 kB / 0.5477 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.1441, allocations: 24.98 kB / 0.5477 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.1447, allocations: 343.7 kB / 0.5481 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.1472, allocations: 1.626 MB / 0.5496 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.1476, allocations: 165.1 kB / 0.5498 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1478, allocations: 105.7 kB / 0.5499 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1479, allocations: 0 / 0.5499 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.1479, allocations: 46.5 kB / 0.55 GB, free: 9.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1479, allocations: 0 / 0.55 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001621/0.1495, allocations: 0.7992 MB / 0.5507 GB, free: 8.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.1496, allocations: 85.09 kB / 0.5508 GB, free: 8.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.15, allocations: 296.6 kB / 0.5511 GB, free: 8.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.15, allocations: 29.83 kB / 0.5511 GB, free: 8.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.1502, allocations: 260 kB / 0.5514 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.1503, allocations: 83.3 kB / 0.5515 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1505, allocations: 65.64 kB / 0.5515 GB, free: 7.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1507, allocations: 342.8 kB / 0.5518 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1508, allocations: 91.94 kB / 0.5519 GB, free: 7.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.1511, allocations: 200.8 kB / 0.5521 GB, free: 7.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.1516, allocations: 336.4 kB / 0.5524 GB, free: 6.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1516, allocations: 0 / 0.5524 GB, free: 6.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008621/0.1525, allocations: 421.3 kB / 0.5528 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1525, allocations: 11.94 kB / 0.5529 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005239/0.153, allocations: 264.2 kB / 0.5531 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.1534, allocations: 80.78 kB / 0.5532 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1536, allocations: 68.03 kB / 0.5532 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.1557, allocations: 1.715 MB / 0.5549 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.1559, allocations: 15.98 kB / 0.5549 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1559, allocations: 12 kB / 0.5549 GB, free: 4.164 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.1562, allocations: 193.6 kB / 0.5551 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.1563, allocations: 27.81 kB / 0.5552 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.1568, allocations: 268.6 kB / 0.5554 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1568, allocations: 8.062 kB / 0.5554 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1568, allocations: 0 / 0.5554 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1568, allocations: 0 / 0.5554 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1581, allocations: 0.7538 MB / 0.5562 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1581, allocations: 0 / 0.5562 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1584, allocations: 51.97 kB / 0.5562 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1584, allocations: 8.047 kB / 0.5562 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1584, allocations: 15.92 kB / 0.5562 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1584, allocations: 4 kB / 0.5562 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1584, allocations: 3.938 kB / 0.5562 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.159, allocations: 453.4 kB / 0.5567 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.1591, allocations: 112.9 kB / 0.5568 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1591, allocations: 8 kB / 0.5568 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1593, allocations: 7.984 kB / 0.5568 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1593, allocations: 11.98 kB / 0.5568 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1594, allocations: 12 kB / 0.5568 GB, free: 2.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1596, allocations: 223 kB / 0.557 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1596, allocations: 0 / 0.557 GB, free: 1.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.16, allocations: 83.94 kB / 0.5571 GB, free: 1.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.0009781/0.161, allocations: 0.996 MB / 0.5581 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007491/0.1618, allocations: 362.3 kB / 0.5584 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1618, allocations: 4 kB / 0.5584 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1619, allocations: 98.81 kB / 0.5585 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1625, allocations: 75.25 kB / 0.5586 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.1673, allocations: 3.532 MB / 0.562 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.1679, allocations: 0.8498 MB / 0.5629 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1681, allocations: 78.89 kB / 0.563 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.1684, allocations: 135.4 kB / 0.5631 GB, free: 11.44 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1684, allocations: 0 / 0.5631 GB, free: 11.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.2064, allocations: 7.262 MB / 0.5702 GB, free: 4.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.53, allocations: 3.984 kB / 0.5702 GB, free: 4.309 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.486505388995283] Failed to read output from testmodel.py, exit status != 0: 10.613853037008084 10.637276229 10.493032947 Calling exit ...