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.00157/0.001571, allocations: 108 kB / 15.6 MB, free: 132 kB / 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.2 MB, free: 4.574 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.001311/0.00131, allocations: 188.5 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4489/0.4489, allocations: 78.52 MB / 418.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.89 kB / 497.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.132, allocations: 68.19 MB / 0.5524 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2108/0.3428, allocations: 3.387 MB / 0.5557 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3445, allocations: 1.051 MB / 0.5567 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3447, allocations: 4.531 kB / 0.5567 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.345, allocations: 99.08 kB / 0.5568 GB, free: 37.24 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.0003394/0.3454, allocations: 162.4 kB / 0.5569 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.346, allocations: 352.3 kB / 0.5573 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.3465, allocations: 0.605 MB / 0.5579 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.3467, allocations: 145.4 kB / 0.558 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.347, allocations: 249.2 kB / 0.5582 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.3473, allocations: 271.6 kB / 0.5585 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.3474, allocations: 53 kB / 0.5586 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.3476, allocations: 106.7 kB / 0.5587 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.3477, allocations: 114.6 kB / 0.5588 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3479, allocations: 270.2 kB / 0.559 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.3484, allocations: 0.6627 MB / 0.5597 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3484, allocations: 0.5 kB / 0.5597 GB, free: 36.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3484, allocations: 1.156 kB / 0.5597 GB, free: 36.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3484, allocations: 2.062 kB / 0.5597 GB, free: 36.75 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.001251/0.3497, allocations: 0.836 MB / 0.5605 GB, free: 36.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3497, allocations: 10.81 kB / 0.5605 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/0.3507, allocations: 170.4 kB / 0.5607 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.3511, allocations: 399.1 kB / 0.561 GB, free: 35.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.3512, allocations: 64.5 kB / 0.5611 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.3513, allocations: 31.11 kB / 0.5611 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.352, allocations: 381.8 kB / 0.5615 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.352, allocations: 10.41 kB / 0.5615 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3521, allocations: 7.688 kB / 0.5615 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3521, allocations: 9.656 kB / 0.5615 GB, free: 35.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.3528, allocations: 328.7 kB / 0.5618 GB, free: 35.82 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.002242/0.355, allocations: 1.866 MB / 0.5637 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/0.3559, allocations: 0.8091 MB / 0.5645 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.3563, allocations: 184.6 kB / 0.5646 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.3563, allocations: 7.219 kB / 0.5646 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3564, allocations: 36.94 kB / 0.5647 GB, free: 34.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.063e-06/0.3564, allocations: 2.219 kB / 0.5647 GB, free: 34.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004417/0.3608, allocations: 1.251 MB / 0.5659 GB, free: 34.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.3608, allocations: 59.41 kB / 0.566 GB, free: 34.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.3612, allocations: 426.4 kB / 0.5664 GB, free: 34.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3613, allocations: 30.45 kB / 0.5664 GB, free: 34.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3614, allocations: 258.4 kB / 0.5666 GB, free: 33.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.3615, allocations: 86.05 kB / 0.5667 GB, free: 33.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3616, allocations: 65.5 kB / 0.5668 GB, free: 33.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.3616, allocations: 360.2 kB / 0.5671 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.362, allocations: 177.9 kB / 0.5673 GB, free: 33.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3624, allocations: 239 kB / 0.5675 GB, free: 33.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.3669, allocations: 1.291 MB / 0.5688 GB, free: 33.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3669, allocations: 0.8125 kB / 0.5688 GB, free: 33.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002224/0.3692, allocations: 0.8436 MB / 0.5696 GB, free: 33.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3692, allocations: 5.625 kB / 0.5696 GB, free: 33.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3692, allocations: 3.938 kB / 0.5696 GB, free: 33.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.3713, allocations: 0.5709 MB / 0.5702 GB, free: 33.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.3721, allocations: 142.6 kB / 0.5703 GB, free: 33.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006352/0.3785, allocations: 3.204 MB / 0.5734 GB, free: 31.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.3789, allocations: 44.83 kB / 0.5735 GB, free: 31.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.379, allocations: 14.81 kB / 0.5735 GB, free: 31.86 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.0002134/0.3792, allocations: 174.5 kB / 0.5737 GB, free: 31.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.3793, allocations: 40.53 kB / 0.5737 GB, free: 31.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.3815, allocations: 0.7775 MB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3815, allocations: 1.219 kB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3815, allocations: 1.188 kB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3815, allocations: 2.969 kB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.3843, allocations: 1.477 MB / 0.5759 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3843, allocations: 11.2 kB / 0.5759 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.3852, allocations: 124.6 kB / 0.576 GB, free: 31.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.3877, allocations: 0.6261 MB / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.3878, allocations: 14.19 kB / 0.5767 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.394, allocations: 3.178 MB / 0.5798 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3941, allocations: 0 / 0.5798 GB, free: 29.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.3967, allocations: 1.052 MB / 0.5808 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3968, allocations: 115.9 kB / 0.5809 GB, free: 28.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3969, allocations: 8.141 kB / 0.5809 GB, free: 28.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.3972, allocations: 21.86 kB / 0.5809 GB, free: 28.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.3974, allocations: 57.61 kB / 0.581 GB, free: 28.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3974, allocations: 16.41 kB / 0.581 GB, free: 28.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.3978, allocations: 299.1 kB / 0.5813 GB, free: 28.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3978, allocations: 0 / 0.5813 GB, free: 28.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.3983, allocations: 137.6 kB / 0.5814 GB, free: 28.5 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.0001447/0.3985, allocations: 104.4 kB / 0.5815 GB, free: 28.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.4012, allocations: 0.7764 MB / 0.5823 GB, free: 28.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4012, allocations: 0 / 0.5823 GB, free: 28.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.4034, allocations: 0.5676 MB / 0.5828 GB, free: 27.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4037, allocations: 40.16 kB / 0.5829 GB, free: 27.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.407, allocations: 1.022 MB / 0.5839 GB, free: 27.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.4073, allocations: 0.819 MB / 0.5847 GB, free: 26.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4074, allocations: 36.36 kB / 0.5847 GB, free: 26.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.4075, allocations: 28.34 kB / 0.5847 GB, free: 26.64 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4075, allocations: 0 / 0.5847 GB, free: 26.64 MB / 430.1 MB Notification: Performance of Templates: time 0.01308/0.4206, allocations: 7.564 MB / 0.5921 GB, free: 26.1 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)