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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 104.4 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 190.9 kB / 299.8 MB, free: 9.844 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.4657/0.4657, allocations: 79.73 MB / 434.4 MB, free: 6.23 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 87.86 kB / 0.5784 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1559, allocations: 72.09 MB / 0.6488 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004922/0.1608, allocations: 3.396 MB / 0.6521 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1628, allocations: 1.068 MB / 0.6531 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.163, allocations: 4 kB / 0.6531 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1633, allocations: 91.25 kB / 0.6532 GB, free: 13.23 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.000439/0.1638, allocations: 194.6 kB / 0.6534 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.1645, allocations: 343 kB / 0.6537 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.1651, allocations: 0.6031 MB / 0.6543 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1654, allocations: 104.9 kB / 0.6544 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1657, allocations: 251 kB / 0.6546 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.1661, allocations: 274.8 kB / 0.6549 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.1661, allocations: 52 kB / 0.655 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1663, allocations: 108 kB / 0.6551 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1664, allocations: 119.5 kB / 0.6552 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.1667, allocations: 258.6 kB / 0.6554 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.1675, allocations: 0.6773 MB / 0.6561 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1675, allocations: 0 / 0.6561 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1675, allocations: 0 / 0.6561 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1675, allocations: 4 kB / 0.6561 GB, free: 10.26 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.001601/0.1691, allocations: 0.8484 MB / 0.6569 GB, free: 9.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1691, allocations: 16.02 kB / 0.6569 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.1692, allocations: 62.73 kB / 0.657 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.1702, allocations: 180.5 kB / 0.6572 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.1708, allocations: 406.2 kB / 0.6576 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.171, allocations: 70.47 kB / 0.6576 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.171, allocations: 24 kB / 0.6576 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.1718, allocations: 381.9 kB / 0.658 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1718, allocations: 0 / 0.658 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1719, allocations: 8 kB / 0.658 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1719, allocations: 11.98 kB / 0.658 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.1726, allocations: 338.4 kB / 0.6583 GB, free: 7.84 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.00287/0.1755, allocations: 1.86 MB / 0.6602 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1766, allocations: 0.7958 MB / 0.6609 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.177, allocations: 176.7 kB / 0.6611 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1771, allocations: 0 / 0.6611 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1771, allocations: 34.56 kB / 0.6611 GB, free: 4.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 3.356e-06/0.1771, allocations: 3.984 kB / 0.6611 GB, free: 4.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004684/0.1818, allocations: 1.247 MB / 0.6624 GB, free: 3.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1818, allocations: 55.41 kB / 0.6624 GB, free: 3.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.1823, allocations: 433.8 kB / 0.6628 GB, free: 2.941 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1824, allocations: 29.7 kB / 0.6629 GB, free: 2.906 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1826, allocations: 256.3 kB / 0.6631 GB, free: 2.652 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.1827, allocations: 95.2 kB / 0.6632 GB, free: 2.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1828, allocations: 69.62 kB / 0.6633 GB, free: 2.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.183, allocations: 358.7 kB / 0.6636 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.1834, allocations: 184.2 kB / 0.6638 GB, free: 1.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1838, allocations: 229.1 kB / 0.664 GB, free: 1.699 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.1886, allocations: 1.294 MB / 0.6653 GB, free: 396 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1886, allocations: 0 / 0.6653 GB, free: 396 kB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002406/0.191, allocations: 0.8294 MB / 0.6661 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.191, allocations: 11.94 kB / 0.6661 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.191, allocations: 3.984 kB / 0.6661 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.1932, allocations: 0.5548 MB / 0.6666 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.194, allocations: 139.8 kB / 0.6668 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.2015, allocations: 3.207 MB / 0.6699 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.2019, allocations: 47.81 kB / 0.6699 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2019, allocations: 11.98 kB / 0.6699 GB, free: 11.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.0002584/0.2022, allocations: 168.6 kB / 0.6701 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.2023, allocations: 47.72 kB / 0.6702 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.2047, allocations: 0.7708 MB / 0.6709 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2047, allocations: 4 kB / 0.6709 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.2047, allocations: 0 / 0.6709 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2047, allocations: 0 / 0.6709 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.208, allocations: 1.472 MB / 0.6723 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.208, allocations: 0 / 0.6723 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.2089, allocations: 123.8 kB / 0.6725 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/0.2115, allocations: 0.6326 MB / 0.6731 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.2115, allocations: 11.98 kB / 0.6731 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/0.2184, allocations: 3.178 MB / 0.6762 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2184, allocations: 0 / 0.6762 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.2213, allocations: 1.048 MB / 0.6772 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2215, allocations: 124.8 kB / 0.6773 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.2215, allocations: 7.984 kB / 0.6774 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.2218, allocations: 24.05 kB / 0.6774 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.222, allocations: 59.91 kB / 0.6774 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.222, allocations: 8 kB / 0.6774 GB, free: 3.488 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.2224, allocations: 303.1 kB / 0.6777 GB, free: 3.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2224, allocations: 0 / 0.6777 GB, free: 3.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.2229, allocations: 128.1 kB / 0.6778 GB, free: 3.07 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.002875/0.2258, allocations: 1.512 MB / 0.6793 GB, free: 1.531 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.2285, allocations: 0.756 MB / 0.6801 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2285, allocations: 0 / 0.6801 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.2307, allocations: 0.557 MB / 0.6806 GB, free: 196 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2311, allocations: 33.91 kB / 0.6806 GB, free: 160 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.2419, allocations: 4.799 MB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.2425, allocations: 0.8233 MB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.2426, allocations: 42.94 kB / 0.6862 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.2428, allocations: 147.4 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2428, allocations: 0 / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/0.5767, allocations: 12.19 MB / 0.6982 GB, free: 47.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.27, allocations: 5.531 kB / 0.6982 GB, free: 47.25 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 sys.exit(0), Time elapsed: 16.58870387589559] Failed to read output from testmodel.py, exit status != 0: 13.369474647101015 13.391278766 13.220085613 Calling exit ...