Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 177.3 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007732/0.0007731, allocations: 88.67 kB / 289.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4413/0.4413, allocations: 78.42 MB / 418.9 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 498.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 68.74 MB / 0.5539 GB, free: 39.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003835/0.3211, allocations: 3.61 MB / 0.5574 GB, free: 39.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3228, allocations: 1.071 MB / 0.5584 GB, free: 38.63 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.323, allocations: 4.062 kB / 0.5585 GB, free: 38.63 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.3233, allocations: 81.88 kB / 0.5585 GB, free: 38.6 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0003449/0.3236, allocations: 142.4 kB / 0.5587 GB, free: 38.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.3243, allocations: 331.3 kB / 0.559 GB, free: 38.42 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.3247, allocations: 0.5699 MB / 0.5595 GB, free: 38.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3249, allocations: 138 kB / 0.5597 GB, free: 38.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.3252, allocations: 213.6 kB / 0.5599 GB, free: 38.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3254, allocations: 243.5 kB / 0.5601 GB, free: 38.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.3255, allocations: 25.94 kB / 0.5601 GB, free: 38.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.3257, allocations: 74.16 kB / 0.5602 GB, free: 38.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.3258, allocations: 86.69 kB / 0.5603 GB, free: 38.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.326, allocations: 234.6 kB / 0.5605 GB, free: 38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.3267, allocations: 0.6282 MB / 0.5611 GB, free: 37.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3267, allocations: 5.781 kB / 0.5611 GB, free: 37.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3267, allocations: 0 / 0.5611 GB, free: 37.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3267, allocations: 0.5312 kB / 0.5611 GB, free: 37.86 MB / 426.7 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.001137/0.3279, allocations: 0.7501 MB / 0.5619 GB, free: 37.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3279, allocations: 9.438 kB / 0.5619 GB, free: 37.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.3288, allocations: 167.9 kB / 0.562 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.3293, allocations: 400.7 kB / 0.5624 GB, free: 37.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.3294, allocations: 65.02 kB / 0.5625 GB, free: 37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.3294, allocations: 28.06 kB / 0.5625 GB, free: 37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.3302, allocations: 390.8 kB / 0.5629 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3302, allocations: 0 / 0.5629 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.3302, allocations: 9.281 kB / 0.5629 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3303, allocations: 7.156 kB / 0.5629 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.3309, allocations: 330.3 kB / 0.5632 GB, free: 36.95 MB / 426.7 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.002334/0.3333, allocations: 1.859 MB / 0.565 GB, free: 36.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.3342, allocations: 0.8235 MB / 0.5658 GB, free: 35.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.3346, allocations: 184.7 kB / 0.566 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.3347, allocations: 10.62 kB / 0.566 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.3347, allocations: 35.59 kB / 0.566 GB, free: 35.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.3347, allocations: 5.141 kB / 0.566 GB, free: 35.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.004139/0.3388, allocations: 1.24 MB / 0.5673 GB, free: 35.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3389, allocations: 53.81 kB / 0.5673 GB, free: 34.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3393, allocations: 429.9 kB / 0.5677 GB, free: 34.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3393, allocations: 40.58 kB / 0.5678 GB, free: 34.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3394, allocations: 260.7 kB / 0.568 GB, free: 34.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.3395, allocations: 88.14 kB / 0.5681 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3395, allocations: 29.52 kB / 0.5681 GB, free: 34.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.3396, allocations: 361.4 kB / 0.5685 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.3399, allocations: 182.2 kB / 0.5686 GB, free: 34.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.3403, allocations: 233.6 kB / 0.5689 GB, free: 33.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004127/0.3444, allocations: 1.283 MB / 0.5701 GB, free: 33.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3444, allocations: 2.969 kB / 0.5701 GB, free: 33.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002014/0.3464, allocations: 0.8446 MB / 0.5709 GB, free: 33.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3465, allocations: 3.094 kB / 0.5709 GB, free: 33.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3465, allocations: 10.91 kB / 0.571 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.3484, allocations: 0.5578 MB / 0.5715 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.3491, allocations: 146.3 kB / 0.5716 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.3548, allocations: 2.972 MB / 0.5745 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.3553, allocations: 46.36 kB / 0.5746 GB, free: 31.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3553, allocations: 11.33 kB / 0.5746 GB, free: 31.18 MB / 426.7 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.0002361/0.3556, allocations: 173 kB / 0.5748 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3556, allocations: 44.94 kB / 0.5748 GB, free: 31.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3577, allocations: 0.768 MB / 0.5756 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3577, allocations: 6.875 kB / 0.5756 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3577, allocations: 0 / 0.5756 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3577, allocations: 7.938 kB / 0.5756 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.3604, allocations: 1.475 MB / 0.577 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3604, allocations: 2.625 kB / 0.577 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/0.3612, allocations: 130.6 kB / 0.5771 GB, free: 29.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.3635, allocations: 0.6286 MB / 0.5777 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3636, allocations: 14.28 kB / 0.5778 GB, free: 29.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.3688, allocations: 2.945 MB / 0.5806 GB, free: 27.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3688, allocations: 0 / 0.5806 GB, free: 27.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3713, allocations: 1.049 MB / 0.5817 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3715, allocations: 121.8 kB / 0.5818 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.3715, allocations: 6.844 kB / 0.5818 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.3719, allocations: 28.02 kB / 0.5818 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.372, allocations: 58.59 kB / 0.5819 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.372, allocations: 13.22 kB / 0.5819 GB, free: 27.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.3723, allocations: 297.5 kB / 0.5822 GB, free: 27.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3723, allocations: 0 / 0.5822 GB, free: 27.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004772/0.3728, allocations: 131 kB / 0.5823 GB, free: 27.16 MB / 426.7 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.0001195/0.3729, allocations: 112.4 kB / 0.5824 GB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.3752, allocations: 0.7535 MB / 0.5831 GB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3753, allocations: 0 / 0.5831 GB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.3772, allocations: 0.5671 MB / 0.5837 GB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3776, allocations: 35.47 kB / 0.5837 GB, free: 26.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.3806, allocations: 1.17 MB / 0.5849 GB, free: 25.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.3808, allocations: 0.8183 MB / 0.5857 GB, free: 25.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3809, allocations: 39.5 kB / 0.5857 GB, free: 25.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.381, allocations: 30 kB / 0.5857 GB, free: 25.12 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.381, allocations: 0 / 0.5857 GB, free: 25.12 MB / 426.7 MB Notification: Performance of Templates: time 0.01018/0.3912, allocations: 6.782 MB / 0.5924 GB, free: 24.52 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)