Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0878/0.0878, allocations: 12.6 MB / 28.87 MB, free: 0.6641 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 115.4 kB / 32.46 MB, free: 3.613 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 241.1 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 180.5 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4738/0.4738, allocations: 78.51 MB / 419.9 MB, free: 11.32 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 139.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3514, allocations: 68.11 MB / 0.556 GB, free: 33.08 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.006286/0.3577, allocations: 3.435 MB / 0.5594 GB, free: 30.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3608, allocations: 1.016 MB / 0.5604 GB, free: 29.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.3613, allocations: 3.531 kB / 0.5604 GB, free: 29.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.3618, allocations: 98.22 kB / 0.5605 GB, free: 29.8 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0005858/0.3624, allocations: 163.7 kB / 0.5606 GB, free: 29.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3632, allocations: 354 kB / 0.5609 GB, free: 29.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.3639, allocations: 0.6064 MB / 0.5615 GB, free: 29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.3642, allocations: 154.6 kB / 0.5617 GB, free: 28.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.3646, allocations: 252.4 kB / 0.5619 GB, free: 28.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.365, allocations: 268.5 kB / 0.5622 GB, free: 28.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.3651, allocations: 53.28 kB / 0.5622 GB, free: 28.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.3654, allocations: 113.1 kB / 0.5623 GB, free: 28.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3655, allocations: 117.4 kB / 0.5625 GB, free: 28.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.3658, allocations: 256.9 kB / 0.5627 GB, free: 28.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.3667, allocations: 0.6753 MB / 0.5634 GB, free: 27.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.3667, allocations: 5.25 kB / 0.5634 GB, free: 27.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3667, allocations: 0 / 0.5634 GB, free: 27.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3667, allocations: 0 / 0.5634 GB, free: 27.74 MB / 398.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.001665/0.3684, allocations: 0.8333 MB / 0.5642 GB, free: 27.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.3685, allocations: 13.02 kB / 0.5642 GB, free: 27.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.3696, allocations: 168.7 kB / 0.5643 GB, free: 26.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.3704, allocations: 400.9 kB / 0.5647 GB, free: 26.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3705, allocations: 65.5 kB / 0.5648 GB, free: 26.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.3706, allocations: 26.31 kB / 0.5648 GB, free: 26.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009142/0.3715, allocations: 387 kB / 0.5652 GB, free: 26.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3716, allocations: 0 / 0.5652 GB, free: 26.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.3716, allocations: 14.55 kB / 0.5652 GB, free: 26.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3716, allocations: 6.781 kB / 0.5652 GB, free: 26.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.3723, allocations: 338.4 kB / 0.5655 GB, free: 26.14 MB / 398.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.002546/0.3749, allocations: 1.851 MB / 0.5673 GB, free: 24.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/0.3758, allocations: 0.8132 MB / 0.5681 GB, free: 23.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.3762, allocations: 191.7 kB / 0.5683 GB, free: 23.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.3763, allocations: 3.438 kB / 0.5683 GB, free: 23.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3763, allocations: 35.78 kB / 0.5684 GB, free: 23.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.3763, allocations: 0 / 0.5684 GB, free: 23.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.004451/0.3808, allocations: 1.244 MB / 0.5696 GB, free: 22.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3808, allocations: 53.72 kB / 0.5696 GB, free: 22.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.3813, allocations: 430 kB / 0.57 GB, free: 22.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3813, allocations: 30.98 kB / 0.5701 GB, free: 22.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3815, allocations: 261.5 kB / 0.5703 GB, free: 22.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.3816, allocations: 85.97 kB / 0.5704 GB, free: 22.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3817, allocations: 72.3 kB / 0.5705 GB, free: 22.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.3818, allocations: 356.5 kB / 0.5708 GB, free: 21.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.3822, allocations: 189.2 kB / 0.571 GB, free: 21.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.3826, allocations: 227.4 kB / 0.5712 GB, free: 21.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004519/0.3871, allocations: 1.297 MB / 0.5725 GB, free: 20.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3872, allocations: 0 / 0.5725 GB, free: 20.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002272/0.3894, allocations: 0.8388 MB / 0.5733 GB, free: 20.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3895, allocations: 5.125 kB / 0.5733 GB, free: 20.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3895, allocations: 10 kB / 0.5733 GB, free: 20.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.3916, allocations: 0.556 MB / 0.5738 GB, free: 20.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.3924, allocations: 141.9 kB / 0.574 GB, free: 20.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.3987, allocations: 3.209 MB / 0.5771 GB, free: 17.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.3993, allocations: 47.78 kB / 0.5772 GB, free: 17.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.3993, allocations: 11.98 kB / 0.5772 GB, free: 17.11 MB / 398.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.000236/0.3996, allocations: 170.1 kB / 0.5773 GB, free: 16.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.3996, allocations: 39.53 kB / 0.5774 GB, free: 16.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.4018, allocations: 0.7793 MB / 0.5781 GB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4018, allocations: 4 kB / 0.5781 GB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4018, allocations: 0 / 0.5781 GB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4018, allocations: 0 / 0.5781 GB, free: 16.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.4045, allocations: 1.497 MB / 0.5796 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4045, allocations: 0 / 0.5796 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/0.4053, allocations: 119.9 kB / 0.5797 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/0.4076, allocations: 0.6366 MB / 0.5803 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.4077, allocations: 11.98 kB / 0.5803 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.4133, allocations: 3.167 MB / 0.5834 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4133, allocations: 3.938 kB / 0.5834 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.4158, allocations: 1.046 MB / 0.5845 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.4159, allocations: 120.5 kB / 0.5846 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.416, allocations: 8 kB / 0.5846 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.4163, allocations: 23.97 kB / 0.5846 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.4165, allocations: 55.97 kB / 0.5847 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.4165, allocations: 16 kB / 0.5847 GB, free: 9.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.4168, allocations: 303.1 kB / 0.585 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4168, allocations: 0 / 0.585 GB, free: 8.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.4173, allocations: 131.8 kB / 0.5851 GB, free: 8.723 MB / 398.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.0001734/0.4175, allocations: 107.2 kB / 0.5852 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.42, allocations: 0.7596 MB / 0.5859 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.42, allocations: 0 / 0.5859 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.422, allocations: 0.5688 MB / 0.5865 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4224, allocations: 45.41 kB / 0.5865 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.4256, allocations: 1.003 MB / 0.5875 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4259, allocations: 0.8232 MB / 0.5883 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.426, allocations: 38.95 kB / 0.5883 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.4261, allocations: 31.44 kB / 0.5884 GB, free: 5.27 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4261, allocations: 0 / 0.5884 GB, free: 5.27 MB / 398.1 MB Notification: Performance of Templates: time 0.01166/0.4377, allocations: 7.565 MB / 0.5958 GB, free: 13.73 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)