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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.258/1.258, allocations: 222.9 MB / 238.8 MB, free: 4.73 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.001099/0.001099, allocations: 188.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.428/0.428, allocations: 78.52 MB / 417.8 MB, free: 3.363 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 75.88 kB / 496.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 68.18 MB / 0.5517 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2083/0.329, allocations: 3.608 MB / 0.5552 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3305, allocations: 1.079 MB / 0.5563 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.3307, allocations: 5.938 kB / 0.5563 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.331, allocations: 78.22 kB / 0.5563 GB, free: 37.49 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.0003213/0.3314, allocations: 141.2 kB / 0.5565 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3319, allocations: 313.8 kB / 0.5568 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.3323, allocations: 0.5785 MB / 0.5573 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3326, allocations: 125 kB / 0.5575 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3328, allocations: 222.2 kB / 0.5577 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.333, allocations: 255.5 kB / 0.5579 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.3331, allocations: 31.5 kB / 0.558 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.3333, allocations: 78.41 kB / 0.558 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.3333, allocations: 99.59 kB / 0.5581 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3335, allocations: 244.9 kB / 0.5584 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.334, allocations: 0.6425 MB / 0.559 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.334, allocations: 1.344 kB / 0.559 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.334, allocations: 0 / 0.559 GB, free: 37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.334, allocations: 0 / 0.559 GB, free: 37 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.001402/0.3354, allocations: 0.8404 MB / 0.5598 GB, free: 36.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3355, allocations: 10.78 kB / 0.5598 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/0.3365, allocations: 175.2 kB / 0.56 GB, free: 36.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.337, allocations: 400.2 kB / 0.5604 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3371, allocations: 62.97 kB / 0.5604 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.3371, allocations: 27.47 kB / 0.5604 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.3379, allocations: 386.5 kB / 0.5608 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3379, allocations: 3.094 kB / 0.5608 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.338, allocations: 9.594 kB / 0.5608 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.338, allocations: 8 kB / 0.5608 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.3387, allocations: 331.2 kB / 0.5612 GB, free: 36.08 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.002687/0.3414, allocations: 1.864 MB / 0.563 GB, free: 35.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3424, allocations: 0.8093 MB / 0.5638 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.3429, allocations: 188.6 kB / 0.5639 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.3429, allocations: 7.469 kB / 0.564 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.343, allocations: 33.62 kB / 0.564 GB, free: 34.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/0.343, allocations: 0 / 0.564 GB, free: 34.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004454/0.3474, allocations: 1.243 MB / 0.5652 GB, free: 34.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.3475, allocations: 57.3 kB / 0.5653 GB, free: 34.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.3479, allocations: 425.4 kB / 0.5657 GB, free: 34.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3479, allocations: 33.42 kB / 0.5657 GB, free: 34.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.348, allocations: 262 kB / 0.5659 GB, free: 34.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.3481, allocations: 86.69 kB / 0.566 GB, free: 34.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3482, allocations: 62.56 kB / 0.5661 GB, free: 34.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3483, allocations: 360.1 kB / 0.5664 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3486, allocations: 181 kB / 0.5666 GB, free: 33.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.349, allocations: 239 kB / 0.5668 GB, free: 33.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/0.3534, allocations: 1.291 MB / 0.5681 GB, free: 33.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3534, allocations: 0 / 0.5681 GB, free: 33.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002161/0.3556, allocations: 0.8425 MB / 0.5689 GB, free: 33.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3556, allocations: 7.031 kB / 0.5689 GB, free: 33.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3556, allocations: 8.25 kB / 0.5689 GB, free: 33.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.3576, allocations: 0.563 MB / 0.5695 GB, free: 33.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.3584, allocations: 140.4 kB / 0.5696 GB, free: 33.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.3643, allocations: 2.985 MB / 0.5725 GB, free: 32.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.3647, allocations: 43.73 kB / 0.5726 GB, free: 32.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3648, allocations: 15.14 kB / 0.5726 GB, free: 32.2 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.0002307/0.365, allocations: 167 kB / 0.5727 GB, free: 32.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.3651, allocations: 44.44 kB / 0.5728 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3673, allocations: 0.771 MB / 0.5735 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3673, allocations: 6.562 kB / 0.5735 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3673, allocations: 0 / 0.5735 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3673, allocations: 4.594 kB / 0.5735 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.37, allocations: 1.48 MB / 0.575 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3701, allocations: 0 / 0.575 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.3709, allocations: 126.2 kB / 0.5751 GB, free: 31.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.3733, allocations: 0.6297 MB / 0.5757 GB, free: 31.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.3734, allocations: 13.58 kB / 0.5757 GB, free: 31.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.379, allocations: 2.949 MB / 0.5786 GB, free: 30 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.379, allocations: 2.969 kB / 0.5786 GB, free: 30 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.3816, allocations: 1.044 MB / 0.5796 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.3818, allocations: 119.3 kB / 0.5798 GB, free: 29.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.3819, allocations: 7.703 kB / 0.5798 GB, free: 29.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.3822, allocations: 26.03 kB / 0.5798 GB, free: 29.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3824, allocations: 60.75 kB / 0.5798 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3825, allocations: 15.12 kB / 0.5799 GB, free: 29.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002951/0.3828, allocations: 300.9 kB / 0.5801 GB, free: 29.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3828, allocations: 3.938 kB / 0.5801 GB, free: 29.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.3833, allocations: 134.8 kB / 0.5803 GB, free: 29.24 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.0001402/0.3834, allocations: 105.2 kB / 0.5804 GB, free: 29.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.3861, allocations: 0.751 MB / 0.5811 GB, free: 28.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3861, allocations: 1 kB / 0.5811 GB, free: 28.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.3883, allocations: 0.5683 MB / 0.5817 GB, free: 28.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3888, allocations: 32.31 kB / 0.5817 GB, free: 28.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.3923, allocations: 1.173 MB / 0.5828 GB, free: 27.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3926, allocations: 0.8167 MB / 0.5836 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.3927, allocations: 39.39 kB / 0.5837 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.3928, allocations: 28.44 kB / 0.5837 GB, free: 27.24 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3928, allocations: 1.031 kB / 0.5837 GB, free: 27.24 MB / 430.1 MB Notification: Performance of Templates: time 0.01251/0.4053, allocations: 6.919 MB / 0.5905 GB, free: 26.73 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)