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.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.00142/0.00142, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.458/1.458, allocations: 225.6 MB / 244.8 MB, free: 14.18 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.002787/0.002787, allocations: 204.8 kB / 299.8 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5715/0.5715, allocations: 99.66 MB / 454.4 MB, free: 5.051 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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 0.003544/0.003544, allocations: 87.86 kB / 0.6073 GB, free: 9.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1742, allocations: 76.94 MB / 0.6824 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004771/0.1789, allocations: 3.432 MB / 0.6858 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1812, allocations: 1.052 MB / 0.6868 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1814, allocations: 4 kB / 0.6868 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1818, allocations: 99.19 kB / 0.6869 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1822, allocations: 186.7 kB / 0.6871 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.183, allocations: 342.9 kB / 0.6874 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.1836, allocations: 0.6148 MB / 0.688 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.1839, allocations: 97.22 kB / 0.6881 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.1842, allocations: 255 kB / 0.6884 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.1845, allocations: 266.8 kB / 0.6886 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.1846, allocations: 52 kB / 0.6887 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.1848, allocations: 107.9 kB / 0.6888 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.185, allocations: 119.5 kB / 0.6889 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1852, allocations: 270.6 kB / 0.6891 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007725/0.186, allocations: 0.677 MB / 0.6898 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.186, allocations: 0 / 0.6898 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.186, allocations: 0 / 0.6898 GB, free: 4.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.186, allocations: 0 / 0.6898 GB, free: 4.844 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.001629/0.1876, allocations: 0.8523 MB / 0.6906 GB, free: 3.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1877, allocations: 8.031 kB / 0.6906 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.747e-05/0.1878, allocations: 66.73 kB / 0.6907 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.1888, allocations: 180.4 kB / 0.6909 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.1894, allocations: 398.3 kB / 0.6913 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.1895, allocations: 74.41 kB / 0.6913 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.1896, allocations: 28 kB / 0.6914 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.1904, allocations: 389.9 kB / 0.6917 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1904, allocations: 0 / 0.6917 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1905, allocations: 11.94 kB / 0.6917 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1905, allocations: 8 kB / 0.6917 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.1912, allocations: 334.4 kB / 0.6921 GB, free: 2.418 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.002941/0.1941, allocations: 1.86 MB / 0.6939 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3139/0.5081, allocations: 0.7856 MB / 0.6946 GB, free: 17.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.5087, allocations: 174.1 kB / 0.6948 GB, free: 17.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.5088, allocations: 2.594 kB / 0.6948 GB, free: 17.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5088, allocations: 35.8 kB / 0.6948 GB, free: 17.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=24): time 2.736e-06/0.5088, allocations: 1.094 kB / 0.6949 GB, free: 17.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.004755/0.5136, allocations: 1.244 MB / 0.6961 GB, free: 17.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.5136, allocations: 60.66 kB / 0.6961 GB, free: 17.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.5141, allocations: 435.8 kB / 0.6965 GB, free: 16.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5141, allocations: 27.2 kB / 0.6966 GB, free: 16.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5143, allocations: 260.5 kB / 0.6968 GB, free: 16.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.5143, allocations: 90.22 kB / 0.6969 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5145, allocations: 63.25 kB / 0.697 GB, free: 16.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.5145, allocations: 356.9 kB / 0.6973 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.5149, allocations: 183.2 kB / 0.6975 GB, free: 16.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.5153, allocations: 228.3 kB / 0.6977 GB, free: 16.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.5197, allocations: 1.304 MB / 0.699 GB, free: 16.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5197, allocations: 0 / 0.699 GB, free: 16.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002307/0.522, allocations: 0.8483 MB / 0.6998 GB, free: 16.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5221, allocations: 3.781 kB / 0.6998 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5221, allocations: 1.828 kB / 0.6998 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.5242, allocations: 0.5579 MB / 0.7003 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.525, allocations: 136.2 kB / 0.7005 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.5318, allocations: 3.211 MB / 0.7036 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.5322, allocations: 49.52 kB / 0.7037 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.5323, allocations: 11.2 kB / 0.7037 GB, free: 14.01 MB / 494.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.0002709/0.5325, allocations: 165.7 kB / 0.7038 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5327, allocations: 48.72 kB / 0.7039 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.5351, allocations: 0.7614 MB / 0.7046 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5351, allocations: 3.547 kB / 0.7046 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5351, allocations: 5.844 kB / 0.7046 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5351, allocations: 9.297 kB / 0.7046 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.5382, allocations: 1.465 MB / 0.7061 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5382, allocations: 3.938 kB / 0.7061 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.5391, allocations: 123.3 kB / 0.7062 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.5417, allocations: 0.6298 MB / 0.7068 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.5417, allocations: 13.95 kB / 0.7068 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/0.5482, allocations: 3.173 MB / 0.7099 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5482, allocations: 4.562 kB / 0.7099 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.5512, allocations: 1.04 MB / 0.7109 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.5514, allocations: 123 kB / 0.711 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.5515, allocations: 11.42 kB / 0.7111 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.5519, allocations: 24.45 kB / 0.7111 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.5521, allocations: 59.64 kB / 0.7111 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.5522, allocations: 12.72 kB / 0.7112 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.5527, allocations: 300.8 kB / 0.7114 GB, free: 9.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5527, allocations: 0 / 0.7114 GB, free: 9.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007892/0.5535, allocations: 135 kB / 0.7116 GB, free: 9.941 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.003286/0.5567, allocations: 1.515 MB / 0.713 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.5597, allocations: 0.7443 MB / 0.7138 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5598, allocations: 0.6562 kB / 0.7138 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.5621, allocations: 0.558 MB / 0.7143 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.5626, allocations: 38.97 kB / 0.7144 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.574, allocations: 4.794 MB / 0.719 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.5743, allocations: 0.8245 MB / 0.7198 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.5744, allocations: 37.95 kB / 0.7199 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5746, allocations: 151 kB / 0.72 GB, free: 5.152 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5746, allocations: 0 / 0.72 GB, free: 5.152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/0.6249, allocations: 12.23 MB / 0.732 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.83, allocations: 10.11 kB / 0.732 GB, free: 15.37 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 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.333462993148714] Failed to read output from testmodel.py, exit status != 0: 13.934808787889779 13.95652819 13.766359135 Calling exit ...