Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07602/0.07602, allocations: 12.6 MB / 28.9 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.5 kB / 32.51 MB, free: 3.559 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 184.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4063/0.4063, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 145.8 kB / 0.5565 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1126, allocations: 68.13 MB / 0.623 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004061/0.1167, allocations: 3.433 MB / 0.6264 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1186, allocations: 1.025 MB / 0.6274 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1189, allocations: 7.938 kB / 0.6274 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1192, allocations: 95.25 kB / 0.6275 GB, free: 10.97 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1196, allocations: 190.6 kB / 0.6277 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.1203, allocations: 350.9 kB / 0.628 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.1208, allocations: 0.607 MB / 0.6286 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.121, allocations: 148.9 kB / 0.6287 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.1213, allocations: 247.1 kB / 0.629 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.1216, allocations: 274.7 kB / 0.6292 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.1217, allocations: 52 kB / 0.6293 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1219, allocations: 95.98 kB / 0.6294 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.122, allocations: 119.5 kB / 0.6295 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1222, allocations: 270.5 kB / 0.6297 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.1229, allocations: 0.6735 MB / 0.6304 GB, free: 7.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1229, allocations: 11.94 kB / 0.6304 GB, free: 7.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1229, allocations: 4 kB / 0.6304 GB, free: 7.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1229, allocations: 0 / 0.6304 GB, free: 7.941 MB / 446.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.00136/0.1243, allocations: 0.8254 MB / 0.6312 GB, free: 7.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1243, allocations: 11.98 kB / 0.6312 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/0.1253, allocations: 168.2 kB / 0.6314 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.126, allocations: 409.8 kB / 0.6318 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.1261, allocations: 66.66 kB / 0.6318 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/0.1262, allocations: 24 kB / 0.6319 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1275, allocations: 381.9 kB / 0.6322 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1275, allocations: 0 / 0.6322 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.1276, allocations: 16 kB / 0.6322 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1276, allocations: 8 kB / 0.6323 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.1284, allocations: 330.4 kB / 0.6326 GB, free: 5.629 MB / 446.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.002694/0.1311, allocations: 1.841 MB / 0.6344 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1322, allocations: 0.8172 MB / 0.6352 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.1327, allocations: 188.8 kB / 0.6353 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1327, allocations: 4 kB / 0.6353 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1327, allocations: 42.56 kB / 0.6354 GB, free: 2.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.1327, allocations: 3.938 kB / 0.6354 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004668/0.1374, allocations: 1.244 MB / 0.6366 GB, free: 1.195 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1375, allocations: 51.41 kB / 0.6367 GB, free: 1.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.1379, allocations: 433.9 kB / 0.6371 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.138, allocations: 33.7 kB / 0.6371 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1382, allocations: 259.9 kB / 0.6374 GB, free: 416 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.1382, allocations: 86.75 kB / 0.6374 GB, free: 328 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1384, allocations: 65.59 kB / 0.6375 GB, free: 256 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1385, allocations: 358.7 kB / 0.6378 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.1389, allocations: 180.2 kB / 0.638 GB, free: 15.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.1394, allocations: 232.9 kB / 0.6382 GB, free: 15.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.1442, allocations: 1.298 MB / 0.6395 GB, free: 14.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1442, allocations: 0 / 0.6395 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002397/0.1466, allocations: 0.8485 MB / 0.6403 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1466, allocations: 4 kB / 0.6403 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1466, allocations: 7.938 kB / 0.6403 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.1488, allocations: 0.5587 MB / 0.6409 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.1496, allocations: 147.7 kB / 0.641 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/0.157, allocations: 3.184 MB / 0.6441 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.1575, allocations: 47.72 kB / 0.6442 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1575, allocations: 12 kB / 0.6442 GB, free: 9.191 MB / 462.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.000282/0.1578, allocations: 177.1 kB / 0.6444 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1579, allocations: 43.44 kB / 0.6444 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.1604, allocations: 0.7708 MB / 0.6452 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1605, allocations: 7.938 kB / 0.6452 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1605, allocations: 0 / 0.6452 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1605, allocations: 3.984 kB / 0.6452 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.1637, allocations: 1.475 MB / 0.6466 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1637, allocations: 0 / 0.6466 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.1647, allocations: 119.9 kB / 0.6467 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.1673, allocations: 0.6327 MB / 0.6473 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.1674, allocations: 15.98 kB / 0.6474 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007014/0.1744, allocations: 3.174 MB / 0.6505 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1744, allocations: 0 / 0.6505 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.1774, allocations: 1.048 MB / 0.6515 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.1776, allocations: 128.3 kB / 0.6516 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.1777, allocations: 12.28 kB / 0.6516 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.1781, allocations: 19.97 kB / 0.6516 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.1782, allocations: 59.91 kB / 0.6517 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1783, allocations: 11.94 kB / 0.6517 GB, free: 1.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.1786, allocations: 303.2 kB / 0.652 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1786, allocations: 0 / 0.652 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.1792, allocations: 131.8 kB / 0.6521 GB, free: 0.8086 MB / 462.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.000173/0.1794, allocations: 103.2 kB / 0.6522 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.1822, allocations: 0.7675 MB / 0.653 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1822, allocations: 0 / 0.653 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.1845, allocations: 0.5843 MB / 0.6535 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1849, allocations: 33.91 kB / 0.6536 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.1885, allocations: 1.034 MB / 0.6546 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.189, allocations: 0.8232 MB / 0.6554 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1891, allocations: 27.44 kB / 0.6554 GB, free: 13.35 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1891, allocations: 0 / 0.6554 GB, free: 13.35 MB / 478.1 MB Notification: Performance of Templates: time 0.01061/0.1997, allocations: 7.239 MB / 0.6625 GB, free: 6.102 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)