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.001286/0.001286, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.396/1.396, allocations: 230.6 MB / 250.5 MB, free: 9.223 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.001589/0.001589, allocations: 203.8 kB / 306.7 MB, free: 4.316 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.4474/0.4474, allocations: 79.72 MB / 442.5 MB, free: 184 kB / 302.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.002375/0.002375, allocations: 87.88 kB / 0.5885 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1421, allocations: 73.26 MB / 0.66 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004894/0.147, allocations: 3.42 MB / 0.6634 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1489, allocations: 1.095 MB / 0.6644 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1491, allocations: 4 kB / 0.6644 GB, free: 3.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1494, allocations: 103.2 kB / 0.6645 GB, free: 3.617 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.0004263/0.1498, allocations: 182.7 kB / 0.6647 GB, free: 3.438 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.1505, allocations: 303.2 kB / 0.665 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.1511, allocations: 0.6108 MB / 0.6656 GB, free: 2.527 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1514, allocations: 100.9 kB / 0.6657 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.1517, allocations: 259 kB / 0.6659 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.152, allocations: 270.7 kB / 0.6662 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.1521, allocations: 52 kB / 0.6662 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1523, allocations: 108 kB / 0.6663 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1524, allocations: 115.5 kB / 0.6665 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.1526, allocations: 270.5 kB / 0.6667 GB, free: 1.355 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.1534, allocations: 0.6771 MB / 0.6674 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1534, allocations: 0 / 0.6674 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1534, allocations: 3.938 kB / 0.6674 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1534, allocations: 0 / 0.6674 GB, free: 0.6719 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.001525/0.1549, allocations: 0.8522 MB / 0.6682 GB, free: 15.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.155, allocations: 8.031 kB / 0.6682 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.879e-05/0.155, allocations: 8.75 kB / 0.6682 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.776e-05/0.1551, allocations: 62.72 kB / 0.6683 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.1561, allocations: 176.5 kB / 0.6685 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.1566, allocations: 402.3 kB / 0.6688 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.1568, allocations: 70.28 kB / 0.6689 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.1568, allocations: 28 kB / 0.6689 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.1577, allocations: 381.9 kB / 0.6693 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1577, allocations: 0 / 0.6693 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.1577, allocations: 8 kB / 0.6693 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1577, allocations: 8 kB / 0.6693 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.1585, allocations: 334.4 kB / 0.6696 GB, free: 14.26 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.002915/0.1614, allocations: 1.871 MB / 0.6715 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1626, allocations: 0.7823 MB / 0.6722 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.1631, allocations: 184.7 kB / 0.6724 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.1631, allocations: 0 / 0.6724 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1632, allocations: 34.56 kB / 0.6724 GB, free: 11.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.1632, allocations: 3.938 kB / 0.6724 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.005076/0.1682, allocations: 1.246 MB / 0.6737 GB, free: 9.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1683, allocations: 55.41 kB / 0.6737 GB, free: 9.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.1688, allocations: 433.9 kB / 0.6741 GB, free: 9.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1688, allocations: 29.7 kB / 0.6742 GB, free: 9.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.169, allocations: 260.3 kB / 0.6744 GB, free: 9.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.1691, allocations: 91.25 kB / 0.6745 GB, free: 8.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.1693, allocations: 65.64 kB / 0.6745 GB, free: 8.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1695, allocations: 358.7 kB / 0.6749 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.1699, allocations: 184.2 kB / 0.6751 GB, free: 8.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.1704, allocations: 225.7 kB / 0.6753 GB, free: 8.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005185/0.1756, allocations: 1.302 MB / 0.6766 GB, free: 6.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1756, allocations: 0 / 0.6766 GB, free: 6.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002574/0.1781, allocations: 0.841 MB / 0.6774 GB, free: 5.949 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1782, allocations: 7.938 kB / 0.6774 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1782, allocations: 0 / 0.6774 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.1805, allocations: 0.5626 MB / 0.6779 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.1814, allocations: 143.8 kB / 0.6781 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007538/0.1889, allocations: 3.198 MB / 0.6812 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.1893, allocations: 51.8 kB / 0.6812 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1893, allocations: 11.94 kB / 0.6813 GB, free: 1.836 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.0002372/0.1896, allocations: 185.5 kB / 0.6814 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.1897, allocations: 47.67 kB / 0.6815 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.1923, allocations: 0.7591 MB / 0.6822 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1923, allocations: 4 kB / 0.6822 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1923, allocations: 128 / 0.6822 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1923, allocations: 8.266 kB / 0.6822 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.1957, allocations: 1.474 MB / 0.6837 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1957, allocations: 3.938 kB / 0.6837 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.1967, allocations: 127.8 kB / 0.6838 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/0.1995, allocations: 0.6288 MB / 0.6844 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.1996, allocations: 11.98 kB / 0.6844 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007522/0.2071, allocations: 3.171 MB / 0.6875 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2071, allocations: 128 / 0.6875 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.2102, allocations: 1.049 MB / 0.6885 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2103, allocations: 124.8 kB / 0.6887 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.2104, allocations: 4 kB / 0.6887 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.2107, allocations: 20.03 kB / 0.6887 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.2109, allocations: 63.92 kB / 0.6887 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2109, allocations: 7.984 kB / 0.6887 GB, free: 9.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003505/0.2112, allocations: 303.1 kB / 0.689 GB, free: 9.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 288 / 0.689 GB, free: 9.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005238/0.2118, allocations: 127.8 kB / 0.6892 GB, free: 9.457 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.003106/0.2149, allocations: 1.531 MB / 0.6907 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.2179, allocations: 0.7395 MB / 0.6914 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.2179, allocations: 4.25 kB / 0.6914 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.2203, allocations: 0.5723 MB / 0.6919 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.2206, allocations: 33.91 kB / 0.692 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.2313, allocations: 4.78 MB / 0.6966 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.2318, allocations: 0.8233 MB / 0.6974 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.2319, allocations: 34.95 kB / 0.6975 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.2321, allocations: 151.4 kB / 0.6976 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2321, allocations: 4 kB / 0.6976 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2866/0.5187, allocations: 12.23 MB / 0.7096 GB, free: 36.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.82, allocations: 7.594 kB / 0.7096 GB, free: 36.83 MB / 494.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.95382062799763] Failed to read output from testmodel.py, exit status != 0: 12.970715640985873 12.990101514 12.833311657 Calling exit ...