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/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/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/package.mo): time 0.09904/0.09904, allocations: 12.2 MB / 28.08 MB, free: 1.355 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.001165/0.001165, allocations: 117.2 kB / 31.59 MB, free: 4.586 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.492/1.492, allocations: 205.1 MB / 240.1 MB, free: 10.85 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.001338/0.001338, allocations: 199.5 kB / 290.2 MB, free: 13.8 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4698/0.4698, allocations: 78.5 MB / 418.8 MB, free: 11.87 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.002658/0.002658, allocations: 143.7 kB / 499.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.34, allocations: 68.03 MB / 0.5538 GB, free: 22.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003866/0.344, allocations: 3.66 MB / 0.5574 GB, free: 18.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3454, allocations: 1.029 MB / 0.5584 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.3456, allocations: 4 kB / 0.5584 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3458, allocations: 83.45 kB / 0.5585 GB, free: 17.37 MB / 382.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.0003124/0.3462, allocations: 143 kB / 0.5586 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.3467, allocations: 319.1 kB / 0.5589 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.3471, allocations: 0.6032 MB / 0.5595 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.3473, allocations: 144.9 kB / 0.5596 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3475, allocations: 254.9 kB / 0.5599 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.3477, allocations: 274.7 kB / 0.5602 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.3478, allocations: 52 kB / 0.5602 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3479, allocations: 95.98 kB / 0.5603 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.348, allocations: 123.5 kB / 0.5604 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3482, allocations: 270.5 kB / 0.5607 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3485, allocations: 0.5208 MB / 0.5612 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3485, allocations: 4 kB / 0.5612 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3486, allocations: 0 / 0.5612 GB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3486, allocations: 4 kB / 0.5612 GB, free: 14.59 MB / 382.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.001193/0.3498, allocations: 0.837 MB / 0.562 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3498, allocations: 11.98 kB / 0.562 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.3507, allocations: 172.2 kB / 0.5622 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3511, allocations: 397.9 kB / 0.5626 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.443e-05/0.3512, allocations: 66.66 kB / 0.5626 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.3513, allocations: 28 kB / 0.5626 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.3519, allocations: 385.9 kB / 0.563 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.352, allocations: 0 / 0.563 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.352, allocations: 16 kB / 0.563 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.352, allocations: 8 kB / 0.563 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.3526, allocations: 326.5 kB / 0.5633 GB, free: 12.27 MB / 382.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.002134/0.3548, allocations: 1.856 MB / 0.5652 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.3556, allocations: 0.8221 MB / 0.566 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.356, allocations: 191.6 kB / 0.5661 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.356, allocations: 0 / 0.5661 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.356, allocations: 38.55 kB / 0.5662 GB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.356, allocations: 0 / 0.5662 GB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.004213/0.3602, allocations: 1.248 MB / 0.5674 GB, free: 7.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3603, allocations: 55.41 kB / 0.5675 GB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.3606, allocations: 430 kB / 0.5679 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3607, allocations: 29.7 kB / 0.5679 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3608, allocations: 251.9 kB / 0.5681 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.3609, allocations: 94.72 kB / 0.5682 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.361, allocations: 69.59 kB / 0.5683 GB, free: 6.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3611, allocations: 358.7 kB / 0.5686 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3614, allocations: 180.2 kB / 0.5688 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.3618, allocations: 240.9 kB / 0.569 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00423/0.366, allocations: 1.294 MB / 0.5703 GB, free: 4.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.366, allocations: 4 kB / 0.5703 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002075/0.3681, allocations: 0.8485 MB / 0.5711 GB, free: 3.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3681, allocations: 4 kB / 0.5711 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3681, allocations: 7.938 kB / 0.5711 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.3701, allocations: 0.5548 MB / 0.5717 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.3709, allocations: 143.8 kB / 0.5718 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.3772, allocations: 3.206 MB / 0.575 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3777, allocations: 39.8 kB / 0.575 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.3777, allocations: 19.92 kB / 0.575 GB, free: 15.8 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.0002585/0.378, allocations: 176.1 kB / 0.5752 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.3781, allocations: 39.53 kB / 0.5752 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.3805, allocations: 0.7715 MB / 0.576 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3805, allocations: 4 kB / 0.576 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3805, allocations: 0 / 0.576 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3805, allocations: 0 / 0.576 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.3837, allocations: 1.5 MB / 0.5774 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3837, allocations: 3.938 kB / 0.5774 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009035/0.3846, allocations: 123.8 kB / 0.5776 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/0.3872, allocations: 0.6327 MB / 0.5782 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3873, allocations: 7.938 kB / 0.5782 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.3941, allocations: 3.175 MB / 0.5813 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3942, allocations: 4 kB / 0.5813 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3971, allocations: 1.049 MB / 0.5823 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3973, allocations: 120.6 kB / 0.5824 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.3973, allocations: 11.94 kB / 0.5824 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3977, allocations: 24.03 kB / 0.5825 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3979, allocations: 59.92 kB / 0.5825 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3979, allocations: 7.984 kB / 0.5825 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.3982, allocations: 303.1 kB / 0.5828 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3982, allocations: 0 / 0.5828 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.3988, allocations: 127.8 kB / 0.5829 GB, free: 7.41 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.0001728/0.399, allocations: 103.2 kB / 0.583 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.4017, allocations: 0.7712 MB / 0.5838 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4017, allocations: 0 / 0.5838 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.404, allocations: 0.5726 MB / 0.5843 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4045, allocations: 37.91 kB / 0.5844 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.4082, allocations: 1.193 MB / 0.5856 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4087, allocations: 0.8272 MB / 0.5864 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4088, allocations: 31.44 kB / 0.5864 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4088, allocations: 0 / 0.5864 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Templates: time 0.009221/0.418, allocations: 7.206 MB / 0.5934 GB, free: 12.59 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)