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.001338/0.001338, allocations: 180 kB / 16.07 MB, free: 5.727 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.275/1.275, allocations: 222.9 MB / 239.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007964/0.0007962, allocations: 89.48 kB / 290.4 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4197/0.4197, allocations: 78.42 MB / 419.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 16 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2552, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003239/0.2585, allocations: 3.604 MB / 0.558 GB, free: 16.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2598, allocations: 1.087 MB / 0.5591 GB, free: 15.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2599, allocations: 4 kB / 0.5591 GB, free: 15.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.2602, allocations: 71.5 kB / 0.5592 GB, free: 15.43 MB / 378.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.0002797/0.2605, allocations: 139 kB / 0.5593 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.261, allocations: 331.1 kB / 0.5596 GB, free: 14.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.2613, allocations: 0.568 MB / 0.5602 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.2615, allocations: 141 kB / 0.5603 GB, free: 14.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2617, allocations: 219 kB / 0.5605 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.2619, allocations: 238.8 kB / 0.5607 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.262, allocations: 28 kB / 0.5608 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2621, allocations: 71.97 kB / 0.5608 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.2622, allocations: 95.53 kB / 0.5609 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2623, allocations: 230.5 kB / 0.5611 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2626, allocations: 0.5046 MB / 0.5616 GB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2627, allocations: 0 / 0.5616 GB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2627, allocations: 0 / 0.5616 GB, free: 12.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2627, allocations: 0 / 0.5616 GB, free: 12.89 MB / 378.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.001071/0.2638, allocations: 0.7477 MB / 0.5624 GB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2638, allocations: 8.031 kB / 0.5624 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/0.2647, allocations: 168.2 kB / 0.5625 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.2651, allocations: 398 kB / 0.5629 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.2652, allocations: 66.66 kB / 0.563 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.2653, allocations: 24 kB / 0.563 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.2659, allocations: 393.9 kB / 0.5634 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.266, allocations: 0 / 0.5634 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.266, allocations: 8 kB / 0.5634 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.266, allocations: 8 kB / 0.5634 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.2666, allocations: 330.5 kB / 0.5637 GB, free: 10.67 MB / 378.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.002156/0.2688, allocations: 1.867 MB / 0.5655 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.2696, allocations: 0.8187 MB / 0.5663 GB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.27, allocations: 188.8 kB / 0.5665 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.2701, allocations: 4 kB / 0.5665 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2701, allocations: 38.48 kB / 0.5665 GB, free: 7.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.2701, allocations: 0 / 0.5665 GB, free: 7.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.004273/0.2744, allocations: 1.247 MB / 0.5678 GB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2744, allocations: 55.41 kB / 0.5678 GB, free: 6.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.2748, allocations: 433.9 kB / 0.5682 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2748, allocations: 29.7 kB / 0.5683 GB, free: 5.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2749, allocations: 255.9 kB / 0.5685 GB, free: 5.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.275, allocations: 86.73 kB / 0.5686 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.275, allocations: 37.7 kB / 0.5686 GB, free: 5.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.2751, allocations: 354.7 kB / 0.569 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2755, allocations: 184.2 kB / 0.5691 GB, free: 4.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.2758, allocations: 225.1 kB / 0.5694 GB, free: 4.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.2803, allocations: 1.29 MB / 0.5706 GB, free: 3.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2803, allocations: 4 kB / 0.5706 GB, free: 3.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002161/0.2824, allocations: 0.8483 MB / 0.5714 GB, free: 2.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2825, allocations: 4 kB / 0.5714 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2825, allocations: 7.938 kB / 0.5715 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.2845, allocations: 0.5548 MB / 0.572 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.2853, allocations: 147.8 kB / 0.5721 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/0.2914, allocations: 2.968 MB / 0.575 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2918, allocations: 51.72 kB / 0.5751 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2919, allocations: 12 kB / 0.5751 GB, free: 14.48 MB / 394.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.0002148/0.2921, allocations: 170.4 kB / 0.5753 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.2922, allocations: 43.44 kB / 0.5753 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.2945, allocations: 0.7747 MB / 0.5761 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.2946, allocations: 7.938 kB / 0.5761 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2946, allocations: 0 / 0.5761 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2946, allocations: 3.984 kB / 0.5761 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.2977, allocations: 1.48 MB / 0.5775 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2977, allocations: 0 / 0.5775 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.2986, allocations: 119.9 kB / 0.5776 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.3011, allocations: 0.6326 MB / 0.5782 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.3012, allocations: 15.92 kB / 0.5783 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.3075, allocations: 2.955 MB / 0.5811 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3075, allocations: 0 / 0.5811 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.3104, allocations: 1.047 MB / 0.5822 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3105, allocations: 120.5 kB / 0.5823 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3106, allocations: 12 kB / 0.5823 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.3109, allocations: 19.97 kB / 0.5823 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3111, allocations: 59.84 kB / 0.5824 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.3111, allocations: 15.92 kB / 0.5824 GB, free: 6.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3114, allocations: 303.1 kB / 0.5827 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3115, allocations: 4.062 kB / 0.5827 GB, free: 6.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004936/0.3119, allocations: 123.8 kB / 0.5828 GB, free: 6.328 MB / 394.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.0001315/0.3121, allocations: 99.58 kB / 0.5829 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.3147, allocations: 0.7673 MB / 0.5836 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3147, allocations: 0 / 0.5836 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.3168, allocations: 0.5594 MB / 0.5842 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3172, allocations: 33.97 kB / 0.5842 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.3205, allocations: 1.197 MB / 0.5854 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3209, allocations: 0.8192 MB / 0.5862 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.321, allocations: 35.7 kB / 0.5862 GB, free: 2.738 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.321, allocations: 0 / 0.5862 GB, free: 2.738 MB / 394.7 MB Notification: Performance of Templates: time 0.009091/0.3301, allocations: 7.137 MB / 0.5932 GB, free: 11.6 MB / 410.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)