Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001196/0.001196, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.277/1.277, allocations: 222.9 MB / 240 MB, free: 4.414 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.0013/0.001299, allocations: 184.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4941/0.4941, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001493, allocations: 83.88 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 71.26 MB / 0.5729 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003946/0.3283, allocations: 3.403 MB / 0.5762 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3302, allocations: 1.059 MB / 0.5772 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3304, allocations: 2.969 kB / 0.5772 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3307, allocations: 96.47 kB / 0.5773 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3311, allocations: 173 kB / 0.5775 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.3318, allocations: 349.2 kB / 0.5778 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.3322, allocations: 0.6139 MB / 0.5784 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.3325, allocations: 151.7 kB / 0.5786 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.3327, allocations: 248 kB / 0.5788 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.333, allocations: 271.8 kB / 0.5791 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3331, allocations: 53.97 kB / 0.5791 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3333, allocations: 105.4 kB / 0.5792 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.3334, allocations: 118.8 kB / 0.5793 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.3336, allocations: 272.1 kB / 0.5796 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.3342, allocations: 0.6753 MB / 0.5802 GB, free: 33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3342, allocations: 0 / 0.5802 GB, free: 33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3342, allocations: 0 / 0.5802 GB, free: 33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3343, allocations: 0 / 0.5802 GB, free: 33 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.00136/0.3356, allocations: 0.8411 MB / 0.5811 GB, free: 32.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3357, allocations: 8.281 kB / 0.5811 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3366, allocations: 169.8 kB / 0.5812 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.3372, allocations: 403.9 kB / 0.5816 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.3374, allocations: 68.09 kB / 0.5817 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.3374, allocations: 26.53 kB / 0.5817 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.3382, allocations: 380 kB / 0.5821 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3382, allocations: 0 / 0.5821 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3383, allocations: 14.53 kB / 0.5821 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3383, allocations: 8.625 kB / 0.5821 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3389, allocations: 335.4 kB / 0.5824 GB, free: 31.68 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.002437/0.3414, allocations: 1.851 MB / 0.5842 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.3422, allocations: 0.8193 MB / 0.585 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.3426, allocations: 188.3 kB / 0.5852 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3426, allocations: 12.59 kB / 0.5852 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3427, allocations: 33.06 kB / 0.5852 GB, free: 29.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3427, allocations: 0 / 0.5852 GB, free: 29.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004092/0.3468, allocations: 1.248 MB / 0.5865 GB, free: 29.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.3468, allocations: 54.41 kB / 0.5865 GB, free: 29.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.3472, allocations: 431.5 kB / 0.5869 GB, free: 28.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3472, allocations: 29.7 kB / 0.587 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3474, allocations: 259.7 kB / 0.5872 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.3474, allocations: 83.59 kB / 0.5873 GB, free: 28.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3476, allocations: 66.66 kB / 0.5873 GB, free: 28.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.3476, allocations: 360.6 kB / 0.5877 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.348, allocations: 188 kB / 0.5879 GB, free: 28.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.3484, allocations: 229.2 kB / 0.5881 GB, free: 27.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.3527, allocations: 1.296 MB / 0.5894 GB, free: 27.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3528, allocations: 0 / 0.5894 GB, free: 27.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002145/0.3549, allocations: 0.8391 MB / 0.5902 GB, free: 27.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3549, allocations: 6.156 kB / 0.5902 GB, free: 27.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.355, allocations: 3.938 kB / 0.5902 GB, free: 27.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.3569, allocations: 0.5591 MB / 0.5907 GB, free: 27.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.3577, allocations: 138.7 kB / 0.5909 GB, free: 27.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.364, allocations: 3.201 MB / 0.594 GB, free: 25.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.3645, allocations: 44.23 kB / 0.594 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3645, allocations: 12.59 kB / 0.594 GB, free: 25.11 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.0002472/0.3647, allocations: 174.8 kB / 0.5942 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.3648, allocations: 47.17 kB / 0.5942 GB, free: 24.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.3671, allocations: 0.7703 MB / 0.595 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3671, allocations: 2.812 kB / 0.595 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3671, allocations: 3.188 kB / 0.595 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3671, allocations: 0 / 0.595 GB, free: 24.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.37, allocations: 1.479 MB / 0.5965 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.37, allocations: 0 / 0.5965 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.3709, allocations: 126.8 kB / 0.5966 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/0.3734, allocations: 0.6301 MB / 0.5972 GB, free: 23.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.3734, allocations: 14.09 kB / 0.5972 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.3795, allocations: 3.17 MB / 0.6003 GB, free: 21.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3795, allocations: 9 kB / 0.6003 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.3822, allocations: 1.047 MB / 0.6013 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3824, allocations: 128.2 kB / 0.6015 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.3824, allocations: 6.906 kB / 0.6015 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.3828, allocations: 32.23 kB / 0.6015 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3829, allocations: 54.75 kB / 0.6015 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.383, allocations: 11.61 kB / 0.6016 GB, free: 21.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.3833, allocations: 301 kB / 0.6018 GB, free: 20.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3833, allocations: 0 / 0.6018 GB, free: 20.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005239/0.3839, allocations: 129.8 kB / 0.602 GB, free: 20.91 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.0001379/0.384, allocations: 107.3 kB / 0.6021 GB, free: 20.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.3866, allocations: 0.7567 MB / 0.6028 GB, free: 20.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3866, allocations: 0 / 0.6028 GB, free: 20.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.3888, allocations: 0.5802 MB / 0.6034 GB, free: 20.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3892, allocations: 40.83 kB / 0.6034 GB, free: 20.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.3924, allocations: 1.01 MB / 0.6044 GB, free: 19.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3927, allocations: 0.8215 MB / 0.6052 GB, free: 19.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.3928, allocations: 36.91 kB / 0.6052 GB, free: 19.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.3929, allocations: 30.75 kB / 0.6053 GB, free: 19.02 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3929, allocations: 0 / 0.6053 GB, free: 19.02 MB / 430.1 MB Notification: Performance of Templates: time 0.01333/0.4063, allocations: 7.579 MB / 0.6127 GB, free: 17.61 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)