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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.428/1.428, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.001627/0.001627, allocations: 218.6 kB / 309.2 MB, free: 3.125 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.4471/0.4471, allocations: 79.74 MB / 445.4 MB, free: 14.82 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.003409/0.003409, allocations: 79.88 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1644, allocations: 73.3 MB / 0.6645 GB, free: 4.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004835/0.1692, allocations: 3.444 MB / 0.6678 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1712, allocations: 1.103 MB / 0.6689 GB, free: 8 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1714, allocations: 7.938 kB / 0.6689 GB, free: 0 / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1718, allocations: 95.36 kB / 0.669 GB, free: 15.9 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.0004308/0.1722, allocations: 186.6 kB / 0.6692 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.173, allocations: 303 kB / 0.6695 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006386/0.1736, allocations: 0.6031 MB / 0.6701 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.1738, allocations: 101.4 kB / 0.6702 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.1742, allocations: 263 kB / 0.6704 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.1746, allocations: 274.7 kB / 0.6707 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.1747, allocations: 56 kB / 0.6707 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1749, allocations: 99.98 kB / 0.6708 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.175, allocations: 119.5 kB / 0.6709 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.1752, allocations: 270.6 kB / 0.6712 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008078/0.176, allocations: 0.6772 MB / 0.6719 GB, free: 12.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.176, allocations: 0 / 0.6719 GB, free: 12.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.176, allocations: 0 / 0.6719 GB, free: 12.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1761, allocations: 0 / 0.6719 GB, free: 12.97 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.001582/0.1776, allocations: 0.7693 MB / 0.6726 GB, free: 12.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1777, allocations: 15.98 kB / 0.6726 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/0.1778, allocations: 70.66 kB / 0.6727 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/0.1788, allocations: 176.4 kB / 0.6729 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.1794, allocations: 331.2 kB / 0.6732 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.1795, allocations: 70.47 kB / 0.6733 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.1796, allocations: 28 kB / 0.6733 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/0.1804, allocations: 381.9 kB / 0.6736 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1805, allocations: 0 / 0.6736 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1805, allocations: 12 kB / 0.6737 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1805, allocations: 8 kB / 0.6737 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.1813, allocations: 330.5 kB / 0.674 GB, free: 10.73 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.002979/0.1842, allocations: 1.833 MB / 0.6758 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.1851, allocations: 365.3 kB / 0.6761 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.1856, allocations: 180.4 kB / 0.6763 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1856, allocations: 0 / 0.6763 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1857, allocations: 34.56 kB / 0.6763 GB, free: 8.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.1857, allocations: 0 / 0.6763 GB, free: 8.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.00477/0.1904, allocations: 1.165 MB / 0.6775 GB, free: 7.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1905, allocations: 59.39 kB / 0.6775 GB, free: 6.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.191, allocations: 433.9 kB / 0.6779 GB, free: 6.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.1911, allocations: 29.7 kB / 0.678 GB, free: 6.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.1913, allocations: 268.3 kB / 0.6782 GB, free: 6.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.1914, allocations: 87.27 kB / 0.6783 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1915, allocations: 65.64 kB / 0.6784 GB, free: 6.051 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1917, allocations: 358.7 kB / 0.6787 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1921, allocations: 184.2 kB / 0.6789 GB, free: 5.508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1925, allocations: 225.1 kB / 0.6791 GB, free: 5.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004894/0.1974, allocations: 1.294 MB / 0.6804 GB, free: 3.961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1974, allocations: 0 / 0.6804 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002511/0.1999, allocations: 0.8411 MB / 0.6812 GB, free: 3.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2, allocations: 7.938 kB / 0.6812 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2, allocations: 0 / 0.6812 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.2023, allocations: 0.5548 MB / 0.6817 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.2031, allocations: 143.8 kB / 0.6819 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/0.2109, allocations: 3.104 MB / 0.6849 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.2114, allocations: 43.83 kB / 0.6849 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.2114, allocations: 19.92 kB / 0.685 GB, free: 15.12 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.0002911/0.2117, allocations: 164.4 kB / 0.6851 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2118, allocations: 51.67 kB / 0.6852 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.2143, allocations: 0.7592 MB / 0.6859 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2143, allocations: 4 kB / 0.6859 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2143, allocations: 0 / 0.6859 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2143, allocations: 0 / 0.6859 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.2177, allocations: 1.448 MB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.2177, allocations: 3.938 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/0.2185, allocations: 115.9 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/0.2212, allocations: 0.6408 MB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2213, allocations: 15.92 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007089/0.2283, allocations: 3.072 MB / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2283, allocations: 0 / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.2313, allocations: 1.046 MB / 0.6921 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2315, allocations: 43.69 kB / 0.6921 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.2315, allocations: 15.92 kB / 0.6922 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2319, allocations: 19.98 kB / 0.6922 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.232, allocations: 59.95 kB / 0.6922 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.232, allocations: 15.98 kB / 0.6922 GB, free: 7.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.2324, allocations: 299.1 kB / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2324, allocations: 0 / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000547/0.233, allocations: 123.9 kB / 0.6926 GB, free: 7.023 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.003089/0.2361, allocations: 1.511 MB / 0.6941 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.2388, allocations: 0.7443 MB / 0.6949 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2388, allocations: 4.25 kB / 0.6949 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.2411, allocations: 0.556 MB / 0.6954 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2415, allocations: 48.02 kB / 0.6954 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3327/0.5742, allocations: 4.785 MB / 0.7001 GB, free: 34.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.5745, allocations: 0.8206 MB / 0.7009 GB, free: 34.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.5747, allocations: 35.77 kB / 0.701 GB, free: 34.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5749, allocations: 152.4 kB / 0.7011 GB, free: 34.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5749, allocations: 0 / 0.7011 GB, free: 34.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04968/0.6246, allocations: 12.53 MB / 0.7133 GB, free: 32.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.17, allocations: 10.92 kB / 0.7133 GB, free: 32.27 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 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.719043138000416] Failed to read output from testmodel.py, exit status != 0: 14.290375519001827 14.311138928 14.130967022 Calling exit ...