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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005426/0.005426, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5163/0.5163, allocations: 91.98 MB / 431.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 83.36 kB / 0.5723 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 71.31 MB / 0.6419 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004417/0.1251, allocations: 3.387 MB / 0.6452 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1273, allocations: 1.06 MB / 0.6463 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.1276, allocations: 4 kB / 0.6463 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.128, allocations: 95.14 kB / 0.6464 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.1285, allocations: 170.7 kB / 0.6465 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.1294, allocations: 350.9 kB / 0.6469 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.1301, allocations: 0.6109 MB / 0.6475 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1304, allocations: 156.9 kB / 0.6476 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.1308, allocations: 247 kB / 0.6479 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1312, allocations: 266.8 kB / 0.6481 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.1312, allocations: 59.98 kB / 0.6482 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1315, allocations: 108 kB / 0.6483 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1316, allocations: 115.5 kB / 0.6484 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.1319, allocations: 266.5 kB / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.1327, allocations: 0.6773 MB / 0.6493 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1327, allocations: 0 / 0.6493 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1327, allocations: 0 / 0.6493 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1327, allocations: 0 / 0.6493 GB, free: 12.46 MB / 462.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.001654/0.1344, allocations: 0.8562 MB / 0.6501 GB, free: 11.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1344, allocations: 8.031 kB / 0.6501 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.1345, allocations: 70.72 kB / 0.6502 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.1355, allocations: 168.5 kB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.1363, allocations: 410.3 kB / 0.6508 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1364, allocations: 58.48 kB / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.1365, allocations: 28 kB / 0.6508 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008609/0.1374, allocations: 385.9 kB / 0.6512 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1374, allocations: 0 / 0.6512 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.1374, allocations: 12 kB / 0.6512 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1374, allocations: 4 kB / 0.6512 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.1382, allocations: 338.3 kB / 0.6515 GB, free: 10.04 MB / 462.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.003076/0.1413, allocations: 1.864 MB / 0.6534 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1425, allocations: 0.8156 MB / 0.6542 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.143, allocations: 188.8 kB / 0.6543 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.1431, allocations: 4 kB / 0.6543 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.1431, allocations: 34.56 kB / 0.6544 GB, free: 6.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 2.916e-06/0.1431, allocations: 0 / 0.6544 GB, free: 6.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004951/0.1481, allocations: 1.245 MB / 0.6556 GB, free: 5.598 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1482, allocations: 59.41 kB / 0.6557 GB, free: 5.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1488, allocations: 433.9 kB / 0.6561 GB, free: 5.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.1488, allocations: 29.64 kB / 0.6561 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.149, allocations: 264.3 kB / 0.6563 GB, free: 4.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1492, allocations: 95.2 kB / 0.6564 GB, free: 4.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1493, allocations: 61.64 kB / 0.6565 GB, free: 4.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1495, allocations: 362.7 kB / 0.6568 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.1499, allocations: 184 kB / 0.657 GB, free: 4.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1504, allocations: 233 kB / 0.6572 GB, free: 3.844 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.1555, allocations: 1.286 MB / 0.6585 GB, free: 2.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1556, allocations: 0 / 0.6585 GB, free: 2.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002621/0.1582, allocations: 0.845 MB / 0.6593 GB, free: 1.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1582, allocations: 11.94 kB / 0.6593 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1583, allocations: 0 / 0.6593 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.1606, allocations: 0.5625 MB / 0.6599 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.1615, allocations: 135.9 kB / 0.66 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.169, allocations: 3.21 MB / 0.6631 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.1695, allocations: 47.81 kB / 0.6632 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1696, allocations: 8 kB / 0.6632 GB, free: 13.58 MB / 478.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.0002554/0.1698, allocations: 168.8 kB / 0.6634 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.1699, allocations: 47.72 kB / 0.6634 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.1724, allocations: 0.774 MB / 0.6642 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1724, allocations: 4 kB / 0.6642 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1725, allocations: 0 / 0.6642 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1725, allocations: 3.984 kB / 0.6642 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.1758, allocations: 1.481 MB / 0.6656 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1758, allocations: 0 / 0.6656 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/0.1767, allocations: 119.8 kB / 0.6657 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/0.1794, allocations: 0.6367 MB / 0.6664 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.1795, allocations: 11.98 kB / 0.6664 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/0.1866, allocations: 3.183 MB / 0.6695 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1866, allocations: 0 / 0.6695 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.1896, allocations: 1.052 MB / 0.6705 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1898, allocations: 124.8 kB / 0.6706 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/0.1899, allocations: 8 kB / 0.6706 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.1903, allocations: 23.97 kB / 0.6706 GB, free: 5.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.1904, allocations: 67.97 kB / 0.6707 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1905, allocations: 4 kB / 0.6707 GB, free: 5.605 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000344/0.1908, allocations: 307.1 kB / 0.671 GB, free: 5.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1908, allocations: 0 / 0.671 GB, free: 5.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.1913, allocations: 127.8 kB / 0.6711 GB, free: 5.184 MB / 478.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.002994/0.1943, allocations: 1.513 MB / 0.6726 GB, free: 3.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.1972, allocations: 0.7754 MB / 0.6734 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1972, allocations: 256 / 0.6734 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.1995, allocations: 0.5724 MB / 0.6739 GB, free: 2.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1999, allocations: 35.97 kB / 0.674 GB, free: 2.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.2103, allocations: 4.806 MB / 0.6787 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.2108, allocations: 0.8272 MB / 0.6795 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.211, allocations: 34.95 kB / 0.6795 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.2112, allocations: 143.6 kB / 0.6796 GB, free: 12.29 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2112, allocations: 8 kB / 0.6796 GB, free: 12.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.2542, allocations: 12.09 MB / 0.6914 GB, free: 340 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.87, allocations: 9.203 kB / 0.6915 GB, free: 336 kB / 494.1 MB (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)