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.0007482/0.0007482, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.81/0.81, allocations: 177.2 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001039/0.001039, allocations: 159.2 kB / 256 MB, free: 13.34 MB / 250.7 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.2556/0.2556, allocations: 80.37 MB / 392.7 MB, free: 2.359 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.192e-05, allocations: 6.219 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002602/0.002624, allocations: 3.1 MB / 0.558 GB, free: 9.484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.00391, allocations: 1.04 MB / 0.559 GB, free: 8.441 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.00406, allocations: 8 kB / 0.559 GB, free: 8.434 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.004279, allocations: 95.14 kB / 0.5591 GB, free: 8.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.00455, allocations: 198.5 kB / 0.5593 GB, free: 8.145 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.004986, allocations: 287 kB / 0.5595 GB, free: 7.863 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.00539, allocations: 0.6261 MB / 0.5601 GB, free: 7.234 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.005569, allocations: 109.5 kB / 0.5603 GB, free: 7.121 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.005946, allocations: 367.1 kB / 0.5606 GB, free: 6.762 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.006141, allocations: 199.4 kB / 0.5608 GB, free: 6.566 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.006217, allocations: 56 kB / 0.5608 GB, free: 6.512 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.006339, allocations: 99.92 kB / 0.5609 GB, free: 6.414 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.006394, allocations: 119.5 kB / 0.5611 GB, free: 6.297 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.006494, allocations: 183.5 kB / 0.5612 GB, free: 6.117 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.006999, allocations: 0.6892 MB / 0.5619 GB, free: 5.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007002, allocations: 3.984 kB / 0.5619 GB, free: 5.422 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007003, allocations: 7.938 kB / 0.5619 GB, free: 5.414 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.007008, allocations: 4 kB / 0.5619 GB, free: 5.41 MB / 490.7 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.0008839/0.007892, allocations: 0.7654 MB / 0.5627 GB, free: 4.609 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.007924, allocations: 8.031 kB / 0.5627 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.007978, allocations: 70.72 kB / 0.5627 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.008473, allocations: 176.4 kB / 0.5629 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.008844, allocations: 334.4 kB / 0.5632 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.008913, allocations: 62.91 kB / 0.5633 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.008955, allocations: 24.38 kB / 0.5633 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.009625, allocations: 385.9 kB / 0.5637 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.009633, allocations: 4 kB / 0.5637 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.009657, allocations: 12 kB / 0.5637 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.009664, allocations: 11.94 kB / 0.5637 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.01008, allocations: 334.4 kB / 0.564 GB, free: 3.172 MB / 490.7 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.001541/0.01162, allocations: 1.353 MB / 0.5653 GB, free: 1.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.01213, allocations: 344.5 kB / 0.5657 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.01237, allocations: 176.8 kB / 0.5658 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.0124, allocations: 4 kB / 0.5658 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.01242, allocations: 34.56 kB / 0.5659 GB, free: 1.211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.01242, allocations: 0 / 0.5659 GB, free: 1.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002638/0.01506, allocations: 1.169 MB / 0.567 GB, free: 32 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.0151, allocations: 55.34 kB / 0.5671 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.01541, allocations: 441.8 kB / 0.5675 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.01544, allocations: 29.7 kB / 0.5675 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01556, allocations: 260.3 kB / 0.5678 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.01561, allocations: 95.2 kB / 0.5679 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.01569, allocations: 65.62 kB / 0.5679 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.01578, allocations: 350.8 kB / 0.5683 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.01602, allocations: 192.2 kB / 0.5684 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.01628, allocations: 224.9 kB / 0.5687 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.01879, allocations: 1.283 MB / 0.5699 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01879, allocations: 0 / 0.5699 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001266/0.02006, allocations: 0.8525 MB / 0.5707 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.02007, allocations: 8 kB / 0.5708 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02008, allocations: 0 / 0.5708 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.02117, allocations: 0.5587 MB / 0.5713 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.02156, allocations: 147.7 kB / 0.5714 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.02543, allocations: 3.05 MB / 0.5744 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.0256, allocations: 47.83 kB / 0.5745 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.02562, allocations: 16 kB / 0.5745 GB, free: 8.184 MB / 0.4948 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.0001375/0.02576, allocations: 166.1 kB / 0.5746 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.0258, allocations: 43.72 kB / 0.5747 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.02715, allocations: 0.7616 MB / 0.5754 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.02715, allocations: 3.938 kB / 0.5754 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.02715, allocations: 0 / 0.5754 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02716, allocations: 7.984 kB / 0.5754 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.02894, allocations: 1.305 MB / 0.5767 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02894, allocations: 4.062 kB / 0.5767 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.0294, allocations: 119.9 kB / 0.5768 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.03069, allocations: 0.6288 MB / 0.5774 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.03072, allocations: 11.98 kB / 0.5775 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.03445, allocations: 3.017 MB / 0.5804 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.03445, allocations: 3.938 kB / 0.5804 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.03597, allocations: 1.049 MB / 0.5814 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.03602, allocations: 43.67 kB / 0.5815 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.03605, allocations: 12 kB / 0.5815 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.03621, allocations: 28.09 kB / 0.5815 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.03631, allocations: 63.89 kB / 0.5816 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.03632, allocations: 11.94 kB / 0.5816 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001941/0.03652, allocations: 303.1 kB / 0.5819 GB, free: 420 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03652, allocations: 0 / 0.5819 GB, free: 420 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000296/0.03682, allocations: 131.9 kB / 0.582 GB, free: 288 kB / 0.4948 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.001796/0.03861, allocations: 1.503 MB / 0.5835 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.03997, allocations: 0.7557 MB / 0.5842 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.03997, allocations: 0 / 0.5842 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.04105, allocations: 0.557 MB / 0.5847 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.04127, allocations: 37.97 kB / 0.5848 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.04682, allocations: 4.783 MB / 0.5894 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.04696, allocations: 220 kB / 0.5897 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.088e-05/0.04703, allocations: 38.95 kB / 0.5897 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.04716, allocations: 144.5 kB / 0.5898 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.04716, allocations: 288 / 0.5898 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/0.2416, allocations: 12.59 MB / 0.6021 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.651, allocations: 3.875 kB / 0.6021 GB, free: 94.29 MB / 0.5105 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 9.826805908232927] Failed to read output from testmodel.py, exit status != 0: 7.74122410826385 7.748582016 7.740018476 Calling exit ...