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.001252/0.001252, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.423/1.423, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.002232/0.002232, allocations: 209.9 kB / 310 MB, free: 3.152 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.4888/0.4888, allocations: 79.74 MB / 446.2 MB, free: 38.82 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.002455/0.002455, allocations: 85.69 kB / 0.5937 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1179, allocations: 73.3 MB / 0.6653 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004544/0.1224, allocations: 3.439 MB / 0.6686 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1246, allocations: 1.102 MB / 0.6697 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.1249, allocations: 8.062 kB / 0.6697 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1252, allocations: 91.75 kB / 0.6698 GB, free: 12.96 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.0004408/0.1256, allocations: 190 kB / 0.67 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.1263, allocations: 299.3 kB / 0.6702 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.1269, allocations: 0.6062 MB / 0.6708 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.1272, allocations: 104.5 kB / 0.6709 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1275, allocations: 263.6 kB / 0.6712 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.1279, allocations: 272.2 kB / 0.6714 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.128, allocations: 54.16 kB / 0.6715 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1282, allocations: 112 kB / 0.6716 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1283, allocations: 119.5 kB / 0.6717 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.1286, allocations: 258.7 kB / 0.672 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.1294, allocations: 0.6734 MB / 0.6726 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1294, allocations: 0 / 0.6726 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1294, allocations: 4 kB / 0.6726 GB, free: 10.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1294, allocations: 3.938 kB / 0.6726 GB, free: 10.59 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.001545/0.131, allocations: 0.777 MB / 0.6734 GB, free: 9.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.131, allocations: 8.031 kB / 0.6734 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.368e-05/0.131, allocations: 12.84 kB / 0.6734 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/0.1311, allocations: 66.72 kB / 0.6735 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.1321, allocations: 172.4 kB / 0.6736 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.1327, allocations: 335.2 kB / 0.674 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1329, allocations: 66.22 kB / 0.674 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.1329, allocations: 28 kB / 0.6741 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.1338, allocations: 377.9 kB / 0.6744 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1338, allocations: 0 / 0.6744 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.1339, allocations: 16 kB / 0.6744 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1339, allocations: 15.98 kB / 0.6744 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.1346, allocations: 326.5 kB / 0.6748 GB, free: 8.344 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.00304/0.1377, allocations: 1.833 MB / 0.6765 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.1386, allocations: 351.1 kB / 0.6769 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.1391, allocations: 176.8 kB / 0.677 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1392, allocations: 8 kB / 0.6771 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1392, allocations: 30.56 kB / 0.6771 GB, free: 5.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.1392, allocations: 4 kB / 0.6771 GB, free: 5.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.005062/0.1443, allocations: 1.168 MB / 0.6782 GB, free: 4.629 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1443, allocations: 55.34 kB / 0.6783 GB, free: 4.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.1449, allocations: 437.8 kB / 0.6787 GB, free: 4.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1449, allocations: 29.7 kB / 0.6787 GB, free: 4.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1451, allocations: 264.3 kB / 0.679 GB, free: 3.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1452, allocations: 95.22 kB / 0.6791 GB, free: 3.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1453, allocations: 69.61 kB / 0.6791 GB, free: 3.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1455, allocations: 354.7 kB / 0.6795 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.146, allocations: 184.2 kB / 0.6796 GB, free: 3.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.1465, allocations: 233.1 kB / 0.6799 GB, free: 2.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/0.1516, allocations: 1.287 MB / 0.6811 GB, free: 1.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1516, allocations: 4 kB / 0.6811 GB, free: 1.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002716/0.1543, allocations: 0.8449 MB / 0.682 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1544, allocations: 11.92 kB / 0.682 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1544, allocations: 4 kB / 0.682 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.1568, allocations: 0.5548 MB / 0.6825 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.1577, allocations: 143.8 kB / 0.6827 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.1656, allocations: 3.084 MB / 0.6857 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.166, allocations: 51.81 kB / 0.6857 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.1661, allocations: 20.2 kB / 0.6857 GB, free: 12.73 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.0002843/0.1664, allocations: 170.1 kB / 0.6859 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.1665, allocations: 43.72 kB / 0.6859 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.1691, allocations: 0.767 MB / 0.6867 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1691, allocations: 3.984 kB / 0.6867 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1691, allocations: 0 / 0.6867 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1691, allocations: 4 kB / 0.6867 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.1726, allocations: 1.442 MB / 0.6881 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1726, allocations: 3.938 kB / 0.6881 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.1736, allocations: 119.9 kB / 0.6882 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/0.1764, allocations: 0.6327 MB / 0.6888 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.1764, allocations: 11.98 kB / 0.6888 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007565/0.184, allocations: 3.068 MB / 0.6918 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.184, allocations: 7.938 kB / 0.6919 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.1872, allocations: 1.042 MB / 0.6929 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1873, allocations: 55.61 kB / 0.6929 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.1874, allocations: 8.062 kB / 0.6929 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1878, allocations: 23.97 kB / 0.693 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.188, allocations: 63.83 kB / 0.693 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.188, allocations: 4 kB / 0.693 GB, free: 5.043 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003901/0.1884, allocations: 307.1 kB / 0.6933 GB, free: 4.746 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1884, allocations: 0 / 0.6933 GB, free: 4.746 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005565/0.1889, allocations: 127.9 kB / 0.6934 GB, free: 4.621 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.003151/0.1921, allocations: 1.502 MB / 0.6949 GB, free: 3.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.195, allocations: 0.7496 MB / 0.6956 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.195, allocations: 0 / 0.6956 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.1975, allocations: 0.557 MB / 0.6962 GB, free: 1.758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1979, allocations: 36.81 kB / 0.6962 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.2089, allocations: 4.8 MB / 0.7009 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2094, allocations: 0.8233 MB / 0.7017 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2095, allocations: 38.95 kB / 0.7017 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.2098, allocations: 147.4 kB / 0.7019 GB, free: 11.79 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2098, allocations: 0 / 0.7019 GB, free: 11.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.2494, allocations: 12.56 MB / 0.7141 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.35, allocations: 15.09 kB / 0.7142 GB, free: 15.34 MB / 0.4981 GB " [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.787850221968256] Failed to read output from testmodel.py, exit status != 0: 13.531295755994506 13.549832972 13.416829535 Calling exit ...