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.001044/0.001044, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8659/0.8659, allocations: 177.1 MB / 199.4 MB, free: 5.957 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.001018/0.001018, allocations: 160.1 kB / 256 MB, free: 13.36 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.2664/0.2664, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] 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.322e-06/1.322e-06, allocations: 0 / 0.5549 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.19e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002627/0.002639, allocations: 3.119 MB / 0.558 GB, free: 9.359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.003754, allocations: 1.033 MB / 0.559 GB, free: 8.324 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.003897, allocations: 4 kB / 0.559 GB, free: 8.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.004137, allocations: 91.2 kB / 0.5591 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.004413, allocations: 198.5 kB / 0.5593 GB, free: 8.035 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.004845, allocations: 299 kB / 0.5595 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.005194, allocations: 0.6223 MB / 0.5601 GB, free: 7.117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.005362, allocations: 105.5 kB / 0.5602 GB, free: 7.008 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.005667, allocations: 363.2 kB / 0.5606 GB, free: 6.652 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005861, allocations: 207.3 kB / 0.5608 GB, free: 6.449 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.005905, allocations: 56 kB / 0.5608 GB, free: 6.395 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.006023, allocations: 99.91 kB / 0.5609 GB, free: 6.297 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.006078, allocations: 115.5 kB / 0.5611 GB, free: 6.184 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.006184, allocations: 191.4 kB / 0.5612 GB, free: 5.996 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.006643, allocations: 0.6893 MB / 0.5619 GB, free: 5.305 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.006646, allocations: 0 / 0.5619 GB, free: 5.305 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006647, allocations: 0 / 0.5619 GB, free: 5.305 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006652, allocations: 0 / 0.5619 GB, free: 5.305 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.0008921/0.007544, allocations: 0.7731 MB / 0.5627 GB, free: 4.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.007581, allocations: 8.031 kB / 0.5627 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.007635, allocations: 70.72 kB / 0.5627 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.008147, allocations: 176.4 kB / 0.5629 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.008509, allocations: 334.4 kB / 0.5632 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.008588, allocations: 62.91 kB / 0.5633 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.008632, allocations: 28.38 kB / 0.5633 GB, free: 3.793 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.009163, allocations: 389.9 kB / 0.5637 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.009171, allocations: 0 / 0.5637 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.009195, allocations: 11.94 kB / 0.5637 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.009201, allocations: 8 kB / 0.5637 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.009641, allocations: 330.4 kB / 0.564 GB, free: 3.062 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.001577/0.01122, allocations: 1.349 MB / 0.5653 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.01174, allocations: 355.9 kB / 0.5657 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.01199, allocations: 172.8 kB / 0.5658 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01202, allocations: 4 kB / 0.5658 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.01204, allocations: 34.56 kB / 0.5659 GB, free: 1.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.01204, allocations: 0 / 0.5659 GB, free: 1.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002496/0.01453, allocations: 1.169 MB / 0.567 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.01456, allocations: 55.41 kB / 0.5671 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01486, allocations: 437.8 kB / 0.5675 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01489, allocations: 29.7 kB / 0.5675 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.015, allocations: 260.3 kB / 0.5678 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.01505, allocations: 95.2 kB / 0.5679 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.01513, allocations: 61.69 kB / 0.5679 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.01521, allocations: 362.8 kB / 0.5683 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.01545, allocations: 180.2 kB / 0.5684 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.01572, allocations: 236.8 kB / 0.5687 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.0182, allocations: 1.287 MB / 0.5699 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.0182, allocations: 7.938 kB / 0.5699 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00137/0.01957, allocations: 0.837 MB / 0.5707 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01959, allocations: 8 kB / 0.5707 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01959, allocations: 0 / 0.5707 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.02073, allocations: 0.5548 MB / 0.5713 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.02114, allocations: 147.8 kB / 0.5714 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/0.02505, allocations: 3.047 MB / 0.5744 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02523, allocations: 47.83 kB / 0.5745 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.02524, allocations: 15.98 kB / 0.5745 GB, free: 8.074 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.0001366/0.02538, allocations: 164.7 kB / 0.5746 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.02543, allocations: 47.7 kB / 0.5747 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.02675, allocations: 0.7689 MB / 0.5754 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.02675, allocations: 3.938 kB / 0.5754 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02675, allocations: 4 kB / 0.5754 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.02676, allocations: 0 / 0.5754 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.0285, allocations: 1.308 MB / 0.5767 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0285, allocations: 0 / 0.5767 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.02896, allocations: 127.8 kB / 0.5768 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.03031, allocations: 0.6328 MB / 0.5774 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.03033, allocations: 12 kB / 0.5775 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.03406, allocations: 3.017 MB / 0.5804 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.03406, allocations: 4 kB / 0.5804 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.03566, allocations: 1.039 MB / 0.5814 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.03571, allocations: 51.61 kB / 0.5815 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.03574, allocations: 15.92 kB / 0.5815 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.03591, allocations: 19.97 kB / 0.5815 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.03601, allocations: 59.91 kB / 0.5816 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.03602, allocations: 7.984 kB / 0.5816 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002022/0.03622, allocations: 299.1 kB / 0.5819 GB, free: 312 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03622, allocations: 0 / 0.5819 GB, free: 312 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003114/0.03654, allocations: 136 kB / 0.582 GB, free: 176 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.001614/0.03815, allocations: 1.511 MB / 0.5835 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.0396, allocations: 0.7441 MB / 0.5842 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0396, allocations: 4.25 kB / 0.5842 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.04078, allocations: 0.5606 MB / 0.5847 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.04102, allocations: 33.97 kB / 0.5848 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005823/0.04685, allocations: 4.796 MB / 0.5895 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.04698, allocations: 216 kB / 0.5897 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.378e-05/0.04705, allocations: 34.97 kB / 0.5897 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.04719, allocations: 152.4 kB / 0.5898 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.04719, allocations: 0 / 0.5898 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.225, allocations: 12.57 MB / 0.6021 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.01, allocations: 9.75 kB / 0.6021 GB, free: 94.37 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 & /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: 10.432024990208447] Failed to read output from testmodel.py, exit status != 0: 8.102160377427936 8.116332126 8.107017895 Calling exit ...