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.001673/0.001673, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002036/0.002036, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1898/0.1898, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.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.003572/0.003572, allocations: 74.22 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4226, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007909/0.4305, allocations: 5.317 MB / 0.5471 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.4332, allocations: 1.312 MB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.4335, allocations: 27.91 kB / 0.5484 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.4341, allocations: 126.5 kB / 0.5486 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.4351, allocations: 391.2 kB / 0.5489 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.4356, allocations: 159 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.4367, allocations: 0.7737 MB / 0.5498 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.437, allocations: 137.2 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006421/0.4376, allocations: 360.4 kB / 0.5503 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.4383, allocations: 417.3 kB / 0.5507 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4384, allocations: 39.78 kB / 0.5508 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.4386, allocations: 40.22 kB / 0.5508 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.4389, allocations: 205.8 kB / 0.551 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.4392, allocations: 228.1 kB / 0.5512 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.4402, allocations: 0.5888 MB / 0.5518 GB, free: 9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4402, allocations: 0 / 0.5518 GB, free: 9 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4402, allocations: 0 / 0.5518 GB, free: 9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4402, allocations: 4 kB / 0.5518 GB, free: 8.996 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001812/0.442, allocations: 0.8296 MB / 0.5526 GB, free: 8.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.4421, allocations: 13.11 kB / 0.5526 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.4422, allocations: 87.23 kB / 0.5527 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4423, allocations: 70 kB / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4434, allocations: 450 kB / 0.5532 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.4434, allocations: 29.44 kB / 0.5532 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.4435, allocations: 39.5 kB / 0.5533 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4445, allocations: 0.5639 MB / 0.5538 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4445, allocations: 0 / 0.5538 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.4446, allocations: 21.66 kB / 0.5538 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.4446, allocations: 26.02 kB / 0.5539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.4454, allocations: 417.8 kB / 0.5543 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.4484, allocations: 1.757 MB / 0.556 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.4491, allocations: 335 kB / 0.5563 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.4494, allocations: 191.4 kB / 0.5565 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.4494, allocations: 8.25 kB / 0.5565 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.4499, allocations: 322.4 kB / 0.5568 GB, free: 4.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.4499, allocations: 0 / 0.5568 GB, free: 4.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002202/0.4521, allocations: 1.194 MB / 0.558 GB, free: 3.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.4522, allocations: 170.2 kB / 0.5581 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.4527, allocations: 397.8 kB / 0.5585 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4528, allocations: 33.7 kB / 0.5585 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.4531, allocations: 300.2 kB / 0.5588 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4532, allocations: 123 kB / 0.5589 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.4533, allocations: 94.27 kB / 0.559 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.4535, allocations: 362.8 kB / 0.5594 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4538, allocations: 150.6 kB / 0.5595 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.4541, allocations: 311.2 kB / 0.5598 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.4548, allocations: 485.3 kB / 0.5603 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4548, allocations: 0 / 0.5603 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008473/0.4556, allocations: 0.555 MB / 0.5608 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.4557, allocations: 40.5 kB / 0.5608 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4557, allocations: 7.938 kB / 0.5609 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4557, allocations: 11.94 kB / 0.5609 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.4561, allocations: 103.8 kB / 0.561 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.4561, allocations: 15.98 kB / 0.561 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4564, allocations: 19.94 kB / 0.561 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.4565, allocations: 36.16 kB / 0.561 GB, free: 72 kB / 398.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.0003089/0.4568, allocations: 251.3 kB / 0.5613 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.4568, allocations: 51.66 kB / 0.5613 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.4576, allocations: 485.1 kB / 0.5618 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4576, allocations: 4 kB / 0.5618 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4576, allocations: 0 / 0.5618 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4576, allocations: 3.984 kB / 0.5618 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4591, allocations: 0.948 MB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4591, allocations: 4 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.4595, allocations: 63.97 kB / 0.5628 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4595, allocations: 4 kB / 0.5628 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4595, allocations: 11.98 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4595, allocations: 4 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4595, allocations: 0 / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4606, allocations: 0.7774 MB / 0.5636 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4608, allocations: 67.67 kB / 0.5636 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.4608, allocations: 8 kB / 0.5636 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4611, allocations: 16.05 kB / 0.5637 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4611, allocations: 31.89 kB / 0.5637 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.4612, allocations: 35.91 kB / 0.5637 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.4615, allocations: 267.1 kB / 0.564 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4615, allocations: 4 kB / 0.564 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004772/0.462, allocations: 100 kB / 0.5641 GB, free: 12.82 MB / 414.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.001428/0.4634, allocations: 1.336 MB / 0.5654 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.4642, allocations: 450.9 kB / 0.5658 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4642, allocations: 0 / 0.5658 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4646, allocations: 260.9 kB / 0.5661 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.4652, allocations: 112.8 kB / 0.5662 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.4709, allocations: 4.279 MB / 0.5703 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.4713, allocations: 280.1 kB / 0.5706 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.4715, allocations: 88.25 kB / 0.5707 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.4718, allocations: 175.4 kB / 0.5709 GB, free: 5.457 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4718, allocations: 0 / 0.5709 GB, free: 5.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.5156, allocations: 9.573 MB / 0.5802 GB, free: 12.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.98, allocations: 9.891 kB / 0.5802 GB, free: 12.07 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.183636297937483] Failed to read output from testmodel.py, exit status != 0: 12.100817886181176 12.117115108 11.6733963 Calling exit ...