Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.001784/0.001784, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002151/0.002151, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1869/0.1869, allocations: 38.51 MB / 348.7 MB, free: 2.609 MB / 270.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.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",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.001914/0.001914, allocations: 63.89 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1203, allocations: 62.41 MB / 0.5367 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01175/0.132, allocations: 9.179 MB / 0.5456 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007889/0.1399, allocations: 3.446 MB / 0.549 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.1414, allocations: 51.56 kB / 0.549 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.1444, allocations: 1.065 MB / 0.5501 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.1474, allocations: 1.105 MB / 0.5512 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1498, allocations: 0.7016 MB / 0.5518 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004464/0.1542, allocations: 2.367 MB / 0.5542 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.1555, allocations: 0.6473 MB / 0.5548 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1578, allocations: 1.027 MB / 0.5558 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.1602, allocations: 1.449 MB / 0.5572 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.1605, allocations: 128 kB / 0.5573 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.1619, allocations: 0.6358 MB / 0.558 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1629, allocations: 0.939 MB / 0.5589 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.1641, allocations: 0.9057 MB / 0.5598 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.1671, allocations: 2.37 MB / 0.5621 GB, free: 13.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1671, allocations: 0 / 0.5621 GB, free: 13.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1671, allocations: 0 / 0.5621 GB, free: 13.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.36e-05/0.1672, allocations: 0 / 0.5621 GB, free: 13.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003805/0.171, allocations: 2.071 MB / 0.5641 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.171, allocations: 12.03 kB / 0.5641 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003185/0.1713, allocations: 240.8 kB / 0.5643 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.1738, allocations: 471.2 kB / 0.5648 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.1758, allocations: 1.091 MB / 0.5658 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/0.1759, allocations: 103.1 kB / 0.5659 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.1762, allocations: 159.9 kB / 0.5661 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.1799, allocations: 2.324 MB / 0.5684 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.1799, allocations: 23.89 kB / 0.5684 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.1801, allocations: 59.97 kB / 0.5684 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005725/0.1806, allocations: 222.8 kB / 0.5687 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.1837, allocations: 1.842 MB / 0.5705 GB, free: 4.559 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.1978, allocations: 9.542 MB / 0.5798 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.2005, allocations: 1.458 MB / 0.5812 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.2014, allocations: 0.5479 MB / 0.5817 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.2014, allocations: 24.97 kB / 0.5818 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.2027, allocations: 0.8489 MB / 0.5826 GB, free: 7.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 2.715e-06/0.2027, allocations: 0 / 0.5826 GB, free: 7.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=131): time 0.007147/0.2099, allocations: 4.072 MB / 0.5866 GB, free: 3.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/0.2101, allocations: 286.3 kB / 0.5868 GB, free: 3.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2114, allocations: 0.9147 MB / 0.5877 GB, free: 2.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.2115, allocations: 49.7 kB / 0.5878 GB, free: 2.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/0.2123, allocations: 0.7965 MB / 0.5886 GB, free: 1.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.2127, allocations: 472.1 kB / 0.589 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.2132, allocations: 323.4 kB / 0.5893 GB, free: 444 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2134, allocations: 366 kB / 0.5897 GB, free: 72 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2712/0.4845, allocations: 0.5741 MB / 0.5902 GB, free: 50.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.486, allocations: 1.169 MB / 0.5914 GB, free: 49.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.4888, allocations: 2.003 MB / 0.5933 GB, free: 48.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.4888, allocations: 5.969 kB / 0.5933 GB, free: 48.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005801/0.4946, allocations: 2.474 MB / 0.5957 GB, free: 47.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.4947, allocations: 72.02 kB / 0.5958 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00408/0.4988, allocations: 1.549 MB / 0.5973 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.5011, allocations: 0.5437 MB / 0.5979 GB, free: 46.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.5027, allocations: 326.2 kB / 0.5982 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5144, allocations: 9.469 MB / 0.6074 GB, free: 39.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5161, allocations: 74.92 kB / 0.6075 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.5163, allocations: 97.94 kB / 0.6076 GB, free: 39.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001047/0.5173, allocations: 0.5962 MB / 0.6082 GB, free: 39.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.5175, allocations: 136.2 kB / 0.6083 GB, free: 39.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.5201, allocations: 1.548 MB / 0.6098 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.5201, allocations: 11.88 kB / 0.6098 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5201, allocations: 2.938 kB / 0.6098 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.5202, allocations: 7.281 kB / 0.6098 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.5253, allocations: 3.073 MB / 0.6128 GB, free: 37.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.5253, allocations: 2.969 kB / 0.6128 GB, free: 37.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.5267, allocations: 299.5 kB / 0.6131 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.5267, allocations: 7.875 kB / 0.6131 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.5268, allocations: 35.34 kB / 0.6132 GB, free: 37.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.5268, allocations: 7.781 kB / 0.6132 GB, free: 37.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5268, allocations: 0.875 kB / 0.6132 GB, free: 37.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.5298, allocations: 2.337 MB / 0.6154 GB, free: 36.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/0.5304, allocations: 295.7 kB / 0.6157 GB, free: 36.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.5305, allocations: 37.44 kB / 0.6158 GB, free: 36.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.5311, allocations: 42.56 kB / 0.6158 GB, free: 36.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5313, allocations: 79.03 kB / 0.6159 GB, free: 36.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.5314, allocations: 78.12 kB / 0.616 GB, free: 36.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008106/0.5322, allocations: 0.6019 MB / 0.6165 GB, free: 36.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5322, allocations: 0 / 0.6165 GB, free: 36.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001625/0.5338, allocations: 424 kB / 0.6169 GB, free: 36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * 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.002895/0.5367, allocations: 2.93 MB / 0.6198 GB, free: 34.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00355/0.5403, allocations: 2.251 MB / 0.622 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.5403, allocations: 0 / 0.622 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.5411, allocations: 0.7829 MB / 0.6228 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5423, allocations: 230.7 kB / 0.623 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.5579, allocations: 13.11 MB / 0.6358 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/0.5587, allocations: 1.465 MB / 0.6372 GB, free: 16.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009519/0.5597, allocations: 462.3 kB / 0.6377 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.5602, allocations: 0.5657 MB / 0.6382 GB, free: 15.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5602, allocations: 0 / 0.6382 GB, free: 15.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06992/0.6301, allocations: 27.56 MB / 0.6651 GB, free: 4.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.85, allocations: 15.94 kB / 0.6651 GB, free: 4.332 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.901538642006926] Failed to read output from testmodel.py, exit status != 0: 12.952164725007606 12.981032689 12.808269392 Calling exit ...