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.1308/0.1308, allocations: 12.6 MB / 28.1 MB, free: 256 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001129, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.504/1.504, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001477/0.001477, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4502/0.4502, allocations: 78.49 MB / 419.2 MB, free: 11.33 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.004041/0.004041, allocations: 135.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3909, allocations: 68.11 MB / 0.5546 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004289/0.3953, allocations: 3.44 MB / 0.5579 GB, free: 30.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3972, allocations: 1.017 MB / 0.5589 GB, free: 29.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.3974, allocations: 3.844 kB / 0.5589 GB, free: 29.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3977, allocations: 100.5 kB / 0.559 GB, free: 29.38 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.0004315/0.3982, allocations: 160.3 kB / 0.5592 GB, free: 29.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.3989, allocations: 347.5 kB / 0.5595 GB, free: 29.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.3994, allocations: 0.5995 MB / 0.5601 GB, free: 28.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.3996, allocations: 159.3 kB / 0.5602 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.4, allocations: 259.4 kB / 0.5605 GB, free: 28.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.4003, allocations: 265 kB / 0.5607 GB, free: 28.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.4004, allocations: 53.19 kB / 0.5608 GB, free: 28.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.4006, allocations: 112.2 kB / 0.5609 GB, free: 28.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.4007, allocations: 116.6 kB / 0.561 GB, free: 28.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.4009, allocations: 266.6 kB / 0.5613 GB, free: 28.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.4014, allocations: 0.6654 MB / 0.5619 GB, free: 27.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4014, allocations: 0.8438 kB / 0.5619 GB, free: 27.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4015, allocations: 0 / 0.5619 GB, free: 27.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4015, allocations: 1.031 kB / 0.5619 GB, free: 27.52 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.001311/0.4028, allocations: 0.8406 MB / 0.5627 GB, free: 26.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4028, allocations: 13.64 kB / 0.5627 GB, free: 26.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009287/0.4038, allocations: 169.3 kB / 0.5629 GB, free: 26.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.4042, allocations: 394.9 kB / 0.5633 GB, free: 26.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.4043, allocations: 65.34 kB / 0.5633 GB, free: 26.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.4044, allocations: 30.59 kB / 0.5634 GB, free: 26.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.4051, allocations: 390.4 kB / 0.5637 GB, free: 26.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4051, allocations: 3.938 kB / 0.5638 GB, free: 26.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.4052, allocations: 11.84 kB / 0.5638 GB, free: 26.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4052, allocations: 5.438 kB / 0.5638 GB, free: 26.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.4058, allocations: 334.5 kB / 0.5641 GB, free: 25.91 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.002277/0.4081, allocations: 1.849 MB / 0.5659 GB, free: 24.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.409, allocations: 0.827 MB / 0.5667 GB, free: 23.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.4094, allocations: 188.8 kB / 0.5669 GB, free: 23.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4095, allocations: 7.312 kB / 0.5669 GB, free: 23.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.4095, allocations: 32.31 kB / 0.5669 GB, free: 23.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.4095, allocations: 0 / 0.5669 GB, free: 23.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.004391/0.4139, allocations: 1.243 MB / 0.5681 GB, free: 22.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.414, allocations: 54.5 kB / 0.5682 GB, free: 22.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.4144, allocations: 433.4 kB / 0.5686 GB, free: 22.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4145, allocations: 30.86 kB / 0.5686 GB, free: 22.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4146, allocations: 254.5 kB / 0.5689 GB, free: 22.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.4147, allocations: 89.36 kB / 0.569 GB, free: 22.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4148, allocations: 68.92 kB / 0.569 GB, free: 21.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.4149, allocations: 355.6 kB / 0.5694 GB, free: 21.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.4153, allocations: 189.5 kB / 0.5695 GB, free: 21.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.4157, allocations: 235 kB / 0.5698 GB, free: 21.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/0.4203, allocations: 1.292 MB / 0.571 GB, free: 20.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4203, allocations: 1.25 kB / 0.571 GB, free: 20.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002549/0.4228, allocations: 0.8422 MB / 0.5719 GB, free: 20.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4229, allocations: 13.31 kB / 0.5719 GB, free: 20.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4229, allocations: 5.406 kB / 0.5719 GB, free: 20.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.4252, allocations: 0.5564 MB / 0.5724 GB, free: 19.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.426, allocations: 137.9 kB / 0.5725 GB, free: 19.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.4325, allocations: 3.216 MB / 0.5757 GB, free: 17.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.433, allocations: 43.78 kB / 0.5757 GB, free: 17.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.4331, allocations: 19.98 kB / 0.5757 GB, free: 17.22 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.000228/0.4333, allocations: 163.3 kB / 0.5759 GB, free: 17.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.4334, allocations: 39.53 kB / 0.5759 GB, free: 17.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4356, allocations: 0.7793 MB / 0.5767 GB, free: 16.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4356, allocations: 4 kB / 0.5767 GB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.4356, allocations: 0 / 0.5767 GB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4356, allocations: 0 / 0.5767 GB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.4383, allocations: 1.5 MB / 0.5782 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4384, allocations: 3.938 kB / 0.5782 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.4392, allocations: 115.9 kB / 0.5783 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/0.4416, allocations: 0.6368 MB / 0.5789 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.4416, allocations: 11.98 kB / 0.5789 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005852/0.4475, allocations: 3.179 MB / 0.582 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4475, allocations: 0 / 0.582 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.45, allocations: 1.05 MB / 0.583 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4501, allocations: 120.6 kB / 0.5832 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.4502, allocations: 8 kB / 0.5832 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.4505, allocations: 19.92 kB / 0.5832 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.4507, allocations: 59.91 kB / 0.5832 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4507, allocations: 11.98 kB / 0.5833 GB, free: 9.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.4509, allocations: 307.2 kB / 0.5835 GB, free: 8.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4509, allocations: 0 / 0.5835 GB, free: 8.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004895/0.4514, allocations: 127.8 kB / 0.5837 GB, free: 8.828 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.0001302/0.4516, allocations: 110.6 kB / 0.5838 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.4541, allocations: 0.7713 MB / 0.5845 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4541, allocations: 0 / 0.5845 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.4562, allocations: 0.5729 MB / 0.5851 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4565, allocations: 45.03 kB / 0.5851 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.4597, allocations: 1.01 MB / 0.5861 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.46, allocations: 0.8116 MB / 0.5869 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4601, allocations: 38.95 kB / 0.5869 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.4602, allocations: 35.38 kB / 0.587 GB, free: 5.359 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4602, allocations: 0 / 0.587 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Templates: time 0.01154/0.4717, allocations: 7.562 MB / 0.5944 GB, free: 13.82 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)