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.005145/0.005145, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.37/1.37, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001442/0.001442, allocations: 184.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5306/0.5306, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 74.73 kB / 0.5722 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1581, allocations: 71.3 MB / 0.6418 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004391/0.1625, allocations: 3.389 MB / 0.6451 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1646, allocations: 1.056 MB / 0.6462 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.165, allocations: 4 kB / 0.6462 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1654, allocations: 95.19 kB / 0.6463 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.1661, allocations: 190.7 kB / 0.6465 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.167, allocations: 346.8 kB / 0.6468 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.1678, allocations: 0.607 MB / 0.6474 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.1681, allocations: 160.8 kB / 0.6475 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.1685, allocations: 259 kB / 0.6478 GB, free: 14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.1689, allocations: 266.8 kB / 0.648 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.1691, allocations: 56 kB / 0.6481 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.1693, allocations: 107.9 kB / 0.6482 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1695, allocations: 119.5 kB / 0.6483 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.1697, allocations: 262.6 kB / 0.6486 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.1705, allocations: 0.6773 MB / 0.6492 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1705, allocations: 0 / 0.6492 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1706, allocations: 0 / 0.6492 GB, free: 12.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1706, allocations: 0 / 0.6492 GB, free: 12.53 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.001575/0.1722, allocations: 0.8562 MB / 0.6501 GB, free: 11.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1722, allocations: 8.031 kB / 0.6501 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.1723, allocations: 62.72 kB / 0.6501 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1733, allocations: 176.5 kB / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1739, allocations: 402.3 kB / 0.6507 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.174, allocations: 66.41 kB / 0.6507 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.1741, allocations: 32 kB / 0.6508 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.175, allocations: 381.9 kB / 0.6511 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.175, allocations: 4 kB / 0.6511 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.175, allocations: 12 kB / 0.6511 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.175, allocations: 7.938 kB / 0.6512 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.1758, allocations: 326.5 kB / 0.6515 GB, free: 10.11 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.00261/0.1784, allocations: 1.86 MB / 0.6533 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1794, allocations: 0.8196 MB / 0.6541 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.1799, allocations: 184.8 kB / 0.6543 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.18, allocations: 7.984 kB / 0.6543 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.18, allocations: 38.56 kB / 0.6543 GB, free: 6.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 1.562e-06/0.18, allocations: 0 / 0.6543 GB, free: 6.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004859/0.1849, allocations: 1.237 MB / 0.6555 GB, free: 5.676 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1849, allocations: 63.39 kB / 0.6556 GB, free: 5.602 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.1854, allocations: 425.9 kB / 0.656 GB, free: 5.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1854, allocations: 29.7 kB / 0.656 GB, free: 5.141 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1856, allocations: 268.3 kB / 0.6563 GB, free: 4.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.1857, allocations: 99.19 kB / 0.6564 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1859, allocations: 61.64 kB / 0.6564 GB, free: 4.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.186, allocations: 362.7 kB / 0.6568 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.1864, allocations: 180.2 kB / 0.6569 GB, free: 4.168 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.1869, allocations: 236.8 kB / 0.6572 GB, free: 3.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.192, allocations: 1.286 MB / 0.6584 GB, free: 2.617 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.192, allocations: 4 kB / 0.6584 GB, free: 2.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002517/0.1945, allocations: 0.8411 MB / 0.6592 GB, free: 1.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1945, allocations: 11.88 kB / 0.6592 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1946, allocations: 0 / 0.6592 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.1969, allocations: 0.5626 MB / 0.6598 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.1978, allocations: 143.8 kB / 0.6599 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.2055, allocations: 3.202 MB / 0.6631 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.206, allocations: 51.81 kB / 0.6631 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.206, allocations: 11.94 kB / 0.6631 GB, free: 13.64 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.0002549/0.2063, allocations: 176 kB / 0.6633 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2064, allocations: 43.72 kB / 0.6633 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.209, allocations: 0.7787 MB / 0.6641 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.209, allocations: 4 kB / 0.6641 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.209, allocations: 3.938 kB / 0.6641 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.209, allocations: 3.984 kB / 0.6641 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.2126, allocations: 1.466 MB / 0.6655 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2126, allocations: 0 / 0.6655 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/0.2136, allocations: 127.7 kB / 0.6657 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.2164, allocations: 0.629 MB / 0.6663 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.2164, allocations: 11.98 kB / 0.6663 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.2235, allocations: 3.187 MB / 0.6694 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2236, allocations: 0 / 0.6694 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.2266, allocations: 1.046 MB / 0.6704 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2267, allocations: 124.8 kB / 0.6705 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.2268, allocations: 8 kB / 0.6705 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2272, allocations: 23.97 kB / 0.6706 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.2274, allocations: 59.91 kB / 0.6706 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2274, allocations: 8 kB / 0.6706 GB, free: 5.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003324/0.2278, allocations: 307.1 kB / 0.6709 GB, free: 5.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2278, allocations: 4.062 kB / 0.6709 GB, free: 5.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.2283, allocations: 131.8 kB / 0.6711 GB, free: 5.25 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.002969/0.2313, allocations: 1.51 MB / 0.6725 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.2342, allocations: 0.7794 MB / 0.6733 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2342, allocations: 0 / 0.6733 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.2366, allocations: 0.5687 MB / 0.6738 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.237, allocations: 37.91 kB / 0.6739 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.2476, allocations: 4.803 MB / 0.6786 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.248, allocations: 0.8233 MB / 0.6794 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.2481, allocations: 42.89 kB / 0.6794 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2484, allocations: 147.4 kB / 0.6796 GB, free: 12.35 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2484, allocations: 0 / 0.6796 GB, free: 12.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.2831, allocations: 12.1 MB / 0.6914 GB, free: 404 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.06, allocations: 6.203 kB / 0.6914 GB, free: 400 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)