Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007264/0.007264, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 184.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4389/0.4389, allocations: 78.53 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 79.86 kB / 0.5536 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2707, allocations: 68.17 MB / 0.6202 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003067/0.2738, allocations: 3.388 MB / 0.6235 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2751, allocations: 1.052 MB / 0.6245 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2753, allocations: 4 kB / 0.6245 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.2755, allocations: 95.14 kB / 0.6246 GB, free: 5.664 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0003193/0.2758, allocations: 198.6 kB / 0.6248 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.2764, allocations: 350.9 kB / 0.6251 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.2767, allocations: 0.607 MB / 0.6257 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.2769, allocations: 148.9 kB / 0.6258 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2771, allocations: 255 kB / 0.6261 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2774, allocations: 274.7 kB / 0.6264 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.2774, allocations: 52 kB / 0.6264 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2776, allocations: 104 kB / 0.6265 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.2776, allocations: 115.5 kB / 0.6266 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2778, allocations: 274.5 kB / 0.6269 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.2782, allocations: 0.6635 MB / 0.6275 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2782, allocations: 0 / 0.6275 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2782, allocations: 0 / 0.6275 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2783, allocations: 0 / 0.6275 GB, free: 2.645 MB / 430.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.001154/0.2794, allocations: 0.8387 MB / 0.6283 GB, free: 1.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2795, allocations: 11.97 kB / 0.6284 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/0.2804, allocations: 172.2 kB / 0.6285 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.2808, allocations: 401.9 kB / 0.6289 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.2809, allocations: 66.66 kB / 0.629 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2809, allocations: 24 kB / 0.629 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.2816, allocations: 385.9 kB / 0.6294 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2816, allocations: 0 / 0.6294 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.2817, allocations: 8 kB / 0.6294 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2817, allocations: 8 kB / 0.6294 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.2823, allocations: 334.4 kB / 0.6297 GB, free: 340 kB / 430.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.002564/0.2849, allocations: 1.86 MB / 0.6315 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2859, allocations: 0.8163 MB / 0.6323 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.2863, allocations: 191.2 kB / 0.6325 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.2864, allocations: 4 kB / 0.6325 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2864, allocations: 30.56 kB / 0.6325 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.2864, allocations: 0 / 0.6325 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004494/0.2909, allocations: 1.252 MB / 0.6337 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2909, allocations: 55.41 kB / 0.6338 GB, free: 11.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.2914, allocations: 430 kB / 0.6342 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2914, allocations: 29.7 kB / 0.6342 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2916, allocations: 255.9 kB / 0.6345 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.2917, allocations: 86.73 kB / 0.6346 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2918, allocations: 61.69 kB / 0.6346 GB, free: 10.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.292, allocations: 362.7 kB / 0.635 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.2924, allocations: 184.2 kB / 0.6351 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.2928, allocations: 229.1 kB / 0.6354 GB, free: 10.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/0.2975, allocations: 1.294 MB / 0.6366 GB, free: 8.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2975, allocations: 3.938 kB / 0.6366 GB, free: 8.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002306/0.2998, allocations: 0.8409 MB / 0.6374 GB, free: 7.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2998, allocations: 8 kB / 0.6375 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2998, allocations: 3.938 kB / 0.6375 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.3019, allocations: 0.5548 MB / 0.638 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.3027, allocations: 143.7 kB / 0.6381 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.3095, allocations: 3.198 MB / 0.6413 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.31, allocations: 47.72 kB / 0.6413 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.31, allocations: 12.12 kB / 0.6413 GB, free: 3.887 MB / 446.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.0002693/0.3103, allocations: 179.7 kB / 0.6415 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.3104, allocations: 39.53 kB / 0.6415 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.3127, allocations: 0.7677 MB / 0.6423 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3127, allocations: 4 kB / 0.6423 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.3127, allocations: 0 / 0.6423 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.3128, allocations: 7.984 kB / 0.6423 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.3159, allocations: 1.476 MB / 0.6437 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3159, allocations: 0 / 0.6437 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.3167, allocations: 123.8 kB / 0.6438 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/0.3192, allocations: 0.6326 MB / 0.6445 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.3193, allocations: 7.984 kB / 0.6445 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.3257, allocations: 3.181 MB / 0.6476 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3258, allocations: 4 kB / 0.6476 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.3285, allocations: 1.038 MB / 0.6486 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3287, allocations: 124.6 kB / 0.6487 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.3287, allocations: 8.062 kB / 0.6487 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3291, allocations: 27.91 kB / 0.6487 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.3292, allocations: 55.92 kB / 0.6488 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3293, allocations: 7.984 kB / 0.6488 GB, free: 11.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.3296, allocations: 307.1 kB / 0.6491 GB, free: 11.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3296, allocations: 0 / 0.6491 GB, free: 11.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.3301, allocations: 131.7 kB / 0.6492 GB, free: 11.51 MB / 462.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.0001494/0.3303, allocations: 111.2 kB / 0.6493 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.3329, allocations: 0.7574 MB / 0.6501 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3329, allocations: 0 / 0.6501 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.3351, allocations: 0.5765 MB / 0.6506 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3354, allocations: 43.27 kB / 0.6507 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.3388, allocations: 0.9987 MB / 0.6517 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3392, allocations: 0.8233 MB / 0.6525 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3393, allocations: 34.97 kB / 0.6525 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.3394, allocations: 31.42 kB / 0.6525 GB, free: 8.059 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3394, allocations: 0 / 0.6525 GB, free: 8.059 MB / 462.1 MB Notification: Performance of Templates: time 0.01198/0.3514, allocations: 7.672 MB / 0.66 GB, free: 404 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)