Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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.001936/0.001936, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.425/1.425, allocations: 230.6 MB / 252.7 MB, free: 8.328 MB / 206.1 MB " [Timeout remaining time 178] 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.001626/0.001626, allocations: 217.9 kB / 309.2 MB, free: 3.195 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4397/0.4397, allocations: 79.74 MB / 445.4 MB, free: 14.88 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.002427/0.002427, allocations: 87.86 kB / 0.5929 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1503, allocations: 73.29 MB / 0.6645 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.005185/0.1555, allocations: 3.444 MB / 0.6678 GB, free: 1.188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.158, allocations: 1.099 MB / 0.6689 GB, free: 88 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.1584, allocations: 7.938 kB / 0.6689 GB, free: 80 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1588, allocations: 103.2 kB / 0.669 GB, free: 15.98 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.000678/0.1595, allocations: 182.6 kB / 0.6692 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.1603, allocations: 302.1 kB / 0.6695 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.1612, allocations: 0.6109 MB / 0.6701 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.1615, allocations: 101.4 kB / 0.6702 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.162, allocations: 259 kB / 0.6704 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.1626, allocations: 278.7 kB / 0.6707 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.1627, allocations: 52 kB / 0.6707 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.163, allocations: 99.98 kB / 0.6708 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1631, allocations: 115.5 kB / 0.6709 GB, free: 14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.1635, allocations: 266.6 kB / 0.6712 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009671/0.1644, allocations: 0.6811 MB / 0.6719 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1644, allocations: 0 / 0.6719 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1644, allocations: 7.938 kB / 0.6719 GB, free: 13.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.1645, allocations: 0 / 0.6719 GB, free: 13.04 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001847/0.1663, allocations: 0.7771 MB / 0.6726 GB, free: 12.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1663, allocations: 11.98 kB / 0.6726 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.867e-05/0.1664, allocations: 62.73 kB / 0.6727 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1675, allocations: 180.4 kB / 0.6729 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.1682, allocations: 335.1 kB / 0.6732 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.1683, allocations: 62.47 kB / 0.6733 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.1684, allocations: 28 kB / 0.6733 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.1693, allocations: 389.9 kB / 0.6736 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1693, allocations: 0 / 0.6736 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.1693, allocations: 12 kB / 0.6737 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1693, allocations: 8 kB / 0.6737 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.1701, allocations: 326.5 kB / 0.674 GB, free: 10.8 MB / 478.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.003254/0.1734, allocations: 1.837 MB / 0.6758 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.1743, allocations: 355.9 kB / 0.6761 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.1748, allocations: 176.8 kB / 0.6763 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1748, allocations: 11.94 kB / 0.6763 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1748, allocations: 30.56 kB / 0.6763 GB, free: 8.254 MB / 478.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1748, allocations: 0 / 0.6763 GB, free: 8.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.004921/0.1798, allocations: 1.169 MB / 0.6775 GB, free: 7.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1798, allocations: 51.41 kB / 0.6775 GB, free: 7.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.1804, allocations: 437.8 kB / 0.6779 GB, free: 6.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1804, allocations: 33.7 kB / 0.678 GB, free: 6.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.1807, allocations: 260.3 kB / 0.6782 GB, free: 6.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1808, allocations: 95.25 kB / 0.6783 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1809, allocations: 61.64 kB / 0.6784 GB, free: 6.121 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1811, allocations: 362.7 kB / 0.6787 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1816, allocations: 176.2 kB / 0.6789 GB, free: 5.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.182, allocations: 233.1 kB / 0.6791 GB, free: 5.336 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.1871, allocations: 1.29 MB / 0.6804 GB, free: 4.031 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1871, allocations: 0 / 0.6804 GB, free: 4.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002595/0.1897, allocations: 0.8372 MB / 0.6812 GB, free: 3.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1897, allocations: 7.938 kB / 0.6812 GB, free: 3.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.1897, allocations: 8 kB / 0.6812 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.192, allocations: 0.5509 MB / 0.6817 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/0.1929, allocations: 151.7 kB / 0.6819 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.2005, allocations: 3.083 MB / 0.6849 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.2009, allocations: 55.94 kB / 0.6849 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.201, allocations: 15.98 kB / 0.685 GB, free: 15.2 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = \"1\" fixed = true ) \"Measured power flow\" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = \"rad\" fixed = true ) \"Shifting angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.2012, allocations: 168.5 kB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2014, allocations: 51.66 kB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.2039, allocations: 0.7669 MB / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2039, allocations: 0 / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2039, allocations: 0 / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2039, allocations: 4 kB / 0.6859 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.2074, allocations: 1.452 MB / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2074, allocations: 0 / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008902/0.2083, allocations: 119.8 kB / 0.6874 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.211, allocations: 0.6288 MB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.211, allocations: 15.92 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/0.2183, allocations: 3.074 MB / 0.6911 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2183, allocations: 0 / 0.6911 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.2214, allocations: 1.046 MB / 0.6921 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.2216, allocations: 47.67 kB / 0.6921 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.2217, allocations: 7.938 kB / 0.6922 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.222, allocations: 23.97 kB / 0.6922 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.2222, allocations: 59.89 kB / 0.6922 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.2222, allocations: 11.98 kB / 0.6922 GB, free: 7.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000408/0.2226, allocations: 299.1 kB / 0.6925 GB, free: 7.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2226, allocations: 4.062 kB / 0.6925 GB, free: 7.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.2232, allocations: 128.2 kB / 0.6927 GB, free: 7.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003105/0.2263, allocations: 1.507 MB / 0.6941 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.2292, allocations: 0.748 MB / 0.6949 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2292, allocations: 0 / 0.6949 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.2315, allocations: 0.5601 MB / 0.6954 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.2319, allocations: 40.09 kB / 0.6954 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/0.5052, allocations: 4.789 MB / 0.7001 GB, free: 35.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.5054, allocations: 0.8188 MB / 0.7009 GB, free: 34.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.5056, allocations: 37.78 kB / 0.701 GB, free: 34.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.5058, allocations: 150.8 kB / 0.7011 GB, free: 34.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5058, allocations: 0 / 0.7011 GB, free: 34.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.5752, allocations: 12.52 MB / 0.7133 GB, free: 32.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.77, allocations: 18.17 kB / 0.7133 GB, free: 32.53 MB / 494.1 MB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.04630879801698] Failed to read output from testmodel.py, exit status != 0: 13.88899107510224 13.909192499 13.740872611 Calling exit ...