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.0005931/0.0005931, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.8262/0.8262, allocations: 177.1 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.0008868/0.0008868, allocations: 148.7 kB / 256 MB, free: 13.34 MB / 250.7 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.2571/0.2571, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.073e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002598/0.002609, allocations: 3.104 MB / 0.5578 GB, free: 9.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003808, allocations: 1.04 MB / 0.5588 GB, free: 8.574 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.003942, allocations: 4 kB / 0.5588 GB, free: 8.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.004153, allocations: 99.14 kB / 0.5589 GB, free: 8.473 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.004415, allocations: 190.5 kB / 0.5591 GB, free: 8.285 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.004809, allocations: 295 kB / 0.5594 GB, free: 7.996 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.005155, allocations: 0.6223 MB / 0.56 GB, free: 7.371 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.005311, allocations: 101.5 kB / 0.5601 GB, free: 7.266 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.005621, allocations: 383.1 kB / 0.5604 GB, free: 6.891 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.00581, allocations: 199.3 kB / 0.5606 GB, free: 6.695 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.005853, allocations: 52 kB / 0.5607 GB, free: 6.645 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.005972, allocations: 99.92 kB / 0.5608 GB, free: 6.547 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.006029, allocations: 123.5 kB / 0.5609 GB, free: 6.426 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.006129, allocations: 183.4 kB / 0.5611 GB, free: 6.246 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.006565, allocations: 0.6815 MB / 0.5617 GB, free: 5.562 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.006567, allocations: 0 / 0.5617 GB, free: 5.562 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006568, allocations: 0 / 0.5617 GB, free: 5.562 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006573, allocations: 0 / 0.5617 GB, free: 5.562 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.0009858/0.007559, allocations: 0.7809 MB / 0.5625 GB, free: 4.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.00759, allocations: 12.02 kB / 0.5625 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.007654, allocations: 62.73 kB / 0.5626 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.008155, allocations: 180.4 kB / 0.5627 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.008507, allocations: 334.4 kB / 0.5631 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.008575, allocations: 62.91 kB / 0.5631 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.008618, allocations: 24.38 kB / 0.5631 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.009123, allocations: 385.9 kB / 0.5635 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.009131, allocations: 0 / 0.5635 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.009154, allocations: 12 kB / 0.5635 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.009161, allocations: 19.88 kB / 0.5635 GB, free: 3.629 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.00959, allocations: 330.4 kB / 0.5639 GB, free: 3.309 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.001585/0.01117, allocations: 1.353 MB / 0.5652 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.01168, allocations: 348.8 kB / 0.5655 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.01193, allocations: 176.8 kB / 0.5657 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.01195, allocations: 0 / 0.5657 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.01197, allocations: 38.56 kB / 0.5657 GB, free: 1.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 9.92e-07/0.01197, allocations: 0 / 0.5657 GB, free: 1.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002438/0.01441, allocations: 1.161 MB / 0.5669 GB, free: 172 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.01444, allocations: 55.41 kB / 0.5669 GB, free: 104 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.01474, allocations: 441.8 kB / 0.5673 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01476, allocations: 29.7 kB / 0.5674 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01487, allocations: 260.3 kB / 0.5676 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.01492, allocations: 95.2 kB / 0.5677 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.015, allocations: 61.69 kB / 0.5678 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.01509, allocations: 354.8 kB / 0.5681 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.01533, allocations: 184.2 kB / 0.5683 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.01558, allocations: 236.8 kB / 0.5685 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.01803, allocations: 1.287 MB / 0.5697 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01804, allocations: 0 / 0.5697 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001292/0.01933, allocations: 0.8487 MB / 0.5706 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.01934, allocations: 4 kB / 0.5706 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01935, allocations: 4 kB / 0.5706 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.02045, allocations: 0.5548 MB / 0.5711 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.02085, allocations: 139.8 kB / 0.5713 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.02473, allocations: 3.05 MB / 0.5742 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.02491, allocations: 51.77 kB / 0.5743 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.02493, allocations: 8 kB / 0.5743 GB, free: 8.332 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.000137/0.02507, allocations: 179.1 kB / 0.5745 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.02511, allocations: 43.72 kB / 0.5745 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.02639, allocations: 0.761 MB / 0.5753 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0264, allocations: 11.92 kB / 0.5753 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.0264, allocations: 0 / 0.5753 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0264, allocations: 7.922 kB / 0.5753 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.02819, allocations: 1.308 MB / 0.5765 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02819, allocations: 128 / 0.5765 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.02863, allocations: 127.9 kB / 0.5767 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.02995, allocations: 0.6366 MB / 0.5773 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02997, allocations: 11.98 kB / 0.5773 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.03358, allocations: 3.013 MB / 0.5802 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.03358, allocations: 0 / 0.5802 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.03512, allocations: 1.039 MB / 0.5813 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.03517, allocations: 47.67 kB / 0.5813 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.0352, allocations: 11.94 kB / 0.5813 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03537, allocations: 28.16 kB / 0.5813 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.03547, allocations: 59.89 kB / 0.5814 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.03548, allocations: 15.98 kB / 0.5814 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001965/0.03568, allocations: 299.1 kB / 0.5817 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.03568, allocations: 0 / 0.5817 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003002/0.03598, allocations: 131.8 kB / 0.5818 GB, free: 428 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.00158/0.03756, allocations: 1.511 MB / 0.5833 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.03893, allocations: 0.7518 MB / 0.584 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.03893, allocations: 0 / 0.584 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.04003, allocations: 0.557 MB / 0.5846 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.04025, allocations: 33.97 kB / 0.5846 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.04575, allocations: 4.785 MB / 0.5893 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.04587, allocations: 220 kB / 0.5895 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.37e-05/0.04594, allocations: 34.95 kB / 0.5895 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.04607, allocations: 152.5 kB / 0.5897 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.04607, allocations: 288 / 0.5897 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/0.2109, allocations: 12.58 MB / 0.602 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.766, allocations: 10.72 kB / 0.602 GB, free: 94.22 MB / 0.5105 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 9.899485100992024] Failed to read output from testmodel.py, exit status != 0: 7.857211781665683 7.864786366 7.856662493 Calling exit ...