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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.006529/0.006529, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.0009712, allocations: 99.3 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4718/0.4718, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004013, allocations: 8 kB / 0.4891 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4425, allocations: 69.5 MB / 0.557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.5675, allocations: 94.64 MB / 0.6494 GB, free: 10.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.5678, allocations: 75.95 kB / 0.6495 GB, free: 10.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.5958, allocations: 10.13 MB / 0.6594 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5958, allocations: 0 / 0.6594 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.5958, allocations: 8 kB / 0.6594 GB, free: 0.6562 MB / 458.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.001766/0.5976, allocations: 0.8215 MB / 0.6602 GB, free: 15.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5977, allocations: 8.031 kB / 0.6602 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.5978, allocations: 70.53 kB / 0.6603 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.5985, allocations: 127.3 kB / 0.6604 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.5993, allocations: 385.6 kB / 0.6608 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5994, allocations: 62.34 kB / 0.6608 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.5995, allocations: 28 kB / 0.6608 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.6004, allocations: 402.2 kB / 0.6612 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6004, allocations: 0 / 0.6612 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.6004, allocations: 12 kB / 0.6612 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6004, allocations: 4 kB / 0.6612 GB, free: 14.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.6012, allocations: 350.4 kB / 0.6616 GB, free: 14.3 MB / 474.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.003076/0.6043, allocations: 2.025 MB / 0.6636 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.6053, allocations: 0.8427 MB / 0.6644 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.6054, allocations: 3.984 kB / 0.6644 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6054, allocations: 38.56 kB / 0.6644 GB, free: 11.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.6054, allocations: 0 / 0.6644 GB, free: 11.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.00533/0.6107, allocations: 1.516 MB / 0.6659 GB, free: 9.586 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.6108, allocations: 51.41 kB / 0.6659 GB, free: 9.523 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.6113, allocations: 392.9 kB / 0.6663 GB, free: 9.133 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.6113, allocations: 29.64 kB / 0.6664 GB, free: 9.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.6115, allocations: 259.9 kB / 0.6666 GB, free: 8.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.6116, allocations: 82.84 kB / 0.6667 GB, free: 8.758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.6116, allocations: 8 kB / 0.6667 GB, free: 8.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6117, allocations: 354.8 kB / 0.667 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.6122, allocations: 192.2 kB / 0.6672 GB, free: 8.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.6126, allocations: 244.9 kB / 0.6674 GB, free: 7.945 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.613, allocations: 208.8 kB / 0.6676 GB, free: 7.742 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.613, allocations: 0 / 0.6676 GB, free: 7.742 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002439/0.6155, allocations: 0.9346 MB / 0.6686 GB, free: 6.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6155, allocations: 7.953 kB / 0.6686 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6155, allocations: 4 kB / 0.6686 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.6179, allocations: 0.6485 MB / 0.6692 GB, free: 6.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.6188, allocations: 175.9 kB / 0.6694 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.6258, allocations: 3.182 MB / 0.6725 GB, free: 2.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.6264, allocations: 59.72 kB / 0.6725 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.6264, allocations: 11.98 kB / 0.6725 GB, free: 2.574 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.6268, allocations: 165 kB / 0.6727 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6269, allocations: 51.39 kB / 0.6727 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.6296, allocations: 0.8637 MB / 0.6736 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.6296, allocations: 8 kB / 0.6736 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.6296, allocations: 0 / 0.6736 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6296, allocations: 0 / 0.6736 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/0.6332, allocations: 1.56 MB / 0.6751 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6333, allocations: 0 / 0.6751 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6343, allocations: 155.8 kB / 0.6753 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/0.6372, allocations: 0.7342 MB / 0.676 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.6373, allocations: 8 kB / 0.676 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006958/0.6442, allocations: 3.163 MB / 0.6791 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6443, allocations: 0 / 0.6791 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.6474, allocations: 1.151 MB / 0.6802 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6476, allocations: 132.5 kB / 0.6803 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.6477, allocations: 8 kB / 0.6803 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.6481, allocations: 36.03 kB / 0.6804 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.6483, allocations: 56.45 kB / 0.6804 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.6483, allocations: 12 kB / 0.6804 GB, free: 10.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.6487, allocations: 299.1 kB / 0.6807 GB, free: 9.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6487, allocations: 0 / 0.6807 GB, free: 9.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005878/0.6493, allocations: 139.8 kB / 0.6809 GB, free: 9.789 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002982/0.6523, allocations: 1.616 MB / 0.6824 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.6551, allocations: 0.8026 MB / 0.6832 GB, free: 7.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6551, allocations: 4.25 kB / 0.6832 GB, free: 7.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.6574, allocations: 0.6036 MB / 0.6838 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.6578, allocations: 21.97 kB / 0.6838 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.6661, allocations: 3.835 MB / 0.6876 GB, free: 2.789 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.6665, allocations: 0.8301 MB / 0.6884 GB, free: 1.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.6667, allocations: 30.97 kB / 0.6884 GB, free: 1.902 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.6669, allocations: 143.4 kB / 0.6886 GB, free: 1.762 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6669, allocations: 0 / 0.6886 GB, free: 1.762 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6919, allocations: 10.35 MB / 0.6987 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.6921, allocations: 226.4 kB / 0.6989 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.968, allocations: 0 / 0.6989 GB, free: 7.367 MB / 0.4948 GB (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/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --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)