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.0008618/0.0008618, allocations: 100 kB / 15.05 MB, free: 1.105 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.222/1.222, allocations: 223.2 MB / 238.9 MB, free: 5.5 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.001134/0.001134, allocations: 193 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4156/0.4156, allocations: 78.53 MB / 419.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 8 kB / 499.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 69.36 MB / 0.5557 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.1866/0.2915, allocations: 2.902 MB / 0.5585 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.293, allocations: 1.031 MB / 0.5595 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2933, allocations: 9.375 kB / 0.5595 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2935, allocations: 73.84 kB / 0.5596 GB, free: 37.63 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.0003495/0.2939, allocations: 177.8 kB / 0.5598 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.2944, allocations: 262.1 kB / 0.56 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.2948, allocations: 387.8 kB / 0.5604 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.295, allocations: 117.5 kB / 0.5605 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.2953, allocations: 205.2 kB / 0.5607 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2955, allocations: 237.1 kB / 0.5609 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.2956, allocations: 27.47 kB / 0.5609 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2958, allocations: 60.19 kB / 0.561 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.2959, allocations: 87.88 kB / 0.5611 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.296, allocations: 105.8 kB / 0.5612 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.2963, allocations: 0.4965 MB / 0.5617 GB, free: 37.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2964, allocations: 0.5625 kB / 0.5617 GB, free: 37.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2964, allocations: 0.5312 kB / 0.5617 GB, free: 37.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2964, allocations: 1.969 kB / 0.5617 GB, free: 37.36 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.001163/0.2975, allocations: 0.7607 MB / 0.5624 GB, free: 36.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2976, allocations: 9.156 kB / 0.5624 GB, free: 36.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/0.2985, allocations: 174.7 kB / 0.5626 GB, free: 36.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.299, allocations: 381.2 kB / 0.563 GB, free: 36.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2991, allocations: 63.19 kB / 0.563 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.2992, allocations: 31 kB / 0.563 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.2999, allocations: 391 kB / 0.5634 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2999, allocations: 3.719 kB / 0.5634 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.2999, allocations: 18.36 kB / 0.5634 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3, allocations: 6.594 kB / 0.5634 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.3006, allocations: 350.9 kB / 0.5638 GB, free: 36.47 MB / 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.002277/0.3029, allocations: 2.071 MB / 0.5658 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.3037, allocations: 0.8407 MB / 0.5666 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.3038, allocations: 9.172 kB / 0.5666 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3038, allocations: 37.47 kB / 0.5667 GB, free: 34.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.3038, allocations: 0 / 0.5667 GB, free: 34.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004418/0.3082, allocations: 1.401 MB / 0.568 GB, free: 34.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.3083, allocations: 52.06 kB / 0.5681 GB, free: 34.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3087, allocations: 429.7 kB / 0.5685 GB, free: 34.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3087, allocations: 30.42 kB / 0.5685 GB, free: 34.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3088, allocations: 258.3 kB / 0.5688 GB, free: 34.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3089, allocations: 90.3 kB / 0.5689 GB, free: 34.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.3089, allocations: 4.656 kB / 0.5689 GB, free: 34.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.309, allocations: 361.5 kB / 0.5692 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.3094, allocations: 197.9 kB / 0.5694 GB, free: 33.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.3098, allocations: 246.5 kB / 0.5696 GB, free: 33.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.3102, allocations: 211.9 kB / 0.5698 GB, free: 33.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3102, allocations: 0 / 0.5698 GB, free: 33.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002216/0.3124, allocations: 0.9398 MB / 0.5707 GB, free: 33.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3124, allocations: 3.031 kB / 0.5707 GB, free: 33.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3125, allocations: 7.828 kB / 0.5708 GB, free: 33.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.3146, allocations: 0.6451 MB / 0.5714 GB, free: 33.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.3155, allocations: 180 kB / 0.5716 GB, free: 33.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.3218, allocations: 3.248 MB / 0.5747 GB, free: 32.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.3222, allocations: 56.28 kB / 0.5748 GB, free: 32.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3223, allocations: 14.75 kB / 0.5748 GB, free: 32.34 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.3225, allocations: 163.2 kB / 0.575 GB, free: 32.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.3225, allocations: 45.5 kB / 0.575 GB, free: 32.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.3249, allocations: 0.8754 MB / 0.5759 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3249, allocations: 2.75 kB / 0.5759 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3249, allocations: 1 kB / 0.5759 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3249, allocations: 0 / 0.5759 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.3278, allocations: 1.634 MB / 0.5775 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3278, allocations: 0 / 0.5775 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.3287, allocations: 158 kB / 0.5776 GB, free: 31.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.3313, allocations: 0.7348 MB / 0.5783 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.3313, allocations: 13.75 kB / 0.5783 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005924/0.3373, allocations: 3.228 MB / 0.5815 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3373, allocations: 0 / 0.5815 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.34, allocations: 1.164 MB / 0.5826 GB, free: 29.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3401, allocations: 131.6 kB / 0.5827 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.3402, allocations: 10.95 kB / 0.5828 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.3405, allocations: 32.84 kB / 0.5828 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3407, allocations: 56.27 kB / 0.5828 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3407, allocations: 13.81 kB / 0.5829 GB, free: 28.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.341, allocations: 295.9 kB / 0.5831 GB, free: 28.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.341, allocations: 0 / 0.5831 GB, free: 28.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.3416, allocations: 125.8 kB / 0.5833 GB, free: 28.82 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.3417, allocations: 109 kB / 0.5834 GB, free: 28.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.3443, allocations: 0.8067 MB / 0.5841 GB, free: 28.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.3444, allocations: 0 / 0.5841 GB, free: 28.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.3465, allocations: 0.6248 MB / 0.5848 GB, free: 28.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3468, allocations: 29.91 kB / 0.5848 GB, free: 28.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.3503, allocations: 1.169 MB / 0.5859 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3506, allocations: 0.8299 MB / 0.5867 GB, free: 26.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3507, allocations: 37.16 kB / 0.5868 GB, free: 26.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.3508, allocations: 32.53 kB / 0.5868 GB, free: 26.82 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3508, allocations: 0 / 0.5868 GB, free: 26.82 MB / 430.1 MB Notification: Performance of Templates: time 0.01168/0.3625, allocations: 6.629 MB / 0.5933 GB, free: 26.36 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: