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.001138/0.001138, allocations: 108 kB / 16.36 MB, free: 6.285 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.353/1.353, allocations: 222.9 MB / 240 MB, free: 4.582 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.00131/0.00131, allocations: 196.4 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4551/0.4551, allocations: 78.52 MB / 419 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 80.19 kB / 498.9 MB, free: 5.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 68.17 MB / 0.5538 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2976/0.4395, allocations: 3.388 MB / 0.5571 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.4418, allocations: 1.054 MB / 0.5581 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.4423, allocations: 6.438 kB / 0.5581 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.4427, allocations: 98.11 kB / 0.5582 GB, free: 37.36 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.0006665/0.4434, allocations: 162.1 kB / 0.5584 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.4442, allocations: 353.3 kB / 0.5587 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.4451, allocations: 0.6022 MB / 0.5593 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.4454, allocations: 147.4 kB / 0.5594 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.4457, allocations: 254.7 kB / 0.5597 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.446, allocations: 275.5 kB / 0.5599 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.4461, allocations: 54.16 kB / 0.56 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.4463, allocations: 101.1 kB / 0.5601 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.4464, allocations: 116.8 kB / 0.5602 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4466, allocations: 268.4 kB / 0.5604 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.4472, allocations: 0.6682 MB / 0.5611 GB, free: 36.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4472, allocations: 0 / 0.5611 GB, free: 36.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4473, allocations: 1.188 kB / 0.5611 GB, free: 36.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4473, allocations: 0 / 0.5611 GB, free: 36.87 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.001237/0.4485, allocations: 0.8426 MB / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4486, allocations: 10.34 kB / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.4495, allocations: 165.6 kB / 0.5621 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.45, allocations: 406.4 kB / 0.5625 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.4501, allocations: 63.22 kB / 0.5625 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.4502, allocations: 28.78 kB / 0.5626 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.4509, allocations: 379.9 kB / 0.5629 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4509, allocations: 6.031 kB / 0.5629 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.451, allocations: 9.188 kB / 0.5629 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.451, allocations: 10.39 kB / 0.563 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.4516, allocations: 330.7 kB / 0.5633 GB, free: 35.95 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.00234/0.454, allocations: 1.854 MB / 0.5651 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.4548, allocations: 0.8151 MB / 0.5659 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.4552, allocations: 187.2 kB / 0.5661 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.4553, allocations: 4.188 kB / 0.5661 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4553, allocations: 33.75 kB / 0.5661 GB, free: 34.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.4553, allocations: 5.781 kB / 0.5661 GB, free: 34.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004237/0.4596, allocations: 1.25 MB / 0.5673 GB, free: 34.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.4596, allocations: 53.81 kB / 0.5674 GB, free: 34.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.46, allocations: 426.3 kB / 0.5678 GB, free: 34.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.46, allocations: 35.08 kB / 0.5678 GB, free: 34.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4602, allocations: 252.9 kB / 0.568 GB, free: 34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.4602, allocations: 94.7 kB / 0.5681 GB, free: 33.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4604, allocations: 64.91 kB / 0.5682 GB, free: 33.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.4604, allocations: 356.4 kB / 0.5685 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.4608, allocations: 185.8 kB / 0.5687 GB, free: 33.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.4612, allocations: 234.4 kB / 0.5689 GB, free: 33.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.4655, allocations: 1.285 MB / 0.5702 GB, free: 33.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4655, allocations: 3.688 kB / 0.5702 GB, free: 33.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002142/0.4677, allocations: 0.8448 MB / 0.571 GB, free: 33.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4677, allocations: 5.75 kB / 0.571 GB, free: 33.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4677, allocations: 3.938 kB / 0.571 GB, free: 33.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.4697, allocations: 0.5568 MB / 0.5716 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.4705, allocations: 142.7 kB / 0.5717 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.4765, allocations: 3.197 MB / 0.5748 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.477, allocations: 51.84 kB / 0.5749 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.477, allocations: 12.22 kB / 0.5749 GB, free: 31.99 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.0002244/0.4772, allocations: 178.1 kB / 0.5751 GB, free: 31.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.4773, allocations: 40.56 kB / 0.5751 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.4794, allocations: 0.7741 MB / 0.5759 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4794, allocations: 1.266 kB / 0.5759 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4794, allocations: 2.906 kB / 0.5759 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4794, allocations: 0.9375 kB / 0.5759 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.4822, allocations: 1.48 MB / 0.5773 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4822, allocations: 0 / 0.5773 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.483, allocations: 131 kB / 0.5774 GB, free: 31.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.4853, allocations: 0.6326 MB / 0.5781 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.4854, allocations: 13.45 kB / 0.5781 GB, free: 31.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.4913, allocations: 3.173 MB / 0.5812 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4913, allocations: 0 / 0.5812 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.4939, allocations: 1.046 MB / 0.5822 GB, free: 28.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4941, allocations: 120.2 kB / 0.5823 GB, free: 28.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.4942, allocations: 10.75 kB / 0.5823 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.4945, allocations: 18.06 kB / 0.5823 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.4947, allocations: 61.73 kB / 0.5824 GB, free: 28.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4947, allocations: 5.594 kB / 0.5824 GB, free: 28.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.4951, allocations: 303.1 kB / 0.5827 GB, free: 28.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4951, allocations: 1.844 kB / 0.5827 GB, free: 28.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006575/0.4957, allocations: 135.7 kB / 0.5828 GB, free: 28.55 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.0001895/0.4959, allocations: 108.2 kB / 0.5829 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.4988, allocations: 0.7623 MB / 0.5837 GB, free: 28.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4988, allocations: 0 / 0.5837 GB, free: 28.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.501, allocations: 0.5765 MB / 0.5842 GB, free: 27.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.5014, allocations: 38.62 kB / 0.5843 GB, free: 27.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.5049, allocations: 1.005 MB / 0.5852 GB, free: 27.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5052, allocations: 0.8177 MB / 0.586 GB, free: 26.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.5053, allocations: 36.91 kB / 0.5861 GB, free: 26.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.5054, allocations: 27.8 kB / 0.5861 GB, free: 26.7 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5054, allocations: 1.875 kB / 0.5861 GB, free: 26.7 MB / 430.1 MB Notification: Performance of Templates: time 0.01464/0.5201, allocations: 7.582 MB / 0.5935 GB, free: 26.15 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)