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.001349/0.001349, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001585/0.001585, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1922/0.1922, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.00221/0.00221, allocations: 63.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007119/0.3367, allocations: 5.316 MB / 0.5471 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3393, allocations: 1.309 MB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.3395, allocations: 27.56 kB / 0.5484 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.34, allocations: 130.3 kB / 0.5486 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000891/0.3409, allocations: 388.4 kB / 0.5489 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3412, allocations: 153.9 kB / 0.5491 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.3421, allocations: 0.7741 MB / 0.5498 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.3424, allocations: 144.9 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.3429, allocations: 365 kB / 0.5503 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.3436, allocations: 425.3 kB / 0.5507 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.3437, allocations: 39.88 kB / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.572e-05/0.3438, allocations: 39.91 kB / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.344, allocations: 210.4 kB / 0.551 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.3443, allocations: 223.9 kB / 0.5512 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.3451, allocations: 0.5881 MB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3451, allocations: 0 / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3451, allocations: 1.125 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3451, allocations: 7.984 kB / 0.5518 GB, free: 9 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.001549/0.3466, allocations: 0.8214 MB / 0.5526 GB, free: 8.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3467, allocations: 13.23 kB / 0.5526 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.3468, allocations: 94.44 kB / 0.5527 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3469, allocations: 65.53 kB / 0.5528 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.3478, allocations: 451.2 kB / 0.5532 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.3478, allocations: 37.25 kB / 0.5532 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.3479, allocations: 47.02 kB / 0.5533 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.3488, allocations: 0.5603 MB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3488, allocations: 4 kB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.3489, allocations: 18.12 kB / 0.5539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.3489, allocations: 20.91 kB / 0.5539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.3496, allocations: 422.8 kB / 0.5543 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.3523, allocations: 1.749 MB / 0.556 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.3529, allocations: 339 kB / 0.5563 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.3532, allocations: 195.4 kB / 0.5565 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3533, allocations: 4.25 kB / 0.5565 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.3537, allocations: 314.5 kB / 0.5568 GB, free: 4.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.3537, allocations: 3.938 kB / 0.5568 GB, free: 4.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002049/0.3557, allocations: 1.202 MB / 0.558 GB, free: 3.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3558, allocations: 166.2 kB / 0.5581 GB, free: 3.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.3563, allocations: 401.8 kB / 0.5585 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3564, allocations: 33.7 kB / 0.5585 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3566, allocations: 296.2 kB / 0.5588 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3567, allocations: 127 kB / 0.559 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3569, allocations: 94.27 kB / 0.559 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3571, allocations: 358.8 kB / 0.5594 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3573, allocations: 150.6 kB / 0.5595 GB, free: 1.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3576, allocations: 315.2 kB / 0.5598 GB, free: 1.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.3583, allocations: 485.3 kB / 0.5603 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3583, allocations: 0 / 0.5603 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000839/0.3591, allocations: 0.5511 MB / 0.5608 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.3591, allocations: 33.7 kB / 0.5609 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3592, allocations: 4 kB / 0.5609 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3592, allocations: 11.98 kB / 0.5609 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.3596, allocations: 107.8 kB / 0.561 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3596, allocations: 15.92 kB / 0.561 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3599, allocations: 23.94 kB / 0.561 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.36, allocations: 40.19 kB / 0.5611 GB, free: 92 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.0003144/0.3603, allocations: 243.4 kB / 0.5613 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3604, allocations: 55.64 kB / 0.5613 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.3611, allocations: 489.1 kB / 0.5618 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3611, allocations: 4 kB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3611, allocations: 0 / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3611, allocations: 7.922 kB / 0.5618 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3626, allocations: 0.948 MB / 0.5627 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3626, allocations: 8.125 kB / 0.5628 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.3629, allocations: 63.91 kB / 0.5628 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.363, allocations: 4 kB / 0.5628 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.363, allocations: 8 kB / 0.5628 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.363, allocations: 7.984 kB / 0.5628 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.363, allocations: 0 / 0.5628 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3641, allocations: 0.7734 MB / 0.5636 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.3643, allocations: 63.69 kB / 0.5636 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.3643, allocations: 8 kB / 0.5637 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3646, allocations: 20.05 kB / 0.5637 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.3647, allocations: 27.89 kB / 0.5637 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.3647, allocations: 31.97 kB / 0.5637 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.3651, allocations: 267.1 kB / 0.564 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 4 kB / 0.564 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.3656, allocations: 100 kB / 0.5641 GB, free: 12.84 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.001436/0.3671, allocations: 1.339 MB / 0.5654 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.3678, allocations: 450.8 kB / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3678, allocations: 0 / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3682, allocations: 260.9 kB / 0.5661 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.3689, allocations: 116.7 kB / 0.5662 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/0.3749, allocations: 4.268 MB / 0.5704 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3753, allocations: 284.1 kB / 0.5706 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.3756, allocations: 88.31 kB / 0.5707 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.3759, allocations: 179.3 kB / 0.5709 GB, free: 5.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3759, allocations: 3.938 kB / 0.5709 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.4213, allocations: 9.736 MB / 0.5804 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 0 / 0.5804 GB, free: 11.93 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.217211002949625] Failed to read output from testmodel.py, exit status != 0: 12.093056002864614 12.109974107 11.761392513 Calling exit ...