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.001735/0.001735, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 14.26 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.001472/0.001472, allocations: 217.2 kB / 310 MB, free: 3.043 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.4807/0.4807, allocations: 79.74 MB / 446.2 MB, free: 40.33 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="cs",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.002441/0.002441, allocations: 80.12 kB / 0.5936 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1112, allocations: 73.29 MB / 0.6652 GB, free: 404 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004234/0.1154, allocations: 3.098 MB / 0.6682 GB, free: 14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1174, allocations: 1.032 MB / 0.6692 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1175, allocations: 7.156 kB / 0.6692 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1178, allocations: 92.08 kB / 0.6693 GB, free: 13.11 MB / 462.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.0004155/0.1182, allocations: 193.8 kB / 0.6695 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.1188, allocations: 286.9 kB / 0.6698 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.1194, allocations: 0.6053 MB / 0.6703 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1196, allocations: 104.9 kB / 0.6704 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.12, allocations: 260 kB / 0.6707 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.1203, allocations: 276 kB / 0.671 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.1204, allocations: 56 kB / 0.671 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.1206, allocations: 104 kB / 0.6711 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1207, allocations: 119.5 kB / 0.6712 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1209, allocations: 211 kB / 0.6714 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.1217, allocations: 0.6811 MB / 0.6721 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1217, allocations: 4 kB / 0.6721 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1217, allocations: 0 / 0.6721 GB, free: 10.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1217, allocations: 3.938 kB / 0.6721 GB, free: 10.66 MB / 462.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.001529/0.1232, allocations: 0.7771 MB / 0.6729 GB, free: 9.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1233, allocations: 8.031 kB / 0.6729 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.504e-05/0.1233, allocations: 12.83 kB / 0.6729 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.1234, allocations: 62.73 kB / 0.6729 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1244, allocations: 180.4 kB / 0.6731 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.1249, allocations: 339.2 kB / 0.6734 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1251, allocations: 62.28 kB / 0.6735 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.1251, allocations: 28 kB / 0.6735 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.126, allocations: 381.9 kB / 0.6739 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.126, allocations: 0 / 0.6739 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1261, allocations: 12 kB / 0.6739 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1261, allocations: 12 kB / 0.6739 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.1268, allocations: 338.4 kB / 0.6742 GB, free: 8.402 MB / 462.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.002654/0.1295, allocations: 1.345 MB / 0.6755 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.1304, allocations: 347.7 kB / 0.6759 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.1309, allocations: 176.8 kB / 0.676 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.1309, allocations: 4 kB / 0.676 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1309, allocations: 34.56 kB / 0.6761 GB, free: 6.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1309, allocations: 0 / 0.6761 GB, free: 6.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004861/0.1358, allocations: 1.171 MB / 0.6772 GB, free: 5.262 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1358, allocations: 55.41 kB / 0.6773 GB, free: 5.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.1364, allocations: 441.8 kB / 0.6777 GB, free: 4.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1364, allocations: 25.7 kB / 0.6777 GB, free: 4.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1366, allocations: 260.3 kB / 0.678 GB, free: 4.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.1367, allocations: 91.25 kB / 0.6781 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1368, allocations: 73.56 kB / 0.6781 GB, free: 4.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.137, allocations: 354.7 kB / 0.6785 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1374, allocations: 184.2 kB / 0.6786 GB, free: 3.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.1379, allocations: 229.1 kB / 0.6789 GB, free: 3.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.143, allocations: 1.291 MB / 0.6801 GB, free: 2.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.143, allocations: 0 / 0.6801 GB, free: 2.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002552/0.1456, allocations: 0.845 MB / 0.6809 GB, free: 1.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1456, allocations: 9.031 kB / 0.681 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1456, allocations: 4 kB / 0.681 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.1479, allocations: 0.5548 MB / 0.6815 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.1488, allocations: 143.8 kB / 0.6816 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/0.1563, allocations: 3.057 MB / 0.6846 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.1567, allocations: 43.81 kB / 0.6847 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.1567, allocations: 15.94 kB / 0.6847 GB, free: 13.43 MB / 478.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.0002663/0.157, allocations: 173.3 kB / 0.6848 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.1571, allocations: 47.67 kB / 0.6849 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.1597, allocations: 0.7583 MB / 0.6856 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1597, allocations: 4 kB / 0.6856 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1597, allocations: 3.984 kB / 0.6856 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1597, allocations: 0 / 0.6856 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.163, allocations: 1.302 MB / 0.6869 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.163, allocations: 7.938 kB / 0.6869 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/0.1639, allocations: 111.9 kB / 0.687 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/0.1667, allocations: 0.625 MB / 0.6876 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.1667, allocations: 15.92 kB / 0.6876 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.174, allocations: 3.021 MB / 0.6906 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.174, allocations: 7.938 kB / 0.6906 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.177, allocations: 1.046 MB / 0.6916 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1772, allocations: 47.67 kB / 0.6917 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.1772, allocations: 11.94 kB / 0.6917 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1776, allocations: 24.03 kB / 0.6917 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.1778, allocations: 63.89 kB / 0.6918 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.1778, allocations: 8 kB / 0.6918 GB, free: 5.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003637/0.1781, allocations: 303.1 kB / 0.6921 GB, free: 5.652 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 0.6921 GB, free: 5.652 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.1787, allocations: 123.9 kB / 0.6922 GB, free: 5.531 MB / 478.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.00296/0.1816, allocations: 1.51 MB / 0.6937 GB, free: 3.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.1845, allocations: 0.7519 MB / 0.6944 GB, free: 3.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1845, allocations: 0 / 0.6944 GB, free: 3.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.1868, allocations: 0.5586 MB / 0.6949 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1872, allocations: 40.31 kB / 0.695 GB, free: 2.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.1978, allocations: 4.799 MB / 0.6997 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.198, allocations: 216.3 kB / 0.6999 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1981, allocations: 42.94 kB / 0.6999 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1984, allocations: 147.4 kB / 0.7 GB, free: 13.29 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1984, allocations: 3.938 kB / 0.7001 GB, free: 13.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.2369, allocations: 12.07 MB / 0.7118 GB, free: 1.367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.45, allocations: 6.312 kB / 0.7118 GB, free: 1.363 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: 16.839852596982382] Failed to read output from testmodel.py, exit status != 0: 13.624665777082555 13.642878414 13.517721862 Calling exit ...