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.001699/0.001699, 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.001501/0.001501, allocations: 214.4 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1851/0.1851, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.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.002091/0.002091, allocations: 59.91 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01095/0.3651, allocations: 9.302 MB / 0.5511 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006243/0.3713, allocations: 3.461 MB / 0.5545 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.372, allocations: 50.44 kB / 0.5545 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.3748, allocations: 1.073 MB / 0.5556 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.3774, allocations: 1.121 MB / 0.5566 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.3793, allocations: 0.7084 MB / 0.5573 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.3825, allocations: 2.377 MB / 0.5597 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.3835, allocations: 0.6626 MB / 0.5603 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.3853, allocations: 1.027 MB / 0.5613 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.3876, allocations: 1.453 MB / 0.5627 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.3878, allocations: 128 kB / 0.5629 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.3891, allocations: 0.6552 MB / 0.5635 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009686/0.3901, allocations: 0.9428 MB / 0.5644 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.3912, allocations: 0.9057 MB / 0.5653 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.3941, allocations: 2.374 MB / 0.5676 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3941, allocations: 3.984 kB / 0.5676 GB, free: 10.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3941, allocations: 4 kB / 0.5676 GB, free: 10.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.3941, allocations: 0 / 0.5676 GB, free: 10.2 MB / 414.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.003913/0.3981, allocations: 1.99 MB / 0.5696 GB, free: 8.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3981, allocations: 11.98 kB / 0.5696 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.3984, allocations: 244.8 kB / 0.5698 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.4008, allocations: 479.2 kB / 0.5703 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.403, allocations: 0.9917 MB / 0.5712 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/0.4031, allocations: 103.1 kB / 0.5713 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.4035, allocations: 175.8 kB / 0.5715 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.4072, allocations: 2.324 MB / 0.5738 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.4072, allocations: 11.89 kB / 0.5738 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.4074, allocations: 59.97 kB / 0.5738 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005469/0.4079, allocations: 226.8 kB / 0.5741 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.4111, allocations: 1.846 MB / 0.5759 GB, free: 1.5 MB / 414.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.01299/0.4241, allocations: 9.422 MB / 0.5851 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.4263, allocations: 1.3 MB / 0.5863 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/0.4272, allocations: 0.5434 MB / 0.5869 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.438e-05/0.4273, allocations: 20.97 kB / 0.5869 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.4285, allocations: 0.8489 MB / 0.5877 GB, free: 4.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.915e-06/0.4285, allocations: 7.938 kB / 0.5877 GB, free: 4.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006345/0.4348, allocations: 4.004 MB / 0.5916 GB, free: 0.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001964/0.435, allocations: 282.3 kB / 0.5919 GB, free: 376 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4363, allocations: 0.9147 MB / 0.5928 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4364, allocations: 57.69 kB / 0.5928 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.4371, allocations: 0.7774 MB / 0.5936 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.4376, allocations: 488 kB / 0.5941 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.438, allocations: 327.4 kB / 0.5944 GB, free: 13.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4382, allocations: 357.9 kB / 0.5947 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4392, allocations: 0.5816 MB / 0.5953 GB, free: 12.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.4408, allocations: 1.171 MB / 0.5964 GB, free: 11.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4437, allocations: 2.001 MB / 0.5984 GB, free: 9.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.4437, allocations: 4 kB / 0.5984 GB, free: 9.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005098/0.4488, allocations: 2.49 MB / 0.6008 GB, free: 6.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-05/0.4489, allocations: 67.41 kB / 0.6009 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003388/0.4523, allocations: 1.552 MB / 0.6024 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.454, allocations: 0.5374 MB / 0.6029 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4552, allocations: 323.5 kB / 0.6032 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.4667, allocations: 9.07 MB / 0.6121 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4678, allocations: 71.97 kB / 0.6122 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.468, allocations: 103.8 kB / 0.6123 GB, free: 10.38 MB / 462.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.0009784/0.469, allocations: 0.5959 MB / 0.6128 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4692, allocations: 131.2 kB / 0.613 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.4718, allocations: 1.535 MB / 0.6145 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4718, allocations: 12 kB / 0.6145 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4718, allocations: 3.938 kB / 0.6145 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4718, allocations: 11.92 kB / 0.6145 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.4772, allocations: 3.047 MB / 0.6175 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4772, allocations: 0 / 0.6175 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.4786, allocations: 295.6 kB / 0.6178 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.4786, allocations: 8.125 kB / 0.6178 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/0.4787, allocations: 39.98 kB / 0.6178 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.4787, allocations: 8 kB / 0.6178 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4787, allocations: 0 / 0.6178 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.4822, allocations: 2.338 MB / 0.6201 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.4828, allocations: 215.1 kB / 0.6203 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.4829, allocations: 32 kB / 0.6203 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.4835, allocations: 39.97 kB / 0.6204 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.4836, allocations: 84.78 kB / 0.6204 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.4838, allocations: 87.86 kB / 0.6205 GB, free: 1.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008656/0.4846, allocations: 0.5986 MB / 0.6211 GB, free: 1.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4846, allocations: 0 / 0.6211 GB, free: 1.125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001395/0.486, allocations: 420 kB / 0.6215 GB, free: 0.7148 MB / 462.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.003751/0.4898, allocations: 2.92 MB / 0.6244 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4936, allocations: 2.246 MB / 0.6266 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4936, allocations: 4.5 kB / 0.6266 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.4948, allocations: 0.7812 MB / 0.6273 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4959, allocations: 234.8 kB / 0.6276 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.5165, allocations: 13.13 MB / 0.6404 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.5179, allocations: 1.458 MB / 0.6418 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.5191, allocations: 462.3 kB / 0.6422 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/0.5199, allocations: 0.5735 MB / 0.6428 GB, free: 9.992 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5199, allocations: 0 / 0.6428 GB, free: 9.992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.5971, allocations: 28.86 MB / 0.671 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/14.96, allocations: 3.594 kB / 0.671 GB, free: 13.32 MB / 0.5137 GB " [Timeout remaining time 645] (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: 17.884566938002536] Failed to read output from testmodel.py, exit status != 0: 15.087474595005915 15.10720439 14.709756591 Calling exit ...