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) 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.0.1/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001157/0.001158, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.511/1.511, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001446/0.001446, allocations: 184.5 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5058/0.5058, allocations: 78.55 MB / 420.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004788, allocations: 15.98 kB / 0.4887 GB, free: 6.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 69.36 MB / 0.5564 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3028/0.4782, allocations: 3.226 MB / 0.5596 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.4815, allocations: 1.056 MB / 0.5606 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.4822, allocations: 5 kB / 0.5606 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.4829, allocations: 73.47 kB / 0.5607 GB, free: 37.48 MB / 430.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.001069/0.484, allocations: 139.1 kB / 0.5608 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4851, allocations: 328.3 kB / 0.5611 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.4862, allocations: 0.5716 MB / 0.5617 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.4866, allocations: 124 kB / 0.5618 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.487, allocations: 211.5 kB / 0.562 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.4876, allocations: 242.3 kB / 0.5622 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.4877, allocations: 24.91 kB / 0.5622 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.4881, allocations: 76.95 kB / 0.5623 GB, free: 37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.4882, allocations: 85.91 kB / 0.5624 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.4885, allocations: 264.7 kB / 0.5626 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.4894, allocations: 0.6246 MB / 0.5633 GB, free: 36.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4894, allocations: 5.094 kB / 0.5633 GB, free: 36.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.461e-06/0.4894, allocations: 0 / 0.5633 GB, free: 36.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.4894, allocations: 4.688 kB / 0.5633 GB, free: 36.72 MB / 430.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.001704/0.4911, allocations: 0.7609 MB / 0.564 GB, free: 36.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4912, allocations: 9.031 kB / 0.564 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.4924, allocations: 174.5 kB / 0.5642 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.4931, allocations: 393.7 kB / 0.5646 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.4932, allocations: 63.7 kB / 0.5646 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.4933, allocations: 30.75 kB / 0.5646 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.4942, allocations: 403.4 kB / 0.565 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4943, allocations: 1.031 kB / 0.565 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.4943, allocations: 11.03 kB / 0.565 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4943, allocations: 7.875 kB / 0.5651 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.4951, allocations: 349.1 kB / 0.5654 GB, free: 35.81 MB / 430.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.003148/0.4982, allocations: 1.872 MB / 0.5672 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4994, allocations: 0.8461 MB / 0.568 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.4998, allocations: 202.6 kB / 0.5682 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4999, allocations: 6.188 kB / 0.5682 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4999, allocations: 34.75 kB / 0.5683 GB, free: 34.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 3.877e-06/0.4999, allocations: 1.469 kB / 0.5683 GB, free: 34.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.005143/0.5051, allocations: 1.412 MB / 0.5697 GB, free: 34.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5052, allocations: 54.72 kB / 0.5697 GB, free: 34.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.5057, allocations: 438.3 kB / 0.5701 GB, free: 34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.5058, allocations: 26.42 kB / 0.5701 GB, free: 33.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.506, allocations: 256.2 kB / 0.5704 GB, free: 33.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.5061, allocations: 89.92 kB / 0.5705 GB, free: 33.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.5061, allocations: 32.62 kB / 0.5705 GB, free: 33.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5062, allocations: 354.9 kB / 0.5708 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.5067, allocations: 200.9 kB / 0.571 GB, free: 33.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.5071, allocations: 250.7 kB / 0.5713 GB, free: 33.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/0.5121, allocations: 1.429 MB / 0.5727 GB, free: 33.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.5121, allocations: 2.938 kB / 0.5727 GB, free: 33.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002558/0.5147, allocations: 0.9468 MB / 0.5736 GB, free: 33.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.5147, allocations: 6.688 kB / 0.5736 GB, free: 33.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5147, allocations: 7.312 kB / 0.5736 GB, free: 33.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.5171, allocations: 0.6482 MB / 0.5742 GB, free: 33.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.518, allocations: 175.2 kB / 0.5744 GB, free: 33.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/0.5257, allocations: 3.159 MB / 0.5775 GB, free: 31.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.5263, allocations: 52.48 kB / 0.5775 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.5263, allocations: 12.89 kB / 0.5776 GB, free: 31.77 MB / 430.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.0003581/0.5267, allocations: 172 kB / 0.5777 GB, free: 31.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.5268, allocations: 46.62 kB / 0.5778 GB, free: 31.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.5294, allocations: 0.8716 MB / 0.5786 GB, free: 31.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.5294, allocations: 7.781 kB / 0.5786 GB, free: 31.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5295, allocations: 0 / 0.5786 GB, free: 31.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5295, allocations: 7.422 kB / 0.5786 GB, free: 31.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.5327, allocations: 1.581 MB / 0.5802 GB, free: 31.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.5328, allocations: 0 / 0.5802 GB, free: 31.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.5337, allocations: 163.1 kB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/0.5365, allocations: 0.7237 MB / 0.581 GB, free: 31.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.5366, allocations: 17.5 kB / 0.5811 GB, free: 31.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.5436, allocations: 3.13 MB / 0.5841 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5437, allocations: 3.281 kB / 0.5841 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.5471, allocations: 1.166 MB / 0.5853 GB, free: 28.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.5474, allocations: 124.3 kB / 0.5854 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.5475, allocations: 6.375 kB / 0.5854 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.5479, allocations: 36.41 kB / 0.5854 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5481, allocations: 65.25 kB / 0.5855 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.5481, allocations: 4.938 kB / 0.5855 GB, free: 28.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004178/0.5485, allocations: 302.8 kB / 0.5858 GB, free: 28.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5485, allocations: 1 kB / 0.5858 GB, free: 28.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000671/0.5492, allocations: 128.7 kB / 0.5859 GB, free: 28.54 MB / 430.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.0001802/0.5494, allocations: 112.5 kB / 0.586 GB, free: 28.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.5523, allocations: 0.8091 MB / 0.5868 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5523, allocations: 0 / 0.5868 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.5547, allocations: 0.614 MB / 0.5874 GB, free: 27.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.5552, allocations: 43.69 kB / 0.5874 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.559, allocations: 1.217 MB / 0.5886 GB, free: 27.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.5594, allocations: 0.8199 MB / 0.5894 GB, free: 26.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.5596, allocations: 38.22 kB / 0.5895 GB, free: 26.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.5597, allocations: 24.72 kB / 0.5895 GB, free: 26.5 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5597, allocations: 0 / 0.5895 GB, free: 26.5 MB / 430.1 MB Notification: Performance of Templates: time 0.01772/0.5774, allocations: 6.794 MB / 0.5961 GB, free: 26.02 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: