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.07863/0.07863, allocations: 12.59 MB / 28.22 MB, free: 0.7812 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.0009957/0.0009958, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.284/1.284, allocations: 205.1 MB / 240.4 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.001203/0.001203, allocations: 188.5 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4529/0.4529, allocations: 78.5 MB / 419.3 MB, free: 10.75 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.002589/0.002589, allocations: 137 kB / 0.5558 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1242, allocations: 68.12 MB / 0.6224 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004392/0.1286, allocations: 3.437 MB / 0.6257 GB, free: 9.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1307, allocations: 1.029 MB / 0.6267 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1311, allocations: 4 kB / 0.6267 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.1315, allocations: 99.2 kB / 0.6268 GB, free: 8.59 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.0005435/0.1321, allocations: 186.7 kB / 0.627 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.1328, allocations: 346.9 kB / 0.6273 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.1335, allocations: 0.6148 MB / 0.6279 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.1337, allocations: 148.9 kB / 0.6281 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.1341, allocations: 247 kB / 0.6283 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.1345, allocations: 270.8 kB / 0.6286 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.1346, allocations: 59.98 kB / 0.6286 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1348, allocations: 95.98 kB / 0.6287 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1349, allocations: 115.5 kB / 0.6288 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.1351, allocations: 274.5 kB / 0.6291 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.1358, allocations: 0.6657 MB / 0.6297 GB, free: 5.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1358, allocations: 3.984 kB / 0.6297 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1358, allocations: 4 kB / 0.6297 GB, free: 5.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1358, allocations: 0 / 0.6297 GB, free: 5.578 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.001487/0.1373, allocations: 0.8293 MB / 0.6305 GB, free: 4.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1374, allocations: 15.98 kB / 0.6306 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1385, allocations: 172.2 kB / 0.6307 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1391, allocations: 405.8 kB / 0.6311 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.1392, allocations: 66.66 kB / 0.6312 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.1393, allocations: 31.94 kB / 0.6312 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.1402, allocations: 381.9 kB / 0.6316 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1402, allocations: 0 / 0.6316 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.1402, allocations: 16 kB / 0.6316 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1402, allocations: 4 kB / 0.6316 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.141, allocations: 334.4 kB / 0.6319 GB, free: 3.25 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.002885/0.1439, allocations: 1.844 MB / 0.6337 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.145, allocations: 0.8143 MB / 0.6345 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.1455, allocations: 188.7 kB / 0.6347 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1455, allocations: 4 kB / 0.6347 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1456, allocations: 38.56 kB / 0.6347 GB, free: 100 kB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.1456, allocations: 0 / 0.6347 GB, free: 100 kB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004969/0.1506, allocations: 1.244 MB / 0.6359 GB, free: 14.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1506, allocations: 55.41 kB / 0.636 GB, free: 14.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.1512, allocations: 433.9 kB / 0.6364 GB, free: 14.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1512, allocations: 25.7 kB / 0.6364 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1514, allocations: 263.9 kB / 0.6367 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.47e-05/0.1515, allocations: 90.73 kB / 0.6368 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1516, allocations: 61.59 kB / 0.6368 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1518, allocations: 362.7 kB / 0.6372 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.1523, allocations: 180.2 kB / 0.6373 GB, free: 13.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.1527, allocations: 228.9 kB / 0.6376 GB, free: 13.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/0.1578, allocations: 1.306 MB / 0.6388 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1579, allocations: 0 / 0.6388 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002565/0.1604, allocations: 0.8407 MB / 0.6397 GB, free: 10.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1605, allocations: 4 kB / 0.6397 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1605, allocations: 3.938 kB / 0.6397 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.1628, allocations: 0.5626 MB / 0.6402 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.1637, allocations: 143.8 kB / 0.6404 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.1715, allocations: 3.201 MB / 0.6435 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.172, allocations: 51.66 kB / 0.6435 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.1721, allocations: 8 kB / 0.6435 GB, free: 6.812 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.0003191/0.1724, allocations: 173.8 kB / 0.6437 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1726, allocations: 43.44 kB / 0.6437 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.1752, allocations: 0.7708 MB / 0.6445 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1752, allocations: 0 / 0.6445 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1752, allocations: 0 / 0.6445 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1752, allocations: 7.984 kB / 0.6445 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.1787, allocations: 1.467 MB / 0.6459 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.1787, allocations: 4 kB / 0.6459 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.1797, allocations: 119.9 kB / 0.6461 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/0.1826, allocations: 0.6444 MB / 0.6467 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.1827, allocations: 11.98 kB / 0.6467 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.1903, allocations: 3.167 MB / 0.6498 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1904, allocations: 4 kB / 0.6498 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.1936, allocations: 1.044 MB / 0.6508 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1938, allocations: 128.4 kB / 0.6509 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.1939, allocations: 4 kB / 0.6509 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.1943, allocations: 23.97 kB / 0.651 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.1945, allocations: 59.92 kB / 0.651 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1945, allocations: 7.984 kB / 0.651 GB, free: 14.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.1949, allocations: 299.1 kB / 0.6513 GB, free: 14.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1949, allocations: 4.062 kB / 0.6513 GB, free: 14.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.1955, allocations: 131.8 kB / 0.6514 GB, free: 14.44 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.0001851/0.1957, allocations: 107.2 kB / 0.6515 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.1987, allocations: 0.7714 MB / 0.6523 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1987, allocations: 0 / 0.6523 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.2012, allocations: 0.5843 MB / 0.6529 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2016, allocations: 37.84 kB / 0.6529 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.2054, allocations: 0.9969 MB / 0.6539 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.2058, allocations: 0.8232 MB / 0.6547 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.206, allocations: 38.94 kB / 0.6547 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.2061, allocations: 27.44 kB / 0.6547 GB, free: 10.97 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2061, allocations: 0 / 0.6547 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Templates: time 0.01373/0.2198, allocations: 7.669 MB / 0.6622 GB, free: 3.301 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)