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.001093/0.001093, allocations: 117.3 kB / 16.37 MB, free: 6.012 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.306/1.306, allocations: 222.9 MB / 240 MB, free: 4.496 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.001351/0.001351, allocations: 180.5 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4511/0.4511, allocations: 78.54 MB / 419 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002678, allocations: 75.88 kB / 498.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1347, allocations: 68.18 MB / 0.5538 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2117/0.3464, allocations: 3.384 MB / 0.5571 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3479, allocations: 1.048 MB / 0.5581 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.348, allocations: 3.656 kB / 0.5581 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3483, allocations: 103.2 kB / 0.5582 GB, free: 37.25 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.0003208/0.3487, allocations: 165.4 kB / 0.5584 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3492, allocations: 349.2 kB / 0.5587 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.3496, allocations: 0.6103 MB / 0.5593 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.3499, allocations: 146 kB / 0.5594 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3501, allocations: 248.6 kB / 0.5597 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3504, allocations: 270.6 kB / 0.5599 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.3504, allocations: 56.84 kB / 0.56 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3506, allocations: 102.5 kB / 0.5601 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.3507, allocations: 119.3 kB / 0.5602 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.3509, allocations: 266.5 kB / 0.5605 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3514, allocations: 0.6685 MB / 0.5611 GB, free: 36.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3514, allocations: 1.125 kB / 0.5611 GB, free: 36.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3514, allocations: 0 / 0.5611 GB, free: 36.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.3514, allocations: 0.6562 kB / 0.5611 GB, free: 36.76 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.001184/0.3526, allocations: 0.8448 MB / 0.5619 GB, free: 36.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3526, allocations: 12.81 kB / 0.5619 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.3536, allocations: 171.5 kB / 0.5621 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.354, allocations: 399.6 kB / 0.5625 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.3541, allocations: 63.31 kB / 0.5626 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.3542, allocations: 26.88 kB / 0.5626 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.3549, allocations: 388.3 kB / 0.5629 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3549, allocations: 0 / 0.5629 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.3549, allocations: 11.12 kB / 0.563 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.355, allocations: 9 kB / 0.563 GB, free: 35.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.3556, allocations: 333.8 kB / 0.5633 GB, free: 35.84 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.002197/0.3578, allocations: 1.849 MB / 0.5651 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.3586, allocations: 0.8107 MB / 0.5659 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.359, allocations: 189.6 kB / 0.5661 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.359, allocations: 3.688 kB / 0.5661 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.3591, allocations: 38 kB / 0.5661 GB, free: 34.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.3591, allocations: 0.6094 kB / 0.5661 GB, free: 34.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004123/0.3632, allocations: 1.254 MB / 0.5673 GB, free: 34.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3632, allocations: 54.16 kB / 0.5674 GB, free: 34.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.3636, allocations: 431 kB / 0.5678 GB, free: 34.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3636, allocations: 25.7 kB / 0.5678 GB, free: 34.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3637, allocations: 262 kB / 0.5681 GB, free: 33.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.3638, allocations: 83.62 kB / 0.5681 GB, free: 33.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3639, allocations: 63.53 kB / 0.5682 GB, free: 33.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.3639, allocations: 360 kB / 0.5685 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.3643, allocations: 179.6 kB / 0.5687 GB, free: 33.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.3646, allocations: 232.9 kB / 0.5689 GB, free: 33.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.3688, allocations: 1.294 MB / 0.5702 GB, free: 33.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3689, allocations: 0.6562 kB / 0.5702 GB, free: 33.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002023/0.3709, allocations: 0.8395 MB / 0.571 GB, free: 33.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3709, allocations: 6.938 kB / 0.571 GB, free: 33.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3709, allocations: 7.312 kB / 0.571 GB, free: 33.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.3729, allocations: 0.5637 MB / 0.5716 GB, free: 33.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.3736, allocations: 144.7 kB / 0.5717 GB, free: 33.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.3796, allocations: 3.201 MB / 0.5749 GB, free: 31.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.38, allocations: 49.55 kB / 0.5749 GB, free: 31.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.38, allocations: 14.75 kB / 0.5749 GB, free: 31.88 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.0001962/0.3802, allocations: 173.9 kB / 0.5751 GB, free: 31.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.3803, allocations: 40.53 kB / 0.5751 GB, free: 31.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.3823, allocations: 0.7698 MB / 0.5759 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3823, allocations: 9.047 kB / 0.5759 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3823, allocations: 0 / 0.5759 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3823, allocations: 0 / 0.5759 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.385, allocations: 1.489 MB / 0.5773 GB, free: 31.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.385, allocations: 0 / 0.5773 GB, free: 31.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.3858, allocations: 121.6 kB / 0.5775 GB, free: 31.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/0.388, allocations: 0.633 MB / 0.5781 GB, free: 31.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.3881, allocations: 9.734 kB / 0.5781 GB, free: 31.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/0.3937, allocations: 3.174 MB / 0.5812 GB, free: 29.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3937, allocations: 0 / 0.5812 GB, free: 29.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3962, allocations: 1.042 MB / 0.5822 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.3963, allocations: 122 kB / 0.5823 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3963, allocations: 7.125 kB / 0.5823 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.3967, allocations: 18.66 kB / 0.5823 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3968, allocations: 66.53 kB / 0.5824 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3968, allocations: 6.016 kB / 0.5824 GB, free: 28.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.3971, allocations: 308 kB / 0.5827 GB, free: 28.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3971, allocations: 3.469 kB / 0.5827 GB, free: 28.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.3976, allocations: 136.4 kB / 0.5828 GB, free: 28.44 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.0001261/0.3978, allocations: 106.2 kB / 0.5829 GB, free: 28.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.4003, allocations: 0.7614 MB / 0.5837 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4003, allocations: 0 / 0.5837 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.4024, allocations: 0.573 MB / 0.5842 GB, free: 27.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4027, allocations: 43.36 kB / 0.5843 GB, free: 27.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.4059, allocations: 1.004 MB / 0.5853 GB, free: 27.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4061, allocations: 0.8161 MB / 0.5861 GB, free: 26.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4062, allocations: 40.2 kB / 0.5861 GB, free: 26.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.4063, allocations: 26.09 kB / 0.5861 GB, free: 26.6 MB / 430.1 MB Notification: Performance of SimCode: time 5.1e-07/0.4063, allocations: 0 / 0.5861 GB, free: 26.6 MB / 430.1 MB Notification: Performance of Templates: time 0.01209/0.4184, allocations: 7.569 MB / 0.5935 GB, free: 26.05 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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)