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.001314/0.001314, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.556/1.556, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.002473/0.002473, allocations: 208 kB / 309.2 MB, free: 3.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6689/0.6689, allocations: 107.2 MB / 472.8 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.002574/0.002574, allocations: 87.53 kB / 0.633 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.142, allocations: 80.15 MB / 0.7113 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00446/0.1465, allocations: 3.111 MB / 0.7143 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1485, allocations: 1.056 MB / 0.7153 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1487, allocations: 7.938 kB / 0.7154 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1491, allocations: 91.27 kB / 0.7154 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.1495, allocations: 190.6 kB / 0.7156 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.1502, allocations: 287.2 kB / 0.7159 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.1508, allocations: 0.6109 MB / 0.7165 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1511, allocations: 89.98 kB / 0.7166 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.1515, allocations: 270.9 kB / 0.7168 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.1518, allocations: 234.8 kB / 0.7171 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.1519, allocations: 60 kB / 0.7171 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.1521, allocations: 99.98 kB / 0.7172 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1523, allocations: 115.5 kB / 0.7173 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.1525, allocations: 214.9 kB / 0.7175 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.1533, allocations: 0.6851 MB / 0.7182 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1533, allocations: 3.938 kB / 0.7182 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1533, allocations: 0 / 0.7182 GB, free: 0.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1533, allocations: 0 / 0.7182 GB, free: 0.582 MB / 494.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.001569/0.1549, allocations: 0.7771 MB / 0.719 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1549, allocations: 19.97 kB / 0.719 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.797e-05/0.155, allocations: 66.72 kB / 0.719 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.156, allocations: 172.4 kB / 0.7192 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.1567, allocations: 343.2 kB / 0.7195 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1568, allocations: 62.47 kB / 0.7196 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.1569, allocations: 35.89 kB / 0.7196 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.1578, allocations: 377.9 kB / 0.72 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1578, allocations: 0 / 0.72 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1578, allocations: 16 kB / 0.72 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1578, allocations: 8 kB / 0.72 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.1586, allocations: 330.4 kB / 0.7203 GB, free: 14.33 MB / 0.4981 GB 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.002816/0.1614, allocations: 1.334 MB / 0.7216 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/0.1623, allocations: 345.1 kB / 0.722 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.1628, allocations: 176.8 kB / 0.7221 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1628, allocations: 0 / 0.7221 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.1629, allocations: 42.55 kB / 0.7222 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.1629, allocations: 0 / 0.7222 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.00492/0.1678, allocations: 1.171 MB / 0.7233 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1679, allocations: 59.34 kB / 0.7234 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.1684, allocations: 437.8 kB / 0.7238 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1685, allocations: 33.7 kB / 0.7238 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1687, allocations: 256.3 kB / 0.7241 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1688, allocations: 91.22 kB / 0.7242 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1689, allocations: 73.62 kB / 0.7242 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1691, allocations: 350.7 kB / 0.7246 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.1696, allocations: 184.2 kB / 0.7247 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1701, allocations: 236.8 kB / 0.725 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.1752, allocations: 1.295 MB / 0.7262 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1752, allocations: 3.938 kB / 0.7262 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002629/0.1778, allocations: 0.8333 MB / 0.727 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1778, allocations: 7.938 kB / 0.727 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1779, allocations: 8 kB / 0.7271 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.1802, allocations: 0.5625 MB / 0.7276 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.1811, allocations: 139.8 kB / 0.7277 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/0.1888, allocations: 3.044 MB / 0.7307 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.1892, allocations: 43.81 kB / 0.7308 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1892, allocations: 12 kB / 0.7308 GB, free: 3.359 MB / 0.4981 GB 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.0002882/0.1895, allocations: 176.7 kB / 0.7309 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.1896, allocations: 51.67 kB / 0.731 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.1922, allocations: 0.7646 MB / 0.7317 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1922, allocations: 4.125 kB / 0.7317 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1922, allocations: 4 kB / 0.7317 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1922, allocations: 4.266 kB / 0.7317 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.1955, allocations: 1.297 MB / 0.733 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1955, allocations: 7.938 kB / 0.733 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.1964, allocations: 127.7 kB / 0.7331 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/0.1991, allocations: 0.625 MB / 0.7337 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.1992, allocations: 11.98 kB / 0.7338 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/0.2066, allocations: 3.023 MB / 0.7367 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2066, allocations: 0 / 0.7367 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.2097, allocations: 1.043 MB / 0.7377 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2098, allocations: 55.56 kB / 0.7378 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2099, allocations: 8 kB / 0.7378 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.2103, allocations: 23.97 kB / 0.7378 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.2104, allocations: 63.89 kB / 0.7379 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2105, allocations: 15.98 kB / 0.7379 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003884/0.2109, allocations: 299.1 kB / 0.7382 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.2109, allocations: 288 / 0.7382 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005425/0.2114, allocations: 127.9 kB / 0.7383 GB, free: 11.43 MB / 0.5137 GB 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.003212/0.2146, allocations: 1.508 MB / 0.7398 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.2175, allocations: 0.7558 MB / 0.7405 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2175, allocations: 0 / 0.7405 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.2199, allocations: 0.5531 MB / 0.741 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2203, allocations: 41.91 kB / 0.7411 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.2312, allocations: 4.803 MB / 0.7458 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2314, allocations: 216.1 kB / 0.746 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.2316, allocations: 38.95 kB / 0.746 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.2318, allocations: 151.4 kB / 0.7462 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.2318, allocations: 0 / 0.7462 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.2798, allocations: 12.42 MB / 0.7583 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.56, allocations: 0 / 0.7583 GB, free: 6.902 MB / 0.5294 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 & 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: 69.02523574465886] Failed to read output from testmodel.py, exit status != 0: 13.693742624018341 13.720228178 13.562522873 Calling exit ...