Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008166/0.0008168, allocations: 180.6 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.3 MB / 239.5 MB, free: 15.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000783/0.0007829, allocations: 97.05 kB / 290.6 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4286/0.4286, allocations: 78.61 MB / 420.4 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12 kB / 0.4888 GB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 69.38 MB / 0.5565 GB, free: 1.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003033/0.1251, allocations: 3.217 MB / 0.5597 GB, free: 14.14 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1268, allocations: 1.068 MB / 0.5607 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.127, allocations: 4 kB / 0.5607 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1272, allocations: 75.5 kB / 0.5608 GB, free: 13 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0003318/0.1275, allocations: 150.9 kB / 0.5609 GB, free: 12.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.1282, allocations: 319.2 kB / 0.5612 GB, free: 12.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.1286, allocations: 0.5602 MB / 0.5618 GB, free: 11.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1289, allocations: 125 kB / 0.5619 GB, free: 11.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.1291, allocations: 215 kB / 0.5621 GB, free: 11.63 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1294, allocations: 242.7 kB / 0.5623 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1294, allocations: 28 kB / 0.5624 GB, free: 11.37 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1296, allocations: 71.97 kB / 0.5624 GB, free: 11.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.1297, allocations: 95.53 kB / 0.5625 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1299, allocations: 260.2 kB / 0.5628 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.1304, allocations: 0.6268 MB / 0.5634 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1305, allocations: 4 kB / 0.5634 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1305, allocations: 0 / 0.5634 GB, free: 10.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1305, allocations: 0 / 0.5634 GB, free: 10.31 MB / 442.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.001216/0.1317, allocations: 0.7478 MB / 0.5641 GB, free: 9.512 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1317, allocations: 12.03 kB / 0.5641 GB, free: 9.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.1326, allocations: 172.1 kB / 0.5643 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1331, allocations: 397.9 kB / 0.5647 GB, free: 8.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1332, allocations: 78.53 kB / 0.5648 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.1333, allocations: 24 kB / 0.5648 GB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/0.1341, allocations: 397.9 kB / 0.5652 GB, free: 8.406 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1341, allocations: 0 / 0.5652 GB, free: 8.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.1341, allocations: 16 kB / 0.5652 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1342, allocations: 8 kB / 0.5652 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.1348, allocations: 346.4 kB / 0.5655 GB, free: 8.043 MB / 442.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.002576/0.1374, allocations: 1.88 MB / 0.5673 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1384, allocations: 0.8262 MB / 0.5682 GB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.1389, allocations: 208.6 kB / 0.5683 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.1389, allocations: 7.984 kB / 0.5684 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.139, allocations: 42.36 kB / 0.5684 GB, free: 4.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.139, allocations: 0 / 0.5684 GB, free: 4.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.004416/0.1434, allocations: 1.419 MB / 0.5698 GB, free: 3.367 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1435, allocations: 51.41 kB / 0.5698 GB, free: 3.305 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.1439, allocations: 429.8 kB / 0.5702 GB, free: 2.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1439, allocations: 37.69 kB / 0.5703 GB, free: 2.836 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1441, allocations: 255.9 kB / 0.5705 GB, free: 2.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.1442, allocations: 86.83 kB / 0.5706 GB, free: 2.496 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.1442, allocations: 29.7 kB / 0.5706 GB, free: 2.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1443, allocations: 362.7 kB / 0.571 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.1447, allocations: 196.2 kB / 0.5712 GB, free: 1.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.1452, allocations: 249.1 kB / 0.5714 GB, free: 1.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/0.1497, allocations: 1.427 MB / 0.5728 GB, free: 204 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1497, allocations: 0 / 0.5728 GB, free: 204 kB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.2191/0.3688, allocations: 0.939 MB / 0.5737 GB, free: 45.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3689, allocations: 9.844 kB / 0.5737 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3689, allocations: 1.438 kB / 0.5737 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.3715, allocations: 0.6467 MB / 0.5744 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.3724, allocations: 172.8 kB / 0.5745 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.379, allocations: 3.168 MB / 0.5776 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.3794, allocations: 54.28 kB / 0.5777 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3795, allocations: 12.86 kB / 0.5777 GB, free: 44.23 MB / 442.7 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.0001903/0.3797, allocations: 170.3 kB / 0.5778 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3797, allocations: 46.69 kB / 0.5779 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.382, allocations: 0.8711 MB / 0.5787 GB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.382, allocations: 2 kB / 0.5787 GB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.382, allocations: 0 / 0.5787 GB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.382, allocations: 6.453 kB / 0.5787 GB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.3848, allocations: 1.578 MB / 0.5803 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3848, allocations: 0 / 0.5803 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.3856, allocations: 154.3 kB / 0.5804 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.388, allocations: 0.7391 MB / 0.5812 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3881, allocations: 13.91 kB / 0.5812 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.3937, allocations: 3.133 MB / 0.5842 GB, free: 42.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3937, allocations: 1.75 kB / 0.5842 GB, free: 42.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.3965, allocations: 1.163 MB / 0.5854 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.3966, allocations: 121.9 kB / 0.5855 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3966, allocations: 11.3 kB / 0.5855 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3969, allocations: 30.47 kB / 0.5855 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3971, allocations: 61.89 kB / 0.5856 GB, free: 41.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3971, allocations: 13.16 kB / 0.5856 GB, free: 41.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003258/0.3975, allocations: 300.5 kB / 0.5859 GB, free: 41.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3975, allocations: 0 / 0.5859 GB, free: 41.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.398, allocations: 133.8 kB / 0.586 GB, free: 41.84 MB / 442.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 (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.0001152/0.3981, allocations: 103.4 kB / 0.5861 GB, free: 41.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.4004, allocations: 0.8192 MB / 0.5869 GB, free: 41.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4005, allocations: 0 / 0.5869 GB, free: 41.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.4024, allocations: 0.6042 MB / 0.5875 GB, free: 41.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.4027, allocations: 37.23 kB / 0.5875 GB, free: 41.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.4056, allocations: 1.226 MB / 0.5887 GB, free: 40.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4058, allocations: 0.8207 MB / 0.5895 GB, free: 40.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.406, allocations: 32.44 kB / 0.5896 GB, free: 40.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.4061, allocations: 26.78 kB / 0.5896 GB, free: 40.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4061, allocations: 4 kB / 0.5896 GB, free: 40.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01002/0.4161, allocations: 6.804 MB / 0.5962 GB, free: 39.73 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)