Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 109.9 kB / 18.33 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 246.9 MB, free: 13.62 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 202.6 kB / 302.2 MB, free: 9.094 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4279/0.4279, allocations: 79.72 MB / 437 MB, free: 5.602 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 79.88 kB / 0.5823 GB, free: 8.746 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1326, allocations: 72.09 MB / 0.6527 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004953/0.1376, allocations: 3.415 MB / 0.656 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.14, allocations: 1.079 MB / 0.6571 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.1403, allocations: 4 kB / 0.6571 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1407, allocations: 95.19 kB / 0.6572 GB, free: 11.93 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0005557/0.1412, allocations: 186.7 kB / 0.6574 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.1421, allocations: 339 kB / 0.6577 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008786/0.143, allocations: 0.607 MB / 0.6583 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.1433, allocations: 104.9 kB / 0.6584 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.1437, allocations: 250.9 kB / 0.6586 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.1443, allocations: 266.8 kB / 0.6589 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1444, allocations: 52 kB / 0.6589 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.1447, allocations: 107.9 kB / 0.659 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1448, allocations: 119.5 kB / 0.6591 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.1452, allocations: 262.6 kB / 0.6594 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009234/0.1461, allocations: 0.677 MB / 0.6601 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1461, allocations: 0 / 0.6601 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1461, allocations: 0 / 0.6601 GB, free: 8.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.1461, allocations: 0 / 0.6601 GB, free: 8.973 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.001718/0.1478, allocations: 0.8561 MB / 0.6609 GB, free: 8.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1479, allocations: 12.03 kB / 0.6609 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1489, allocations: 164.5 kB / 0.6611 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.1497, allocations: 410.3 kB / 0.6614 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1498, allocations: 62.66 kB / 0.6615 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.1499, allocations: 28 kB / 0.6615 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.1508, allocations: 385.9 kB / 0.6619 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1508, allocations: 0 / 0.6619 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.1508, allocations: 12 kB / 0.6619 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1509, allocations: 8 kB / 0.6619 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.1517, allocations: 334.4 kB / 0.6622 GB, free: 6.637 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.003142/0.1548, allocations: 1.856 MB / 0.6641 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.156, allocations: 0.7939 MB / 0.6648 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.1565, allocations: 180.8 kB / 0.665 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.1565, allocations: 4 kB / 0.665 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1565, allocations: 34.56 kB / 0.665 GB, free: 3.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 2.385e-06/0.1565, allocations: 0 / 0.665 GB, free: 3.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004982/0.1615, allocations: 1.247 MB / 0.6663 GB, free: 2.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1616, allocations: 51.41 kB / 0.6663 GB, free: 2.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.1621, allocations: 437.8 kB / 0.6667 GB, free: 1.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1622, allocations: 29.7 kB / 0.6667 GB, free: 1.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1624, allocations: 264.3 kB / 0.667 GB, free: 1.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1625, allocations: 91.22 kB / 0.6671 GB, free: 1.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1626, allocations: 61.64 kB / 0.6671 GB, free: 1.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.1629, allocations: 362.7 kB / 0.6675 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.1634, allocations: 180.2 kB / 0.6677 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.1638, allocations: 233 kB / 0.6679 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/0.1689, allocations: 1.294 MB / 0.6692 GB, free: 15.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1689, allocations: 0 / 0.6692 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002641/0.1716, allocations: 0.8372 MB / 0.67 GB, free: 14.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1716, allocations: 7.938 kB / 0.67 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1716, allocations: 7.938 kB / 0.67 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.1739, allocations: 0.5625 MB / 0.6705 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.1747, allocations: 143.8 kB / 0.6707 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007496/0.1822, allocations: 3.201 MB / 0.6738 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.1827, allocations: 51.75 kB / 0.6738 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1827, allocations: 8 kB / 0.6739 GB, free: 10.21 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.0002537/0.1829, allocations: 174.2 kB / 0.674 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.183, allocations: 43.72 kB / 0.6741 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.1856, allocations: 0.7707 MB / 0.6748 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.1856, allocations: 4 kB / 0.6748 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1856, allocations: 0 / 0.6748 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1856, allocations: 7.969 kB / 0.6748 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.1891, allocations: 1.46 MB / 0.6763 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1891, allocations: 4 kB / 0.6763 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/0.19, allocations: 127.8 kB / 0.6764 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.1928, allocations: 0.6328 MB / 0.677 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.1928, allocations: 15.98 kB / 0.677 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00727/0.2001, allocations: 3.171 MB / 0.6801 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2001, allocations: 0 / 0.6801 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.2032, allocations: 1.039 MB / 0.6811 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2033, allocations: 128.7 kB / 0.6812 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.2034, allocations: 8 kB / 0.6813 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.2038, allocations: 27.91 kB / 0.6813 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.2039, allocations: 51.92 kB / 0.6813 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.204, allocations: 16.05 kB / 0.6813 GB, free: 2.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.2043, allocations: 299.1 kB / 0.6816 GB, free: 1.977 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2043, allocations: 0 / 0.6816 GB, free: 1.977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005486/0.2049, allocations: 131.8 kB / 0.6818 GB, free: 1.848 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.0001679/0.205, allocations: 107.3 kB / 0.6819 GB, free: 1.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.2078, allocations: 0.7439 MB / 0.6826 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2078, allocations: 0 / 0.6826 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.2101, allocations: 0.5608 MB / 0.6831 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2104, allocations: 37.89 kB / 0.6832 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.2142, allocations: 1.036 MB / 0.6842 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2146, allocations: 0.8155 MB / 0.685 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2147, allocations: 35.25 kB / 0.685 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.2148, allocations: 35.36 kB / 0.685 GB, free: 14.4 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2148, allocations: 0 / 0.685 GB, free: 14.4 MB / 494.1 MB Notification: Performance of Templates: time 0.01441/0.2292, allocations: 7.962 MB / 0.6928 GB, free: 6.441 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.282704783996451]