Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.3 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 90.73 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2908/0.2908, allocations: 42.28 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 16 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 57.55 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4887, allocations: 88.9 MB / 0.5624 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.4891, allocations: 71.97 kB / 0.5624 GB, free: 2.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02642/0.5155, allocations: 9.705 MB / 0.5719 GB, free: 9.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5156, allocations: 0 / 0.5719 GB, free: 9.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.5156, allocations: 8 kB / 0.5719 GB, free: 9.074 MB / 394.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.001937/0.5175, allocations: 0.7941 MB / 0.5727 GB, free: 8.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5176, allocations: 12.03 kB / 0.5727 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.5184, allocations: 132.2 kB / 0.5728 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.5193, allocations: 402.4 kB / 0.5732 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.5194, allocations: 63.47 kB / 0.5733 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.5195, allocations: 28 kB / 0.5733 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.5205, allocations: 405.8 kB / 0.5737 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5205, allocations: 0 / 0.5737 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.5206, allocations: 12 kB / 0.5737 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5206, allocations: 8 kB / 0.5737 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.5214, allocations: 350.4 kB / 0.5741 GB, free: 6.801 MB / 394.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.003354/0.5248, allocations: 2.026 MB / 0.576 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.526, allocations: 0.8359 MB / 0.5769 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.5265, allocations: 208.7 kB / 0.5771 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.5265, allocations: 7.969 kB / 0.5771 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5266, allocations: 34.56 kB / 0.5771 GB, free: 3.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.986e-06/0.5266, allocations: 0 / 0.5771 GB, free: 3.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.005168/0.5317, allocations: 1.521 MB / 0.5786 GB, free: 1.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5318, allocations: 59.39 kB / 0.5786 GB, free: 1.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.5324, allocations: 425.9 kB / 0.579 GB, free: 1.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.5325, allocations: 33.69 kB / 0.5791 GB, free: 1.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5327, allocations: 251.9 kB / 0.5793 GB, free: 1.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.5328, allocations: 90.73 kB / 0.5794 GB, free: 1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.5328, allocations: 15.94 kB / 0.5794 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.533, allocations: 350.8 kB / 0.5798 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.5334, allocations: 200.2 kB / 0.5799 GB, free: 444 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.5339, allocations: 241.1 kB / 0.5802 GB, free: 184 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/0.5386, allocations: 1.419 MB / 0.5816 GB, free: 14.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5386, allocations: 4 kB / 0.5816 GB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002571/0.5412, allocations: 0.9422 MB / 0.5825 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5412, allocations: 4 kB / 0.5825 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5412, allocations: 0 / 0.5825 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.5435, allocations: 0.6447 MB / 0.5831 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.5444, allocations: 175.8 kB / 0.5833 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.5517, allocations: 3.094 MB / 0.5863 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.5522, allocations: 55.72 kB / 0.5864 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.5523, allocations: 19.98 kB / 0.5864 GB, free: 9.668 MB / 410.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.0003276/0.5526, allocations: 159.2 kB / 0.5865 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5527, allocations: 47.38 kB / 0.5866 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.5553, allocations: 0.8685 MB / 0.5874 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5553, allocations: 4.125 kB / 0.5874 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5553, allocations: 4 kB / 0.5874 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5553, allocations: 7.922 kB / 0.5874 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.5589, allocations: 1.557 MB / 0.589 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5589, allocations: 0 / 0.589 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/0.5599, allocations: 159.8 kB / 0.5891 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/0.5626, allocations: 0.7225 MB / 0.5898 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.5626, allocations: 8 kB / 0.5898 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006741/0.5694, allocations: 3.073 MB / 0.5928 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5694, allocations: 7.938 kB / 0.5928 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.5726, allocations: 1.145 MB / 0.5939 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.5728, allocations: 132.4 kB / 0.5941 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.573, allocations: 8 kB / 0.5941 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.5733, allocations: 39.97 kB / 0.5941 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.5735, allocations: 55.89 kB / 0.5942 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.5736, allocations: 11.98 kB / 0.5942 GB, free: 1.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004105/0.574, allocations: 299.1 kB / 0.5945 GB, free: 1.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.574, allocations: 0 / 0.5945 GB, free: 1.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006538/0.5747, allocations: 139.8 kB / 0.5946 GB, free: 0.9727 MB / 410.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.0002381/0.5749, allocations: 127.7 kB / 0.5947 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.5775, allocations: 0.8039 MB / 0.5955 GB, free: 20 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5776, allocations: 0 / 0.5955 GB, free: 20 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.5797, allocations: 0.6039 MB / 0.5961 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.5803, allocations: 30.81 kB / 0.5961 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.5841, allocations: 1.161 MB / 0.5973 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.5845, allocations: 0.8224 MB / 0.5981 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.5847, allocations: 30.97 kB / 0.5981 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.5848, allocations: 23.38 kB / 0.5981 GB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5848, allocations: 0 / 0.5981 GB, free: 13.29 MB / 426.7 MB Notification: Performance of Templates: time 0.01309/0.5979, allocations: 6.349 MB / 0.6043 GB, free: 6.957 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)