Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001277/0.001277, allocations: 105.1 kB / 21.22 MB, free: 492 kB / 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.001467/0.001467, allocations: 206 kB / 24.51 MB, free: 3.652 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 / 258.3 MB, free: 7.793 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.2084/0.2084, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="cs",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.002018/0.002018, allocations: 59.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 62.46 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01034/0.3854, allocations: 6.923 MB / 0.5495 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.3896, allocations: 1.656 MB / 0.5511 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009439/0.3905, allocations: 44.12 kB / 0.5511 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.3915, allocations: 225.7 kB / 0.5513 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3937, allocations: 0.5862 MB / 0.5519 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.3946, allocations: 213.4 kB / 0.5521 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.3978, allocations: 1.258 MB / 0.5533 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.3985, allocations: 218.3 kB / 0.5535 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4001, allocations: 0.5778 MB / 0.5541 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4023, allocations: 0.6759 MB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.4029, allocations: 62.78 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.4037, allocations: 64.22 kB / 0.5549 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.4043, allocations: 342 kB / 0.5552 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.4049, allocations: 358.1 kB / 0.5556 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4063, allocations: 0.9337 MB / 0.5565 GB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4063, allocations: 0 / 0.5565 GB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4063, allocations: 0 / 0.5565 GB, free: 6.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.4063, allocations: 0 / 0.5565 GB, free: 6.125 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002304/0.4086, allocations: 1.176 MB / 0.5576 GB, free: 4.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4086, allocations: 15.98 kB / 0.5576 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.571e-05/0.4087, allocations: 21.48 kB / 0.5577 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.4088, allocations: 114.6 kB / 0.5578 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.409, allocations: 96.33 kB / 0.5579 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.4103, allocations: 0.6429 MB / 0.5585 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.4103, allocations: 49.31 kB / 0.5585 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.4104, allocations: 60 kB / 0.5586 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4118, allocations: 0.8679 MB / 0.5594 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4119, allocations: 3.984 kB / 0.5594 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/0.4119, allocations: 24 kB / 0.5595 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.412, allocations: 37.3 kB / 0.5595 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.413, allocations: 0.6681 MB / 0.5602 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.4165, allocations: 2.361 MB / 0.5625 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4175, allocations: 0.6187 MB / 0.5631 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.4182, allocations: 394.3 kB / 0.5634 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.4182, allocations: 12.44 kB / 0.5635 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006741/0.4189, allocations: 0.5342 MB / 0.564 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 5.56e-06/0.4189, allocations: 7.922 kB / 0.564 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.00319/0.4221, allocations: 2.063 MB / 0.566 GB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.4223, allocations: 251.8 kB / 0.5662 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.4229, allocations: 0.5665 MB / 0.5668 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.423, allocations: 37.7 kB / 0.5668 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.4233, allocations: 408.4 kB / 0.5672 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.4235, allocations: 222.3 kB / 0.5674 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4237, allocations: 146.6 kB / 0.5676 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4239, allocations: 386.8 kB / 0.5679 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.4243, allocations: 277.3 kB / 0.5682 GB, free: 9.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.4249, allocations: 0.5011 MB / 0.5687 GB, free: 8.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.4259, allocations: 0.7924 MB / 0.5695 GB, free: 8.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4259, allocations: 4 kB / 0.5695 GB, free: 8.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001646/0.4276, allocations: 1.009 MB / 0.5705 GB, free: 6.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.4276, allocations: 67.33 kB / 0.5705 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.4277, allocations: 8 kB / 0.5705 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.4281, allocations: 113.8 kB / 0.5706 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.4286, allocations: 147.7 kB / 0.5708 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.432, allocations: 3.332 MB / 0.574 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4325, allocations: 39.92 kB / 0.5741 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.4326, allocations: 55.95 kB / 0.5741 GB, free: 2.996 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.4331, allocations: 350.6 kB / 0.5745 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4332, allocations: 79.52 kB / 0.5745 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.4344, allocations: 0.8533 MB / 0.5754 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4344, allocations: 4 kB / 0.5754 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4344, allocations: 0 / 0.5754 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4344, allocations: 11.92 kB / 0.5754 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.4367, allocations: 1.547 MB / 0.5769 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4367, allocations: 0 / 0.5769 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.4373, allocations: 115.8 kB / 0.577 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.4373, allocations: 7.984 kB / 0.577 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.4373, allocations: 20.19 kB / 0.577 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4373, allocations: 8 kB / 0.577 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4373, allocations: 0 / 0.577 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.4391, allocations: 1.332 MB / 0.5783 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.4394, allocations: 115.4 kB / 0.5784 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.4395, allocations: 12 kB / 0.5785 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.4398, allocations: 31.97 kB / 0.5785 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4399, allocations: 44.36 kB / 0.5785 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.44, allocations: 56 kB / 0.5786 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.4405, allocations: 395 kB / 0.579 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4405, allocations: 0 / 0.579 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007682/0.4412, allocations: 183.9 kB / 0.5791 GB, free: 13.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.002181/0.4434, allocations: 1.899 MB / 0.581 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.4452, allocations: 1.088 MB / 0.5821 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4452, allocations: 0.5 kB / 0.5821 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.4458, allocations: 0.4927 MB / 0.5825 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.4467, allocations: 163.1 kB / 0.5827 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.4565, allocations: 6.589 MB / 0.5891 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.457, allocations: 417.1 kB / 0.5895 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004756/0.4575, allocations: 153.8 kB / 0.5897 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.4579, allocations: 279.3 kB / 0.5899 GB, free: 1.996 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4579, allocations: 3.938 kB / 0.5899 GB, free: 1.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.5054, allocations: 15.07 MB / 0.6046 GB, free: 3.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.71, allocations: 4.062 kB / 0.6047 GB, free: 3.188 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.75482390099205] Failed to read output from testmodel.py, exit status != 0: 14.89043455105275 14.907185938 14.497471028 Calling exit ...