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.001368/0.001368, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001498/0.001498, allocations: 216.3 kB / 23.75 MB, free: 4.668 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1903/0.1903, allocations: 38.51 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.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.00202/0.00202, allocations: 71.89 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 62.46 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007728/0.3386, allocations: 5.688 MB / 0.5476 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3411, allocations: 1.408 MB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.3414, allocations: 27.09 kB / 0.549 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.3418, allocations: 140.6 kB / 0.5491 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008893/0.3427, allocations: 396.5 kB / 0.5495 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.3431, allocations: 149.6 kB / 0.5496 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.3439, allocations: 0.7777 MB / 0.5504 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.3442, allocations: 145.8 kB / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.3448, allocations: 361.5 kB / 0.5509 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006494/0.3454, allocations: 420.2 kB / 0.5513 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.3455, allocations: 44 kB / 0.5513 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.3456, allocations: 39.53 kB / 0.5513 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.3458, allocations: 214.3 kB / 0.5515 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.3461, allocations: 275.7 kB / 0.5518 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.3468, allocations: 0.5784 MB / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3468, allocations: 0 / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3468, allocations: 1.031 kB / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3468, allocations: 0 / 0.5524 GB, free: 8.586 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.001583/0.3484, allocations: 0.8386 MB / 0.5532 GB, free: 7.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3485, allocations: 13.47 kB / 0.5532 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3486, allocations: 82.05 kB / 0.5533 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3487, allocations: 65.97 kB / 0.5533 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.3496, allocations: 454.3 kB / 0.5538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.3496, allocations: 29.69 kB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3497, allocations: 40.34 kB / 0.5538 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.3506, allocations: 0.5384 MB / 0.5544 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3506, allocations: 0 / 0.5544 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.3506, allocations: 17.38 kB / 0.5544 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.3506, allocations: 24.66 kB / 0.5544 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.3513, allocations: 396.7 kB / 0.5548 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.3538, allocations: 1.881 MB / 0.5566 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.3544, allocations: 314.3 kB / 0.5569 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3548, allocations: 173.6 kB / 0.5571 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3548, allocations: 4.25 kB / 0.5571 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.3552, allocations: 280.8 kB / 0.5574 GB, free: 4.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.3552, allocations: 0 / 0.5574 GB, free: 4.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002008/0.3572, allocations: 1.133 MB / 0.5585 GB, free: 3.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.3573, allocations: 162.2 kB / 0.5586 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.3579, allocations: 393.9 kB / 0.559 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.3579, allocations: 33.7 kB / 0.559 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.3582, allocations: 296.3 kB / 0.5593 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3583, allocations: 130.9 kB / 0.5594 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3585, allocations: 94.27 kB / 0.5595 GB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.3587, allocations: 362.8 kB / 0.5599 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3589, allocations: 124.9 kB / 0.56 GB, free: 1.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.3593, allocations: 281.5 kB / 0.5603 GB, free: 1.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.36, allocations: 481.3 kB / 0.5607 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.36, allocations: 0 / 0.5607 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008548/0.3609, allocations: 0.5255 MB / 0.5612 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.3609, allocations: 33.7 kB / 0.5613 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3609, allocations: 8 kB / 0.5613 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.361, allocations: 8 kB / 0.5613 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.3614, allocations: 108.5 kB / 0.5614 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.3614, allocations: 15.94 kB / 0.5614 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3617, allocations: 23.98 kB / 0.5614 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.3618, allocations: 31.97 kB / 0.5615 GB, free: 8 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.0003439/0.3621, allocations: 251.3 kB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3622, allocations: 47.66 kB / 0.5617 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.3629, allocations: 455.4 kB / 0.5622 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3629, allocations: 7.984 kB / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3629, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3629, allocations: 0 / 0.5622 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.3644, allocations: 0.9424 MB / 0.5631 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3644, allocations: 0 / 0.5631 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.3647, allocations: 67.89 kB / 0.5632 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3648, allocations: 0 / 0.5632 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3648, allocations: 16.06 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3648, allocations: 3.938 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3648, allocations: 7.938 kB / 0.5632 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.366, allocations: 0.7076 MB / 0.5639 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.3662, allocations: 63.78 kB / 0.5639 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.3662, allocations: 12 kB / 0.564 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3665, allocations: 15.98 kB / 0.564 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.3665, allocations: 27.89 kB / 0.564 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/0.3666, allocations: 31.97 kB / 0.564 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.367, allocations: 267.1 kB / 0.5643 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.367, allocations: 3.938 kB / 0.5643 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000553/0.3675, allocations: 104 kB / 0.5644 GB, free: 12.88 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.001444/0.369, allocations: 1.271 MB / 0.5656 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.3697, allocations: 387.3 kB / 0.566 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3697, allocations: 0 / 0.566 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.37, allocations: 227.2 kB / 0.5662 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.3707, allocations: 107.2 kB / 0.5663 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.3763, allocations: 4.138 MB / 0.5704 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.3769, allocations: 0.8859 MB / 0.5712 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.3772, allocations: 84.31 kB / 0.5713 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3774, allocations: 175.4 kB / 0.5715 GB, free: 5.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3774, allocations: 0 / 0.5715 GB, free: 5.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.4348, allocations: 9.171 MB / 0.5804 GB, free: 12.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.31, allocations: 7.25 kB / 0.5804 GB, free: 12.25 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.424074538997957] Failed to read output from testmodel.py, exit status != 0: 12.425968404000741 12.455603826 12.10341688 Calling exit ...