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.001017/0.001017, allocations: 106.1 kB / 15.98 MB, free: 6.332 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.223/1.223, allocations: 222.9 MB / 239.6 MB, free: 4.699 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.001188/0.001188, allocations: 196.5 kB / 289.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.405/0.405, allocations: 78.53 MB / 418.6 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 75.88 kB / 497.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 68.18 MB / 0.5525 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2008/0.3216, allocations: 3.614 MB / 0.556 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3231, allocations: 1.069 MB / 0.5571 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3232, allocations: 7.188 kB / 0.5571 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3235, allocations: 78.17 kB / 0.5572 GB, free: 37.22 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.0003237/0.3239, allocations: 146.7 kB / 0.5573 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.3244, allocations: 313.8 kB / 0.5576 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3249, allocations: 0.6024 MB / 0.5582 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.3251, allocations: 144.4 kB / 0.5583 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.3253, allocations: 246.3 kB / 0.5586 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.3255, allocations: 276.5 kB / 0.5588 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3256, allocations: 53.69 kB / 0.5589 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.3258, allocations: 104.4 kB / 0.559 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.3258, allocations: 121.1 kB / 0.5591 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.326, allocations: 267.7 kB / 0.5593 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.3264, allocations: 0.5217 MB / 0.5598 GB, free: 36.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3264, allocations: 2.188 kB / 0.5598 GB, free: 36.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3265, allocations: 0 / 0.5598 GB, free: 36.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.3265, allocations: 0 / 0.5598 GB, free: 36.79 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.001211/0.3277, allocations: 0.8376 MB / 0.5607 GB, free: 36.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3277, allocations: 8.812 kB / 0.5607 GB, free: 36.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.3286, allocations: 169.6 kB / 0.5608 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.329, allocations: 403.2 kB / 0.5612 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3291, allocations: 61.61 kB / 0.5613 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.3292, allocations: 30.56 kB / 0.5613 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007469/0.33, allocations: 380.5 kB / 0.5617 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.33, allocations: 0 / 0.5617 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.33, allocations: 17.52 kB / 0.5617 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.33, allocations: 8.594 kB / 0.5617 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.3306, allocations: 332.2 kB / 0.562 GB, free: 35.87 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.002238/0.3329, allocations: 1.863 MB / 0.5638 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.3337, allocations: 0.8118 MB / 0.5646 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.3341, allocations: 188.8 kB / 0.5648 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.3342, allocations: 7.172 kB / 0.5648 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.3342, allocations: 37.81 kB / 0.5648 GB, free: 34.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.3342, allocations: 0 / 0.5648 GB, free: 34.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004331/0.3385, allocations: 1.247 MB / 0.5661 GB, free: 34.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3386, allocations: 58.38 kB / 0.5661 GB, free: 34.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3389, allocations: 430.6 kB / 0.5665 GB, free: 34.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.339, allocations: 30.14 kB / 0.5666 GB, free: 34.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3391, allocations: 258.5 kB / 0.5668 GB, free: 33.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.3391, allocations: 89.78 kB / 0.5669 GB, free: 33.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3393, allocations: 63.11 kB / 0.567 GB, free: 33.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.3393, allocations: 358.5 kB / 0.5673 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.3397, allocations: 186.4 kB / 0.5675 GB, free: 33.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.34, allocations: 229.7 kB / 0.5677 GB, free: 33.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.3443, allocations: 1.297 MB / 0.569 GB, free: 33.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3443, allocations: 0 / 0.569 GB, free: 33.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002066/0.3464, allocations: 0.8337 MB / 0.5698 GB, free: 33.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3464, allocations: 10.28 kB / 0.5698 GB, free: 33.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3464, allocations: 5.344 kB / 0.5698 GB, free: 33.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.3484, allocations: 0.5679 MB / 0.5703 GB, free: 33.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007824/0.3492, allocations: 137.8 kB / 0.5705 GB, free: 33.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.3554, allocations: 3.209 MB / 0.5736 GB, free: 31.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.3559, allocations: 45.72 kB / 0.5737 GB, free: 31.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.3559, allocations: 18.31 kB / 0.5737 GB, free: 31.89 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.0002032/0.3561, allocations: 179.8 kB / 0.5738 GB, free: 31.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.3562, allocations: 40.53 kB / 0.5739 GB, free: 31.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.3584, allocations: 0.7743 MB / 0.5746 GB, free: 31.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3584, allocations: 2.438 kB / 0.5746 GB, free: 31.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3584, allocations: 1.031 kB / 0.5746 GB, free: 31.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3584, allocations: 2.625 kB / 0.5746 GB, free: 31.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3611, allocations: 1.47 MB / 0.5761 GB, free: 31.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3611, allocations: 7.875 kB / 0.5761 GB, free: 31.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/0.362, allocations: 129 kB / 0.5762 GB, free: 31.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.3643, allocations: 0.6325 MB / 0.5768 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3644, allocations: 13.78 kB / 0.5768 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/0.3702, allocations: 3.173 MB / 0.5799 GB, free: 29.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3702, allocations: 4.219 kB / 0.5799 GB, free: 29.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.3728, allocations: 1.047 MB / 0.581 GB, free: 28.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3729, allocations: 118.8 kB / 0.5811 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.373, allocations: 6.719 kB / 0.5811 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.3733, allocations: 27.44 kB / 0.5811 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.3735, allocations: 52.5 kB / 0.5812 GB, free: 28.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3735, allocations: 8.688 kB / 0.5812 GB, free: 28.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.3738, allocations: 303.6 kB / 0.5815 GB, free: 28.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3738, allocations: 5.844 kB / 0.5815 GB, free: 28.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005315/0.3744, allocations: 136.8 kB / 0.5816 GB, free: 28.6 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.0001349/0.3745, allocations: 99.55 kB / 0.5817 GB, free: 28.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.3772, allocations: 0.7757 MB / 0.5824 GB, free: 28.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3772, allocations: 0 / 0.5824 GB, free: 28.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.3794, allocations: 0.564 MB / 0.583 GB, free: 28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.3798, allocations: 47.12 kB / 0.583 GB, free: 27.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.3832, allocations: 1.197 MB / 0.5842 GB, free: 27.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3834, allocations: 0.8261 MB / 0.585 GB, free: 26.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.3835, allocations: 31.19 kB / 0.585 GB, free: 26.56 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3835, allocations: 0 / 0.585 GB, free: 26.56 MB / 430.1 MB Notification: Performance of Templates: time 0.009337/0.3929, allocations: 7.186 MB / 0.5921 GB, free: 26.02 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)