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.001676/0.001676, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001816/0.001816, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.953 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.1916/0.1916, allocations: 38.52 MB / 352.4 MB, free: 12.53 MB / 286.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.002939/0.002939, allocations: 63.91 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5252, allocations: 62.46 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.0118/0.537, allocations: 4.875 MB / 0.5468 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.5412, allocations: 1.384 MB / 0.5481 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.5415, allocations: 20.47 kB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.5435, allocations: 417.8 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008938/0.5444, allocations: 241.3 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.5454, allocations: 186.1 kB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.5466, allocations: 0.5513 MB / 0.5495 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.5473, allocations: 261.2 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.5479, allocations: 276.1 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.5488, allocations: 285.7 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.5489, allocations: 34.59 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/0.5494, allocations: 142.1 kB / 0.5504 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.5497, allocations: 190.5 kB / 0.5506 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.5501, allocations: 231.2 kB / 0.5508 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.5511, allocations: 0.5255 MB / 0.5513 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5511, allocations: 0 / 0.5513 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5511, allocations: 1.375 kB / 0.5513 GB, free: 9.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5511, allocations: 0 / 0.5513 GB, free: 9.348 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001823/0.5529, allocations: 0.6616 MB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.553, allocations: 12.78 kB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.5531, allocations: 72.91 kB / 0.5521 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.5544, allocations: 88.38 kB / 0.5522 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.5557, allocations: 357.1 kB / 0.5525 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.5558, allocations: 23.53 kB / 0.5525 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.556, allocations: 52.45 kB / 0.5526 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5571, allocations: 476.7 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.5571, allocations: 1.156 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.5572, allocations: 16.28 kB / 0.553 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.5573, allocations: 32.08 kB / 0.5531 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.5583, allocations: 341.8 kB / 0.5534 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.5624, allocations: 1.562 MB / 0.5549 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.563, allocations: 156.8 kB / 0.5551 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.5633, allocations: 115.8 kB / 0.5552 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.5634, allocations: 6.297 kB / 0.5552 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.5634, allocations: 44.75 kB / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.5634, allocations: 3.938 kB / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002266/0.5657, allocations: 0.708 MB / 0.5559 GB, free: 5.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.5658, allocations: 83.08 kB / 0.556 GB, free: 5.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.5663, allocations: 309.2 kB / 0.5563 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.5664, allocations: 33.83 kB / 0.5563 GB, free: 5.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.5667, allocations: 252.1 kB / 0.5566 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5668, allocations: 79.31 kB / 0.5566 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.5669, allocations: 65.64 kB / 0.5567 GB, free: 5.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.5672, allocations: 342.8 kB / 0.557 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.5675, allocations: 99.94 kB / 0.5571 GB, free: 4.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.5679, allocations: 188.8 kB / 0.5573 GB, free: 4.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.5687, allocations: 336.3 kB / 0.5576 GB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5687, allocations: 0 / 0.5576 GB, free: 4.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001495/0.5702, allocations: 424.3 kB / 0.558 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.5702, allocations: 8 kB / 0.558 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009053/0.5711, allocations: 264.2 kB / 0.5583 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.5716, allocations: 80.77 kB / 0.5584 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.5721, allocations: 64.03 kB / 0.5584 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.575, allocations: 1.611 MB / 0.56 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.5754, allocations: 12 kB / 0.56 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.5754, allocations: 12 kB / 0.56 GB, free: 1.5 MB / 398.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.0004197/0.5758, allocations: 193.7 kB / 0.5602 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5759, allocations: 27.81 kB / 0.5602 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007765/0.5767, allocations: 272.5 kB / 0.5605 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.5767, allocations: 8.062 kB / 0.5605 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5767, allocations: 0 / 0.5605 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5767, allocations: 3.984 kB / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.5788, allocations: 0.7215 MB / 0.5612 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5788, allocations: 0 / 0.5612 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.5793, allocations: 55.91 kB / 0.5613 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5793, allocations: 4.062 kB / 0.5613 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.5793, allocations: 11.94 kB / 0.5613 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.5793, allocations: 4 kB / 0.5613 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5793, allocations: 0 / 0.5613 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.5803, allocations: 471.5 kB / 0.5617 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.5804, allocations: 27.98 kB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.5805, allocations: 11.94 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.5808, allocations: 12.03 kB / 0.5618 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.5808, allocations: 15.95 kB / 0.5618 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.5808, allocations: 8 kB / 0.5618 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.5812, allocations: 215.1 kB / 0.562 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5812, allocations: 0 / 0.562 GB, free: 15.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008002/0.582, allocations: 84 kB / 0.5621 GB, free: 15.29 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.001592/0.5836, allocations: 0.984 MB / 0.5631 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.5848, allocations: 378.3 kB / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.5848, allocations: 0 / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5851, allocations: 91.84 kB / 0.5635 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.586, allocations: 77.19 kB / 0.5636 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/0.5946, allocations: 3.547 MB / 0.567 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.5953, allocations: 0.8459 MB / 0.5679 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.5957, allocations: 78.89 kB / 0.5679 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.5961, allocations: 135.4 kB / 0.5681 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5961, allocations: 0 / 0.5681 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05655/0.6526, allocations: 7.518 MB / 0.5754 GB, free: 1.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.6, allocations: 14.66 kB / 0.5754 GB, free: 1.512 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.567219383003248] Failed to read output from testmodel.py, exit status != 0: 12.71316952399502 12.726949183 12.172524825 Calling exit ...