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.00142/0.00142, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.462/1.462, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001578/0.001578, allocations: 217.5 kB / 306 MB, free: 4.309 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.5039/0.5039, allocations: 79.71 MB / 441.8 MB, free: 148 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="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.002397/0.002397, allocations: 79.88 kB / 0.5878 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1593, allocations: 73.26 MB / 0.6593 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004756/0.164, allocations: 3.417 MB / 0.6627 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.1662, allocations: 1.103 MB / 0.6637 GB, free: 3.699 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1664, allocations: 4 kB / 0.6637 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1667, allocations: 91.2 kB / 0.6638 GB, free: 3.605 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.0004523/0.1672, allocations: 194.6 kB / 0.664 GB, free: 3.414 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.1679, allocations: 306.6 kB / 0.6643 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.1685, allocations: 0.603 MB / 0.6649 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1688, allocations: 100.9 kB / 0.665 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.1691, allocations: 263 kB / 0.6652 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.1695, allocations: 270.8 kB / 0.6655 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.1696, allocations: 52 kB / 0.6656 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1698, allocations: 111.9 kB / 0.6657 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1699, allocations: 119.5 kB / 0.6658 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.1702, allocations: 266.6 kB / 0.666 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.171, allocations: 0.6693 MB / 0.6667 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.171, allocations: 4 kB / 0.6667 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.171, allocations: 0 / 0.6667 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.171, allocations: 0 / 0.6667 GB, free: 0.6562 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.001611/0.1726, allocations: 0.8484 MB / 0.6675 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1726, allocations: 8.031 kB / 0.6675 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.213e-05/0.1727, allocations: 66.72 kB / 0.6676 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.1738, allocations: 180.4 kB / 0.6678 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.1744, allocations: 402.3 kB / 0.6681 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1745, allocations: 66.47 kB / 0.6682 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.1746, allocations: 28 kB / 0.6682 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.1755, allocations: 381.9 kB / 0.6686 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1755, allocations: 0 / 0.6686 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1755, allocations: 12 kB / 0.6686 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1755, allocations: 12 kB / 0.6686 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.1763, allocations: 330.4 kB / 0.6689 GB, free: 14.25 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.003267/0.1796, allocations: 1.86 MB / 0.6707 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1808, allocations: 0.7962 MB / 0.6715 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.1813, allocations: 178.3 kB / 0.6717 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.1813, allocations: 3.984 kB / 0.6717 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1814, allocations: 38.56 kB / 0.6717 GB, free: 11.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/0.1814, allocations: 4 kB / 0.6717 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.00508/0.1864, allocations: 1.244 MB / 0.673 GB, free: 9.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1865, allocations: 55.41 kB / 0.673 GB, free: 9.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.1871, allocations: 433.9 kB / 0.6734 GB, free: 9.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1871, allocations: 25.7 kB / 0.6734 GB, free: 9.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.1873, allocations: 264.3 kB / 0.6737 GB, free: 9.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1874, allocations: 91.25 kB / 0.6738 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.1876, allocations: 69.62 kB / 0.6739 GB, free: 8.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1878, allocations: 358.7 kB / 0.6742 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.1882, allocations: 188.2 kB / 0.6744 GB, free: 8.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.1887, allocations: 225.8 kB / 0.6746 GB, free: 8.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.194, allocations: 1.286 MB / 0.6758 GB, free: 6.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.194, allocations: 0 / 0.6758 GB, free: 6.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00277/0.1968, allocations: 0.8449 MB / 0.6767 GB, free: 5.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1968, allocations: 7.938 kB / 0.6767 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1968, allocations: 4 kB / 0.6767 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.1993, allocations: 0.5665 MB / 0.6772 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/0.2002, allocations: 139.8 kB / 0.6774 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008675/0.2089, allocations: 3.201 MB / 0.6805 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.2094, allocations: 43.81 kB / 0.6805 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.2095, allocations: 16.11 kB / 0.6806 GB, free: 1.824 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.0003265/0.2098, allocations: 174.4 kB / 0.6807 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.2099, allocations: 47.67 kB / 0.6808 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.2127, allocations: 0.7669 MB / 0.6815 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2128, allocations: 7.984 kB / 0.6815 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2128, allocations: 0 / 0.6815 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2128, allocations: 4 kB / 0.6815 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.2166, allocations: 1.47 MB / 0.683 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2166, allocations: 0 / 0.683 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/0.2176, allocations: 131.7 kB / 0.6831 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/0.2205, allocations: 0.6327 MB / 0.6837 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.2205, allocations: 7.984 kB / 0.6837 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008261/0.2288, allocations: 3.179 MB / 0.6868 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2288, allocations: 0 / 0.6868 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.2322, allocations: 1.045 MB / 0.6878 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.2323, allocations: 120.8 kB / 0.688 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.582e-05/0.2324, allocations: 8.062 kB / 0.688 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.2328, allocations: 23.97 kB / 0.688 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.233, allocations: 59.91 kB / 0.688 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.233, allocations: 8 kB / 0.688 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004805/0.2335, allocations: 303.1 kB / 0.6883 GB, free: 9.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2335, allocations: 0 / 0.6883 GB, free: 9.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006524/0.2342, allocations: 135.8 kB / 0.6885 GB, free: 9.441 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.003431/0.2376, allocations: 1.524 MB / 0.69 GB, free: 7.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.2408, allocations: 0.744 MB / 0.6907 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2408, allocations: 0 / 0.6907 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.2433, allocations: 0.5569 MB / 0.6912 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.2438, allocations: 44.56 kB / 0.6913 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.256, allocations: 4.778 MB / 0.6959 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.2565, allocations: 0.8233 MB / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.2567, allocations: 34.95 kB / 0.6968 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.2569, allocations: 147.4 kB / 0.6969 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of SimCode: time 2.594e-06/0.2569, allocations: 0 / 0.6969 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/0.5878, allocations: 12.19 MB / 0.7088 GB, free: 36.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.68, allocations: 6.125 kB / 0.7088 GB, free: 36.77 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 & 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: 16.145578886993462] Failed to read output from testmodel.py, exit status != 0: 12.783421814994654 12.803827774 12.629098189 Calling exit ...