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.008145/0.008145, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.454/1.454, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001356/0.001356, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5132/0.5132, allocations: 91.91 MB / 431.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 78.31 kB / 0.5722 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 71.28 MB / 0.6418 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004202/0.1189, allocations: 3.408 MB / 0.6452 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1208, allocations: 1.056 MB / 0.6462 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.121, allocations: 4 kB / 0.6462 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1213, allocations: 87.2 kB / 0.6463 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.1217, allocations: 202.6 kB / 0.6465 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.1223, allocations: 350.9 kB / 0.6468 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.1229, allocations: 0.6031 MB / 0.6474 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1231, allocations: 152.8 kB / 0.6475 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1234, allocations: 251 kB / 0.6478 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.1238, allocations: 274.7 kB / 0.648 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.1239, allocations: 56 kB / 0.6481 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.1241, allocations: 108 kB / 0.6482 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1242, allocations: 115.5 kB / 0.6483 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1244, allocations: 262.6 kB / 0.6486 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.1251, allocations: 0.6734 MB / 0.6492 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1252, allocations: 7.938 kB / 0.6492 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1252, allocations: 0 / 0.6492 GB, free: 12.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1252, allocations: 0 / 0.6492 GB, free: 12.5 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.00148/0.1267, allocations: 0.8562 MB / 0.6501 GB, free: 11.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1267, allocations: 8.031 kB / 0.6501 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.1268, allocations: 70.72 kB / 0.6501 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009798/0.1278, allocations: 164.5 kB / 0.6503 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.1284, allocations: 410.3 kB / 0.6507 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1285, allocations: 62.48 kB / 0.6507 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.1286, allocations: 31.98 kB / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.1294, allocations: 377.9 kB / 0.6511 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1294, allocations: 3.938 kB / 0.6511 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.1295, allocations: 20 kB / 0.6512 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1295, allocations: 4 kB / 0.6512 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.1302, allocations: 326.5 kB / 0.6515 GB, free: 10.08 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.002679/0.1329, allocations: 1.864 MB / 0.6533 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1339, allocations: 0.8184 MB / 0.6541 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.1343, allocations: 184.8 kB / 0.6543 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.1344, allocations: 4 kB / 0.6543 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1344, allocations: 38.56 kB / 0.6543 GB, free: 6.906 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 2.604e-06/0.1344, allocations: 0 / 0.6543 GB, free: 6.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004621/0.1391, allocations: 1.249 MB / 0.6555 GB, free: 5.629 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1391, allocations: 55.41 kB / 0.6556 GB, free: 5.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1396, allocations: 433.9 kB / 0.656 GB, free: 5.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1396, allocations: 29.7 kB / 0.656 GB, free: 5.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1398, allocations: 260.3 kB / 0.6563 GB, free: 4.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.1399, allocations: 99.2 kB / 0.6564 GB, free: 4.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.14, allocations: 61.64 kB / 0.6564 GB, free: 4.672 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1401, allocations: 362.7 kB / 0.6568 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.1406, allocations: 180.2 kB / 0.6569 GB, free: 4.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.141, allocations: 236.9 kB / 0.6572 GB, free: 3.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/0.1457, allocations: 1.29 MB / 0.6584 GB, free: 2.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/0.1457, allocations: 0 / 0.6584 GB, free: 2.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002405/0.1482, allocations: 0.8489 MB / 0.6593 GB, free: 1.715 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1482, allocations: 7.938 kB / 0.6593 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1482, allocations: 0 / 0.6593 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.1504, allocations: 0.5548 MB / 0.6598 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.1512, allocations: 139.8 kB / 0.6599 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.1584, allocations: 3.206 MB / 0.6631 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.1589, allocations: 43.81 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.1589, allocations: 20 kB / 0.6631 GB, free: 13.61 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.0002276/0.1591, allocations: 168.8 kB / 0.6633 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1592, allocations: 43.72 kB / 0.6633 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.1616, allocations: 0.774 MB / 0.6641 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1617, allocations: 11.94 kB / 0.6641 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1617, allocations: 0 / 0.6641 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1617, allocations: 3.984 kB / 0.6641 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.1648, allocations: 1.474 MB / 0.6655 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1649, allocations: 0 / 0.6655 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.1658, allocations: 119.8 kB / 0.6657 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.1684, allocations: 0.6328 MB / 0.6663 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.1685, allocations: 12.08 kB / 0.6663 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00708/0.1756, allocations: 3.186 MB / 0.6694 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1756, allocations: 0 / 0.6694 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.1788, allocations: 1.048 MB / 0.6704 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.179, allocations: 128.8 kB / 0.6705 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1791, allocations: 8 kB / 0.6705 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.1794, allocations: 23.97 kB / 0.6706 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.1796, allocations: 63.84 kB / 0.6706 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.1797, allocations: 7.984 kB / 0.6706 GB, free: 5.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003442/0.18, allocations: 307.1 kB / 0.6709 GB, free: 5.348 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.18, allocations: 0 / 0.6709 GB, free: 5.348 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.1806, allocations: 131.9 kB / 0.6711 GB, free: 5.219 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.002884/0.1835, allocations: 1.505 MB / 0.6725 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.1863, allocations: 0.7792 MB / 0.6733 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1863, allocations: 0 / 0.6733 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.1887, allocations: 0.5726 MB / 0.6738 GB, free: 2.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1891, allocations: 37.91 kB / 0.6739 GB, free: 2.266 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009952/0.1991, allocations: 4.807 MB / 0.6786 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1995, allocations: 0.8194 MB / 0.6794 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.1996, allocations: 38.95 kB / 0.6794 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.1999, allocations: 143.4 kB / 0.6796 GB, free: 12.32 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1999, allocations: 0 / 0.6796 GB, free: 12.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2372, allocations: 12.1 MB / 0.6914 GB, free: 380 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 11.5 kB / 0.6914 GB, free: 372 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)