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: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005337/0.005337, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.394/1.394, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001393/0.001393, allocations: 188.5 kB / 289.7 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5318/0.5318, allocations: 91.9 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 73.86 kB / 0.5727 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 71.29 MB / 0.6423 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004203/0.1427, allocations: 3.395 MB / 0.6456 GB, free: 228 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1446, allocations: 1.056 MB / 0.6467 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1448, allocations: 3.938 kB / 0.6467 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1452, allocations: 87.27 kB / 0.6467 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.1456, allocations: 174.6 kB / 0.6469 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.1463, allocations: 346.9 kB / 0.6472 GB, free: 14.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.1468, allocations: 0.6147 MB / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.1471, allocations: 160.9 kB / 0.648 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.1474, allocations: 243.1 kB / 0.6482 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1477, allocations: 274.7 kB / 0.6485 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.1478, allocations: 59.98 kB / 0.6485 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.148, allocations: 104 kB / 0.6486 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.1481, allocations: 115.5 kB / 0.6487 GB, free: 13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1484, allocations: 270.5 kB / 0.649 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.149, allocations: 0.677 MB / 0.6497 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1491, allocations: 0 / 0.6497 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1491, allocations: 0 / 0.6497 GB, free: 12.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1491, allocations: 0 / 0.6497 GB, free: 12.06 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.001414/0.1505, allocations: 0.8523 MB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1505, allocations: 8.031 kB / 0.6505 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1516, allocations: 172.5 kB / 0.6507 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.1521, allocations: 406.3 kB / 0.6511 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1523, allocations: 66.66 kB / 0.6511 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.1523, allocations: 24 kB / 0.6511 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.1532, allocations: 389.9 kB / 0.6515 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1532, allocations: 0 / 0.6515 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.1532, allocations: 8 kB / 0.6515 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1532, allocations: 11.94 kB / 0.6515 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.1539, allocations: 330.4 kB / 0.6519 GB, free: 9.719 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.00267/0.1566, allocations: 1.868 MB / 0.6537 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1577, allocations: 0.8041 MB / 0.6545 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.1581, allocations: 196.8 kB / 0.6546 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.1582, allocations: 4 kB / 0.6547 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1582, allocations: 34.5 kB / 0.6547 GB, free: 6.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1582, allocations: 0 / 0.6547 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004604/0.1629, allocations: 1.245 MB / 0.6559 GB, free: 5.273 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1629, allocations: 59.41 kB / 0.656 GB, free: 5.203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.1634, allocations: 433.9 kB / 0.6564 GB, free: 4.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1634, allocations: 29.7 kB / 0.6564 GB, free: 4.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1636, allocations: 260.3 kB / 0.6566 GB, free: 4.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.1637, allocations: 95.2 kB / 0.6567 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1638, allocations: 65.64 kB / 0.6568 GB, free: 4.312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.164, allocations: 354.7 kB / 0.6571 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.1644, allocations: 192.2 kB / 0.6573 GB, free: 3.766 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.1648, allocations: 224.9 kB / 0.6575 GB, free: 3.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.1695, allocations: 1.29 MB / 0.6588 GB, free: 2.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1695, allocations: 0 / 0.6588 GB, free: 2.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002394/0.1719, allocations: 0.8372 MB / 0.6596 GB, free: 1.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.172, allocations: 11.94 kB / 0.6596 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.172, allocations: 7.938 kB / 0.6596 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/0.1743, allocations: 0.5587 MB / 0.6602 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.1752, allocations: 139.8 kB / 0.6603 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.1832, allocations: 3.21 MB / 0.6634 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.1839, allocations: 47.81 kB / 0.6635 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.184, allocations: 15.98 kB / 0.6635 GB, free: 13.25 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.0004752/0.1845, allocations: 164.8 kB / 0.6637 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.1847, allocations: 47.72 kB / 0.6637 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.1874, allocations: 0.7818 MB / 0.6645 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1874, allocations: 0 / 0.6645 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1874, allocations: 0 / 0.6645 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1874, allocations: 3.938 kB / 0.6645 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.191, allocations: 1.474 MB / 0.6659 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.191, allocations: 0 / 0.6659 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/0.1919, allocations: 119.9 kB / 0.666 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.1945, allocations: 0.6445 MB / 0.6667 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.1945, allocations: 11.98 kB / 0.6667 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/0.2015, allocations: 3.171 MB / 0.6698 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2015, allocations: 4 kB / 0.6698 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.2045, allocations: 1.052 MB / 0.6708 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.2047, allocations: 128.7 kB / 0.6709 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.2048, allocations: 4 kB / 0.6709 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.2052, allocations: 27.97 kB / 0.671 GB, free: 5.352 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.2053, allocations: 55.98 kB / 0.671 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2054, allocations: 11.98 kB / 0.671 GB, free: 5.285 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.2058, allocations: 299.1 kB / 0.6713 GB, free: 4.996 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2058, allocations: 0 / 0.6713 GB, free: 4.996 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.2064, allocations: 135.8 kB / 0.6714 GB, free: 4.863 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.0001797/0.2065, allocations: 103.7 kB / 0.6715 GB, free: 4.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.2094, allocations: 0.7714 MB / 0.6723 GB, free: 3.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2094, allocations: 0 / 0.6723 GB, free: 3.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.2117, allocations: 0.5729 MB / 0.6728 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.2121, allocations: 47.8 kB / 0.6729 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.2158, allocations: 1.023 MB / 0.6739 GB, free: 2.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.2163, allocations: 0.8155 MB / 0.6747 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2164, allocations: 38.95 kB / 0.6747 GB, free: 1.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.2165, allocations: 27.44 kB / 0.6748 GB, free: 1.379 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2165, allocations: 0 / 0.6748 GB, free: 1.379 MB / 478.1 MB Notification: Performance of Templates: time 0.01424/0.2308, allocations: 7.693 MB / 0.6823 GB, free: 9.691 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)