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.004546/0.004546, allocations: 172.1 kB / 15.12 MB, free: 5.941 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.241/1.241, allocations: 223.2 MB / 239 MB, free: 1.75 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.000845/0.0008449, allocations: 93.3 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4157/0.4157, allocations: 78.58 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3016, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.002565/0.3042, allocations: 2.894 MB / 0.5586 GB, free: 38.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.306, allocations: 1.041 MB / 0.5596 GB, free: 38.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3062, allocations: 4.281 kB / 0.5596 GB, free: 38.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3064, allocations: 80.33 kB / 0.5597 GB, free: 38.5 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.0003704/0.3068, allocations: 173.6 kB / 0.5599 GB, free: 38.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.3074, allocations: 253.6 kB / 0.5601 GB, free: 38.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.3078, allocations: 397.3 kB / 0.5605 GB, free: 38.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.3081, allocations: 122.6 kB / 0.5606 GB, free: 38.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.3083, allocations: 208.4 kB / 0.5608 GB, free: 38.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.3086, allocations: 235.4 kB / 0.561 GB, free: 38.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.3087, allocations: 26.09 kB / 0.561 GB, free: 38.31 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3089, allocations: 60.59 kB / 0.5611 GB, free: 38.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.3089, allocations: 83.88 kB / 0.5612 GB, free: 38.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.309, allocations: 116.1 kB / 0.5613 GB, free: 38.17 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.3095, allocations: 0.4933 MB / 0.5618 GB, free: 38.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3095, allocations: 3.938 kB / 0.5618 GB, free: 38.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3096, allocations: 1.25 kB / 0.5618 GB, free: 38.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3096, allocations: 0 / 0.5618 GB, free: 38.04 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.001257/0.3108, allocations: 0.7583 MB / 0.5625 GB, free: 37.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3109, allocations: 9.875 kB / 0.5625 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.3119, allocations: 170.3 kB / 0.5627 GB, free: 37.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3124, allocations: 384.9 kB / 0.5631 GB, free: 37.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3125, allocations: 63.72 kB / 0.5631 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.3125, allocations: 27.41 kB / 0.5631 GB, free: 37.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.3134, allocations: 394.4 kB / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3134, allocations: 0 / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.3134, allocations: 14.55 kB / 0.5635 GB, free: 36.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3134, allocations: 7.344 kB / 0.5635 GB, free: 36.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.3142, allocations: 349.4 kB / 0.5639 GB, free: 36.79 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.00246/0.3166, allocations: 2.085 MB / 0.5659 GB, free: 35.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.3175, allocations: 0.84 MB / 0.5667 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3175, allocations: 2.5 kB / 0.5667 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.3176, allocations: 32.72 kB / 0.5668 GB, free: 34.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.3176, allocations: 0 / 0.5668 GB, free: 34.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.004599/0.3222, allocations: 1.411 MB / 0.5681 GB, free: 34.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.3222, allocations: 58.22 kB / 0.5682 GB, free: 33.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.3226, allocations: 432.3 kB / 0.5686 GB, free: 33.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3226, allocations: 28.55 kB / 0.5686 GB, free: 33.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3227, allocations: 256.2 kB / 0.5689 GB, free: 33.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.3228, allocations: 84.66 kB / 0.569 GB, free: 33.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.3228, allocations: 6.969 kB / 0.569 GB, free: 33.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.3229, allocations: 360.6 kB / 0.5693 GB, free: 33.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.3233, allocations: 200.5 kB / 0.5695 GB, free: 33.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.3237, allocations: 249.2 kB / 0.5697 GB, free: 32.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.3241, allocations: 201.7 kB / 0.5699 GB, free: 32.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3241, allocations: 0 / 0.5699 GB, free: 32.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002214/0.3263, allocations: 0.947 MB / 0.5709 GB, free: 32.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3263, allocations: 9.828 kB / 0.5709 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3264, allocations: 0 / 0.5709 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.3285, allocations: 0.6465 MB / 0.5715 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.3294, allocations: 180.5 kB / 0.5717 GB, free: 32.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006214/0.3356, allocations: 3.254 MB / 0.5748 GB, free: 30.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.3361, allocations: 55.33 kB / 0.5749 GB, free: 30.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3361, allocations: 15.98 kB / 0.5749 GB, free: 30.39 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.3364, allocations: 163.9 kB / 0.5751 GB, free: 30.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.3364, allocations: 48.39 kB / 0.5751 GB, free: 30.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.3387, allocations: 0.8758 MB / 0.576 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3387, allocations: 2.938 kB / 0.576 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3387, allocations: 0 / 0.576 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3388, allocations: 3 kB / 0.576 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3416, allocations: 1.623 MB / 0.5776 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3416, allocations: 0 / 0.5776 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/0.3425, allocations: 154.8 kB / 0.5777 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.345, allocations: 0.7271 MB / 0.5784 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.345, allocations: 16.83 kB / 0.5784 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.351, allocations: 3.221 MB / 0.5816 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.351, allocations: 0 / 0.5816 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.3537, allocations: 1.178 MB / 0.5827 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.3539, allocations: 123.5 kB / 0.5829 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.354, allocations: 10.92 kB / 0.5829 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.3543, allocations: 35.22 kB / 0.5829 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3545, allocations: 62.61 kB / 0.583 GB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3545, allocations: 6.031 kB / 0.583 GB, free: 26.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.3548, allocations: 296.9 kB / 0.5832 GB, free: 26.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3548, allocations: 0 / 0.5832 GB, free: 26.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.3553, allocations: 130.1 kB / 0.5834 GB, free: 26.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.3554, allocations: 103.9 kB / 0.5835 GB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.3579, allocations: 0.8125 MB / 0.5843 GB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3579, allocations: 0 / 0.5843 GB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.36, allocations: 0.6175 MB / 0.5849 GB, free: 25.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3603, allocations: 32.34 kB / 0.5849 GB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.3634, allocations: 1.182 MB / 0.586 GB, free: 24.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3637, allocations: 0.8303 MB / 0.5869 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000137/0.3638, allocations: 37.91 kB / 0.5869 GB, free: 24.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.3639, allocations: 25.91 kB / 0.5869 GB, free: 24.18 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3639, allocations: 0 / 0.5869 GB, free: 24.18 MB / 426.7 MB Notification: Performance of Templates: time 0.009759/0.3737, allocations: 6.633 MB / 0.5934 GB, free: 23.56 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)