Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001759/0.001759, allocations: 106 kB / 16.45 MB, free: 6.453 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.475/1.475, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001618/0.001618, allocations: 211.6 kB / 306 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5577/0.5577, allocations: 101.3 MB / 463.4 MB, free: 11.88 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_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.002457/0.002457, allocations: 85.44 kB / 0.6193 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1652, allocations: 78.58 MB / 0.696 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3446/0.5098, allocations: 3.43 MB / 0.6994 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.5119, allocations: 1.102 MB / 0.7005 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.5121, allocations: 4.75 kB / 0.7005 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.5125, allocations: 100.5 kB / 0.7006 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.5129, allocations: 182.4 kB / 0.7007 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.5136, allocations: 301 kB / 0.701 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.5142, allocations: 0.6145 MB / 0.7016 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.5144, allocations: 98.23 kB / 0.7017 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.5148, allocations: 258.6 kB / 0.702 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.5151, allocations: 270.1 kB / 0.7022 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.5152, allocations: 53.22 kB / 0.7023 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.5154, allocations: 107.8 kB / 0.7024 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.5155, allocations: 119.5 kB / 0.7025 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.5157, allocations: 267 kB / 0.7027 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.5164, allocations: 0.6744 MB / 0.7034 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5164, allocations: 4 kB / 0.7034 GB, free: 5.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5164, allocations: 3.344 kB / 0.7034 GB, free: 5.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.5164, allocations: 2.156 kB / 0.7034 GB, free: 5.094 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.0014/0.5178, allocations: 0.849 MB / 0.7042 GB, free: 4.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5179, allocations: 9.625 kB / 0.7042 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.501e-05/0.5179, allocations: 69.42 kB / 0.7043 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009943/0.5189, allocations: 172 kB / 0.7045 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.5195, allocations: 408 kB / 0.7049 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5196, allocations: 64.45 kB / 0.7049 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.5196, allocations: 29.89 kB / 0.7049 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.5204, allocations: 382.2 kB / 0.7053 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5205, allocations: 4.969 kB / 0.7053 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.5205, allocations: 18.03 kB / 0.7053 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5205, allocations: 7.094 kB / 0.7053 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.5212, allocations: 331.3 kB / 0.7057 GB, free: 3.691 MB / 494.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.002684/0.5239, allocations: 1.854 MB / 0.7075 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.5249, allocations: 0.7912 MB / 0.7082 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.5253, allocations: 172.6 kB / 0.7084 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.5254, allocations: 7.172 kB / 0.7084 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5254, allocations: 44.31 kB / 0.7085 GB, free: 1.566 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.5254, allocations: 0 / 0.7085 GB, free: 1.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.004868/0.5302, allocations: 1.251 MB / 0.7097 GB, free: 1.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5303, allocations: 54.94 kB / 0.7097 GB, free: 1.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.5307, allocations: 430.1 kB / 0.7101 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.5308, allocations: 30.31 kB / 0.7102 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.5309, allocations: 257.5 kB / 0.7104 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.531, allocations: 95.02 kB / 0.7105 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5311, allocations: 63.75 kB / 0.7106 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.5312, allocations: 356.9 kB / 0.7109 GB, free: 200 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.5316, allocations: 188.5 kB / 0.7111 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.532, allocations: 236.2 kB / 0.7113 GB, free: 0 / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.5371, allocations: 1.295 MB / 0.7126 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5371, allocations: 0 / 0.7126 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002608/0.5397, allocations: 0.8452 MB / 0.7134 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.5397, allocations: 11.56 kB / 0.7134 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5398, allocations: 0.6562 kB / 0.7134 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.5421, allocations: 0.555 MB / 0.714 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.5429, allocations: 142 kB / 0.7141 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.5506, allocations: 3.198 MB / 0.7172 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.5511, allocations: 50.89 kB / 0.7173 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.5512, allocations: 15.14 kB / 0.7173 GB, free: 13.13 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.0002912/0.5515, allocations: 174.6 kB / 0.7174 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5516, allocations: 48.5 kB / 0.7175 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.5543, allocations: 0.7696 MB / 0.7182 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5543, allocations: 2.844 kB / 0.7182 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5543, allocations: 4 kB / 0.7182 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5543, allocations: 2.344 kB / 0.7182 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.5581, allocations: 1.469 MB / 0.7197 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5581, allocations: 1.922 kB / 0.7197 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/0.5591, allocations: 127.7 kB / 0.7198 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/0.5621, allocations: 0.6273 MB / 0.7204 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.5621, allocations: 11 kB / 0.7204 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008318/0.5704, allocations: 3.177 MB / 0.7235 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5704, allocations: 4.562 kB / 0.7235 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.574, allocations: 1.046 MB / 0.7246 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.5742, allocations: 124.1 kB / 0.7247 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.5743, allocations: 11.78 kB / 0.7247 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5746, allocations: 23.84 kB / 0.7247 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.5748, allocations: 59.19 kB / 0.7248 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.5749, allocations: 8.594 kB / 0.7248 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004309/0.5753, allocations: 300.1 kB / 0.7251 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5753, allocations: 0 / 0.7251 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006381/0.5759, allocations: 138.7 kB / 0.7252 GB, free: 8.938 MB / 0.4981 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.0032/0.5791, allocations: 1.499 MB / 0.7267 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003061/0.5822, allocations: 0.7489 MB / 0.7274 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5822, allocations: 0 / 0.7274 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.5847, allocations: 0.5625 MB / 0.7279 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.5851, allocations: 38.72 kB / 0.728 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5966, allocations: 4.792 MB / 0.7327 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.5971, allocations: 0.8215 MB / 0.7335 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.5972, allocations: 38.84 kB / 0.7335 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.5975, allocations: 153.9 kB / 0.7336 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.5975, allocations: 3.938 kB / 0.7336 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/0.6427, allocations: 12.22 MB / 0.7456 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.48, allocations: 4.25 kB / 0.7456 GB, free: 13.13 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.064397115027532] Failed to read output from testmodel.py, exit status != 0: 13.575930014951155 13.601617766 13.080261849 Calling exit ...