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.08235/0.08235, allocations: 12.2 MB / 27.43 MB, free: 1.383 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.001112/0.001112, allocations: 120.2 kB / 30.94 MB, free: 4.66 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.339/1.339, allocations: 205.1 MB / 239.4 MB, free: 12.93 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.001444/0.001444, allocations: 184.5 kB / 289.6 MB, free: 14.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.456/0.456, allocations: 78.51 MB / 418.1 MB, free: 11.97 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.00239/0.00239, allocations: 136.9 kB / 498.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2811, allocations: 68.03 MB / 0.5532 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.005022/0.2862, allocations: 3.659 MB / 0.5567 GB, free: 30 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2881, allocations: 1.028 MB / 0.5577 GB, free: 29.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.2884, allocations: 4.219 kB / 0.5578 GB, free: 29.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.2888, allocations: 76.69 kB / 0.5578 GB, free: 29.23 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.0004011/0.2892, allocations: 147.4 kB / 0.558 GB, free: 29.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.2899, allocations: 316 kB / 0.5583 GB, free: 28.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.2905, allocations: 0.6008 MB / 0.5589 GB, free: 28.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.2907, allocations: 156.4 kB / 0.559 GB, free: 28.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.291, allocations: 260.3 kB / 0.5593 GB, free: 28.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.2913, allocations: 272 kB / 0.5595 GB, free: 28.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.2913, allocations: 61.5 kB / 0.5596 GB, free: 28.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.2915, allocations: 99.03 kB / 0.5597 GB, free: 28.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.2916, allocations: 116.9 kB / 0.5598 GB, free: 28.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2918, allocations: 260.9 kB / 0.56 GB, free: 27.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.2924, allocations: 0.6665 MB / 0.5607 GB, free: 27.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2925, allocations: 0 / 0.5607 GB, free: 27.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2925, allocations: 0 / 0.5607 GB, free: 27.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2925, allocations: 1.25 kB / 0.5607 GB, free: 27.67 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.001259/0.2937, allocations: 0.8506 MB / 0.5615 GB, free: 26.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2938, allocations: 12.8 kB / 0.5615 GB, free: 26.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.2947, allocations: 169.3 kB / 0.5617 GB, free: 26.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2951, allocations: 391.5 kB / 0.5621 GB, free: 26.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2953, allocations: 69.62 kB / 0.5621 GB, free: 26.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.2953, allocations: 26.62 kB / 0.5621 GB, free: 26.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.2961, allocations: 386.1 kB / 0.5625 GB, free: 26.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2961, allocations: 0 / 0.5625 GB, free: 26.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2961, allocations: 14.47 kB / 0.5625 GB, free: 26.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2962, allocations: 7.25 kB / 0.5625 GB, free: 26.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.2968, allocations: 330.9 kB / 0.5629 GB, free: 26.07 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.002362/0.2992, allocations: 1.861 MB / 0.5647 GB, free: 24.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.3001, allocations: 0.8164 MB / 0.5655 GB, free: 23.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.3005, allocations: 187.6 kB / 0.5656 GB, free: 23.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.3006, allocations: 3.688 kB / 0.5656 GB, free: 23.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3006, allocations: 36.44 kB / 0.5657 GB, free: 23.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3006, allocations: 0 / 0.5657 GB, free: 23.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.004404/0.305, allocations: 1.244 MB / 0.5669 GB, free: 22.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.3051, allocations: 56.81 kB / 0.567 GB, free: 22.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3055, allocations: 430.3 kB / 0.5674 GB, free: 22.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3055, allocations: 31.02 kB / 0.5674 GB, free: 22.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3056, allocations: 257.6 kB / 0.5676 GB, free: 22.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.3057, allocations: 90.11 kB / 0.5677 GB, free: 22.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3058, allocations: 68.33 kB / 0.5678 GB, free: 22.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3059, allocations: 356.7 kB / 0.5681 GB, free: 21.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3063, allocations: 184.6 kB / 0.5683 GB, free: 21.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.3068, allocations: 231.6 kB / 0.5685 GB, free: 21.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/0.3114, allocations: 1.292 MB / 0.5698 GB, free: 20.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3114, allocations: 3.938 kB / 0.5698 GB, free: 20.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002223/0.3136, allocations: 0.8466 MB / 0.5706 GB, free: 20.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3136, allocations: 6.375 kB / 0.5706 GB, free: 20.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3137, allocations: 9.219 kB / 0.5706 GB, free: 20.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.3158, allocations: 0.5569 MB / 0.5712 GB, free: 20.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/0.3166, allocations: 148.6 kB / 0.5713 GB, free: 20.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/0.3231, allocations: 3.206 MB / 0.5744 GB, free: 17.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.3235, allocations: 41.03 kB / 0.5745 GB, free: 17.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3236, allocations: 12.89 kB / 0.5745 GB, free: 17.58 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.0002058/0.3238, allocations: 177.4 kB / 0.5747 GB, free: 17.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.3239, allocations: 47.33 kB / 0.5747 GB, free: 17.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.3261, allocations: 0.7749 MB / 0.5755 GB, free: 16.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3261, allocations: 0 / 0.5755 GB, free: 16.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.3261, allocations: 0 / 0.5755 GB, free: 16.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3261, allocations: 0 / 0.5755 GB, free: 16.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3288, allocations: 1.489 MB / 0.5769 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3288, allocations: 7.938 kB / 0.5769 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/0.3297, allocations: 127.8 kB / 0.5771 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.332, allocations: 0.625 MB / 0.5777 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.332, allocations: 11.98 kB / 0.5777 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.3378, allocations: 3.179 MB / 0.5808 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3378, allocations: 0 / 0.5808 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.3404, allocations: 1.049 MB / 0.5818 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3405, allocations: 124.5 kB / 0.5819 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.3406, allocations: 8 kB / 0.5819 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3409, allocations: 23.97 kB / 0.582 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.3411, allocations: 59.98 kB / 0.582 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3411, allocations: 7.984 kB / 0.582 GB, free: 9.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.3414, allocations: 299.1 kB / 0.5823 GB, free: 9.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3414, allocations: 3.938 kB / 0.5823 GB, free: 9.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.3419, allocations: 135.8 kB / 0.5824 GB, free: 9.43 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.0001224/0.3421, allocations: 99.25 kB / 0.5825 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.3445, allocations: 0.7713 MB / 0.5833 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3445, allocations: 0 / 0.5833 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.3466, allocations: 0.5765 MB / 0.5838 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.347, allocations: 40.72 kB / 0.5839 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.3502, allocations: 1.174 MB / 0.585 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3505, allocations: 0.8233 MB / 0.5858 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3506, allocations: 30.97 kB / 0.5859 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.3507, allocations: 27.44 kB / 0.5859 GB, free: 5.809 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3507, allocations: 0 / 0.5859 GB, free: 5.809 MB / 398.1 MB Notification: Performance of Templates: time 0.009816/0.3605, allocations: 7.351 MB / 0.5931 GB, free: 14.49 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)