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.001592/0.001592, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002033/0.002033, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2276/0.2276, allocations: 38.55 MB / 352.5 MB, free: 12.38 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.002149/0.002149, allocations: 67.91 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 62.45 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007956/0.3874, allocations: 5.324 MB / 0.5471 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3906, allocations: 1.309 MB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.3909, allocations: 26.84 kB / 0.5484 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.3914, allocations: 134.8 kB / 0.5486 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000898/0.3923, allocations: 387.9 kB / 0.5489 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3927, allocations: 151.2 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3938, allocations: 0.7813 MB / 0.5498 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.3941, allocations: 136.9 kB / 0.55 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.395, allocations: 373.8 kB / 0.5503 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008455/0.3958, allocations: 400.9 kB / 0.5507 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3959, allocations: 38.66 kB / 0.5508 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3961, allocations: 39.97 kB / 0.5508 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.3964, allocations: 210.8 kB / 0.551 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.3967, allocations: 232.2 kB / 0.5512 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008768/0.3976, allocations: 0.5797 MB / 0.5518 GB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3976, allocations: 1.344 kB / 0.5518 GB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3976, allocations: 0 / 0.5518 GB, free: 8.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3976, allocations: 3.938 kB / 0.5518 GB, free: 8.992 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.001766/0.3994, allocations: 0.8333 MB / 0.5526 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3994, allocations: 21.5 kB / 0.5526 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.3995, allocations: 78.41 kB / 0.5527 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3996, allocations: 61.41 kB / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009992/0.4006, allocations: 462.5 kB / 0.5532 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.4007, allocations: 30.59 kB / 0.5532 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.4007, allocations: 38.53 kB / 0.5533 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4018, allocations: 0.5598 MB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4018, allocations: 4.875 kB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.4019, allocations: 21.09 kB / 0.5538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.4019, allocations: 22.36 kB / 0.5539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.4027, allocations: 425.5 kB / 0.5543 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.4055, allocations: 1.749 MB / 0.556 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.4062, allocations: 339 kB / 0.5563 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.4066, allocations: 195.3 kB / 0.5565 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.4066, allocations: 4.25 kB / 0.5565 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.4071, allocations: 314.5 kB / 0.5568 GB, free: 4.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 5.43e-06/0.4071, allocations: 3.984 kB / 0.5568 GB, free: 4.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002119/0.4092, allocations: 1.202 MB / 0.558 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.4093, allocations: 166.2 kB / 0.5581 GB, free: 3.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.4098, allocations: 401.8 kB / 0.5585 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.4098, allocations: 33.69 kB / 0.5585 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.4101, allocations: 300.2 kB / 0.5588 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4102, allocations: 119 kB / 0.5589 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4103, allocations: 94.14 kB / 0.559 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4105, allocations: 362.9 kB / 0.5594 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.4108, allocations: 146.6 kB / 0.5595 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.4112, allocations: 323.1 kB / 0.5598 GB, free: 1.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.4118, allocations: 481.3 kB / 0.5603 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4118, allocations: 0 / 0.5603 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008617/0.4126, allocations: 0.5551 MB / 0.5608 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.4127, allocations: 33.7 kB / 0.5608 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4127, allocations: 4 kB / 0.5608 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4127, allocations: 8 kB / 0.5609 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.4132, allocations: 111.8 kB / 0.561 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.4132, allocations: 11.94 kB / 0.561 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.4134, allocations: 27.92 kB / 0.561 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.4135, allocations: 27.98 kB / 0.561 GB, free: 52 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.0003172/0.4138, allocations: 247.5 kB / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.4139, allocations: 55.59 kB / 0.5613 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008213/0.4147, allocations: 485.2 kB / 0.5618 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4147, allocations: 4 kB / 0.5618 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4147, allocations: 0 / 0.5618 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4147, allocations: 0 / 0.5618 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.4163, allocations: 0.9636 MB / 0.5627 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4163, allocations: 0 / 0.5627 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.4166, allocations: 63.97 kB / 0.5628 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4166, allocations: 64 / 0.5628 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.4167, allocations: 19.98 kB / 0.5628 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4167, allocations: 0 / 0.5628 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4167, allocations: 0 / 0.5628 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4178, allocations: 0.7773 MB / 0.5636 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.418, allocations: 63.7 kB / 0.5636 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.4181, allocations: 8 kB / 0.5636 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4183, allocations: 12 kB / 0.5636 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.4184, allocations: 35.95 kB / 0.5637 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.4184, allocations: 31.95 kB / 0.5637 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.4187, allocations: 271.1 kB / 0.564 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4187, allocations: 0 / 0.564 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.4192, allocations: 100 kB / 0.5641 GB, free: 12.8 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.001517/0.4207, allocations: 1.332 MB / 0.5654 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007423/0.4215, allocations: 451.3 kB / 0.5658 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4215, allocations: 3.938 kB / 0.5658 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.4219, allocations: 260.9 kB / 0.566 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.4225, allocations: 119.2 kB / 0.5662 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.4285, allocations: 4.275 MB / 0.5703 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4289, allocations: 276.1 kB / 0.5706 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.4292, allocations: 88.31 kB / 0.5707 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4295, allocations: 175.4 kB / 0.5709 GB, free: 5.441 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4295, allocations: 0 / 0.5709 GB, free: 5.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.4724, allocations: 9.58 MB / 0.5802 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.85, allocations: 6.922 kB / 0.5802 GB, free: 12.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.906841078773141] Failed to read output from testmodel.py, exit status != 0: 11.969541893806309 11.987734619 11.586399018 Calling exit ...