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.001424/0.001424, 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.001555/0.001555, allocations: 215.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.541/1.541, 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.204/0.204, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.003354/0.003354, allocations: 64.17 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.345, allocations: 62.47 MB / 0.542 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01174/0.3567, allocations: 9.3 MB / 0.5511 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.3633, allocations: 3.458 MB / 0.5545 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.3641, allocations: 51.38 kB / 0.5545 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.3668, allocations: 1.076 MB / 0.5556 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.3694, allocations: 1.117 MB / 0.5567 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3712, allocations: 0.7162 MB / 0.5573 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.3748, allocations: 2.371 MB / 0.5597 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/0.3758, allocations: 0.6626 MB / 0.5603 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.3774, allocations: 1.02 MB / 0.5613 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.3794, allocations: 1.461 MB / 0.5627 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.3797, allocations: 128 kB / 0.5629 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3809, allocations: 0.6512 MB / 0.5635 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008966/0.3818, allocations: 0.9467 MB / 0.5644 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.3828, allocations: 0.8979 MB / 0.5653 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.3858, allocations: 2.378 MB / 0.5676 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3858, allocations: 0 / 0.5676 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3858, allocations: 0 / 0.5676 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.993e-05/0.3859, allocations: 0 / 0.5676 GB, free: 10.34 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.0038/0.3897, allocations: 1.996 MB / 0.5696 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3897, allocations: 11.98 kB / 0.5696 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000287/0.39, allocations: 236.8 kB / 0.5698 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.3924, allocations: 483.2 kB / 0.5703 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.3946, allocations: 0.9995 MB / 0.5712 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.3946, allocations: 103.1 kB / 0.5713 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.395, allocations: 159.9 kB / 0.5715 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/0.3985, allocations: 2.328 MB / 0.5738 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.3986, allocations: 15.89 kB / 0.5738 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3987, allocations: 63.95 kB / 0.5738 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005355/0.3993, allocations: 230.8 kB / 0.5741 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.4023, allocations: 1.842 MB / 0.5759 GB, free: 1.633 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.01176/0.4141, allocations: 9.419 MB / 0.5851 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.4164, allocations: 1.311 MB / 0.5863 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/0.4173, allocations: 0.5434 MB / 0.5869 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.4174, allocations: 16.98 kB / 0.5869 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.4186, allocations: 0.8528 MB / 0.5877 GB, free: 4.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.865e-06/0.4186, allocations: 0 / 0.5877 GB, free: 4.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006648/0.4253, allocations: 4.001 MB / 0.5916 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.4255, allocations: 290.3 kB / 0.5919 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4267, allocations: 0.9147 MB / 0.5928 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.4268, allocations: 49.7 kB / 0.5928 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006957/0.4275, allocations: 0.781 MB / 0.5936 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4279, allocations: 484 kB / 0.5941 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.4283, allocations: 327.5 kB / 0.5944 GB, free: 13.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4285, allocations: 361.9 kB / 0.5947 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.4295, allocations: 0.5816 MB / 0.5953 GB, free: 12.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.4309, allocations: 1.171 MB / 0.5964 GB, free: 11.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.4337, allocations: 2.004 MB / 0.5984 GB, free: 9.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.4337, allocations: 4 kB / 0.5984 GB, free: 9.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004901/0.4386, allocations: 2.49 MB / 0.6008 GB, free: 6.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.4387, allocations: 63.41 kB / 0.6009 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003093/0.4418, allocations: 1.544 MB / 0.6024 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.4434, allocations: 0.5456 MB / 0.6029 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.4446, allocations: 323.5 kB / 0.6032 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.4561, allocations: 9.062 MB / 0.6121 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4571, allocations: 75.86 kB / 0.6122 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.4573, allocations: 95.97 kB / 0.6122 GB, free: 10.53 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.0009878/0.4583, allocations: 0.5998 MB / 0.6128 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4585, allocations: 131.2 kB / 0.613 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.4612, allocations: 1.539 MB / 0.6145 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4612, allocations: 12 kB / 0.6145 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4612, allocations: 7.938 kB / 0.6145 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4613, allocations: 3.984 kB / 0.6145 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.4666, allocations: 3.04 MB / 0.6175 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4666, allocations: 8.172 kB / 0.6175 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.468, allocations: 299.6 kB / 0.6177 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.468, allocations: 4 kB / 0.6178 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.4681, allocations: 35.98 kB / 0.6178 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.4681, allocations: 4 kB / 0.6178 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4682, allocations: 8 kB / 0.6178 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.4716, allocations: 2.338 MB / 0.6201 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.4722, allocations: 223.1 kB / 0.6203 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.4724, allocations: 28 kB / 0.6203 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.473, allocations: 43.97 kB / 0.6204 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4731, allocations: 88.72 kB / 0.6204 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.4733, allocations: 79.92 kB / 0.6205 GB, free: 1.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008536/0.4741, allocations: 0.6025 MB / 0.6211 GB, free: 1.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4741, allocations: 0 / 0.6211 GB, free: 1.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00169/0.4758, allocations: 420 kB / 0.6215 GB, free: 0.8477 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.003851/0.4797, allocations: 2.912 MB / 0.6244 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003719/0.4834, allocations: 2.258 MB / 0.6266 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4834, allocations: 3.938 kB / 0.6266 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.4845, allocations: 0.7816 MB / 0.6273 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4856, allocations: 225.1 kB / 0.6275 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.5064, allocations: 13.14 MB / 0.6404 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.5078, allocations: 1.461 MB / 0.6418 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5089, allocations: 458.3 kB / 0.6422 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.5098, allocations: 0.5657 MB / 0.6428 GB, free: 10.13 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5098, allocations: 4 kB / 0.6428 GB, free: 10.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07846/0.5882, allocations: 28.86 MB / 0.671 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.66, allocations: 10.73 kB / 0.671 GB, free: 13.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.621586084831506] Failed to read output from testmodel.py, exit status != 0: 14.79063176503405 14.80601168 14.416593291 Calling exit ...